how to change file formats i.e from jpeg to png etc
currently i have requirement where i need to do following processiing
first i have to check media type
is it image,audio or video?
if image is not in the png format then i have to change that image from other format to .png file
eg from jpeg to png
similarly i have requirement for changing video of any type to .3gp format
if file type is audio then i have to change it to .midi format
can any one provide me help for that ?
is it possible in java to do this kind of thing ?
[530 byte] By [
ganeshpola] at [2007-10-3 11:54:25]

> is it possible in java to do this kind of thing ?
You can't just generically go from one format to another.
If you have specific set of acceptable image formats and video formats you can sit down and plan how to do it in Java.
There are many formats that you can convert using Java but not all possible formats.
zadoka at 2007-7-15 14:29:12 >

> > is it possible in java to do this kind of thing
> ?
>
> You can't just generically go from one format to
> another.
>
> If you have specific set of acceptable image formats
> and video formats you can sit down and plan how to do
> it in Java.
>
> There are many formats that you can convert using
> Java but not all possible formats.
can you give me any hint or code to do how to change media formats from one format to another
> can you give me any hint or code to do how to change
> media formats from one format to another
For each format you want to convert search google.
For example:
http://www.google.com/search?hl=en&q=java+png+to+jpeg&btnG=Google+Search
Also, search this forum the question come up a lot.
And there are some tutorials that might help. For example:
http://java.sun.com/docs/books/tutorial/2d/images/saveimage.html
zadoka at 2007-7-15 14:29:12 >
