eramgarden
Programmer
I have inherited a Java application, it creates JPG files but the images are blury...
1.The input is a "tif" file and it converts it to a jpg file.
2. This is the class it uses:
3. It reads the file with this line:
imageSRC = JAIImageReader2.readImage(fileName);
renImage=imageSRC
4. Then down in the code, it uses these 2 lines to convert the image:
RenderedImageAdapter ria = new RenderedImageAdapter(renImage);
BufferedImage bi = ria.getAsBufferedImage()
5. The image is not sharp...
Any ideas on what to do would be great..
1.The input is a "tif" file and it converts it to a jpg file.
2. This is the class it uses:
3. It reads the file with this line:
imageSRC = JAIImageReader2.readImage(fileName);
renImage=imageSRC
4. Then down in the code, it uses these 2 lines to convert the image:
RenderedImageAdapter ria = new RenderedImageAdapter(renImage);
BufferedImage bi = ria.getAsBufferedImage()
5. The image is not sharp...
Any ideas on what to do would be great..