thumbnailator icon indicating copy to clipboard operation
thumbnailator copied to clipboard

Thumbnails of monochrome images contain color

Open GoogleCodeExporter opened this issue 10 years ago • 0 comments

What steps will reproduce the problem?
1. load a monochrome image using ImageIO
2. something like: thumb = Thumbnails.of(img).scale(0.1).asBufferedImage();
3. save thumbnail using ImageIO

What is the expected output? What do you see instead?
The output should be monochrome as well but it is not. See attachments.

What version of the product are you using? On what operating system? Which
version of Java (Sun/Oracle? OpenJDK?) ?

Oracle Java 8, Windows 8.1 tested both with thumbnailator 0.4.6 and 0.4.8

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 17 Jul 2015 at 1:45

Attachments:

GoogleCodeExporter avatar Jul 25 '15 05:07 GoogleCodeExporter