xuyanxiang / thumbnailator

Automatically exported from code.google.com/p/thumbnailator
Other
0 stars 0 forks source link

Thumbnails of monochrome images contain color #79

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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 l.rosset...@gmail.com on 17 Jul 2015 at 1:45

Attachments:

GoogleCodeExporter commented 9 years ago
The Thumbnailator project will move to GitHub due to the Google Project Hosting 
going read-only in one month.
http://google-opensource.blogspot.jp/2015/03/farewell-to-google-code.html

This issue will be tracked at GitHub at the following URL:
https://github.com/coobird/thumbnailator/issues/79

Original comment by coobird...@gmail.com on 25 Jul 2015 at 6:05