• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Conversion of image format

 
prashant gour
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am working on conversion of image format one to another. I have image and want to convert that into .EMF, .JPG,.PCT, .PNG, .EPS, TIF, .BMP, .WMF formats and also want to set color depth (24 bit, 8 bit) Color space (YUV 4:4:4, YUV 4:2:2 etc) , color operations (Invert, Gamma etc ) and also set the transparent color of image.

So share your Experience if anybody has done this before.
Thanks in advanced

~Prashant Gour
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The core API's that ship with the JDK don't support image type conversion. Sun made an attempt at a library deemed Java Advanced Imaging API but has been tossed by the way side for quite some time, if horrible slow, and quite dated.

There is a really good API called ImageMagick. It is a native API but has binding for several languages, including one for Java called JMagick that you might find helpful.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I like the ImageJ library/image processing application a lot. It can read and write lots of file formats, but not EPS, I think.
 
prashant gour
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for suggestions. To work with JAI i am tring to include jai_windows-i586.jar in build path. is there any other way to work with JAI api.

if you have any sample code please share with me.

thanks and regards
Prashant Gour
 
prashant gour
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Java Advance Imaging is the one way on which i can move ahead but these API are not in current verion of java. i have to download these Jar.

are there any API in Current version of java which can help me to do the above.

waiting for responce.

Prashant Gour
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic