dcsimg
Image format conversions-JPG/Gif et al
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Shyam_anand
Posted On:   Friday, April 6, 2001 07:43 AM

Is there any Java API for converting images from one format to another eg. from jpeg to gif and vice versa ?

Re: Image format conversions-JPG/Gif et al

Posted By:   AlessandroA_Garbagnati  
Posted On:   Friday, April 6, 2001 08:05 AM

Shyam,

There are no direct API for converting images from GIF to JPEG and viceversa. Java 2 includes a set of classes that belong to the package com.sun.image.codec.jpeg, to read and write jpeg images. java.awt.MediaTracker can read GIF images, but there is no way to save them, unless you get external packages, like this fromm www.acme.com
About | Sitemap | Contact