Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to convert one media file to another (i.e. jpeg to Png and mpeg to midi etc)

 
ganesh pol
Ranch Hand
Posts: 151
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear friends,
i want some hint if i have diffenet images files of type .jpeg, bmp etc then can any one tell me how should i convert it to .png file
i searched the java api but i did not got any clue
similarly i have requirement for conversion of audio files to .midi format
and video files to .3gp format can any one send me java code or link to write such type of conversion code
it would be great help to me
 
Chris Beckey
Ranch Hand
Posts: 116
Eclipse IDE Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look into Java Advanced Imaging (JAI) and Java Image I/O for the image types, though I'm not sure that the codecs you listed are included in the basic package.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic