• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Conversion of image format

 
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Hey, I'm supposed to be the guide! Wait up! No fair! You have the tiny ad!
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic