I use the following code to convert a gif file to a jpg file, it works, but the result of the jpg file does not match the quality of the original gif file, why? Any way to improve quality?
try
{
ImageIO.write(ImageIO.read(new File("C:/abc.gif")),"jpg",new File("C:/abc.jpg"));
}
catch (Exception e) { e.printStackTrace(); }
So, to ask this question from a different angle, using the above approach, how to increase output quality?
Frank source
share