Closed ArheusLis closed 3 years ago
Output got rgb colors scheme.
If I'm using rotation even with 0 - output become 32bit ARGB.
Thumbnails.of(new File("source_1.bmp")) .imageType(BufferedImage.TYPE_INT_RGB).scale(1).rotate(0).outputFormat("PNG") .toFile(new File("expect.png"));
Output: 32 bit ARGB
Thumbnails.of(new File("source_1.bmp")) .imageType(BufferedImage.TYPE_INT_RGB).scale(1).outputFormat("PNG") .toFile(new File("expect.png"));
Output: 24 bit RGB
@ArheusLis , thank you for reporting this.
This behavior seems to be incorrect.
Fixed in 0.4.13.
Expected behavior
Output got rgb colors scheme.
Actual behavior
If I'm using rotation even with 0 - output become 32bit ARGB.
Steps to reproduce the behavior
Output: 32 bit ARGB
Output: 24 bit RGB
Environment