T
Trung Chinh Nguyen
Here's the code that I'm using:
Iterator writers = ImageIO.getImageWritersByFormatName("jpg");
ImageWriter writer = (ImageWriter)writers.next();
ImageOutputStream ios = ImageIO.createImageOutputStream(new
File(outputFile));
writer.setOutput(ios);
writer.write(outputImage);
I'm wondering about the quality of the output image (i.e how much data
is lost), and is there a way to change it?
Iterator writers = ImageIO.getImageWritersByFormatName("jpg");
ImageWriter writer = (ImageWriter)writers.next();
ImageOutputStream ios = ImageIO.createImageOutputStream(new
File(outputFile));
writer.setOutput(ios);
writer.write(outputImage);
I'm wondering about the quality of the output image (i.e how much data
is lost), and is there a way to change it?