This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin 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)  RSS feed

 
ganesh pol
Ranch Hand
Posts: 151
  • 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
  • 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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!