is there any way I can convert PNG<->JPEG<->TIFF images in Java? I have String i/p passing parameter (PNG or JPEG converted to []byte which get converted to String) to ConvertImage(String xyz) method.
String ConvertImage(String xyz)
So I am looking for following conversion from single method and return byte array or string and then finally I want to store in DB.
1.if i/p is PNG converted o/p is JPEG
2.if i/p is JPEG converted o/p is PNG
3.If i/p is PNG or JPEG converted o/p is TIFF
I am using JAI right now for this conversion(In my prev post I did not mention all these details sorry about that) but don't want to use JAI now.
Please let me know if you have any quick solution for all these 3 types?
Thank you very much in advance!!!