Mercurial > octave-nkf
view CITATION @ 19728:c334e4af3a1b
Fix incorrect writing of grayscale JPEG images (bugs #41673, #44118, #42474)
* __magick_read__.cc: when writing grayscale images, we should create a
Magick::Image object of Magick::GrayscaleType type, then use Magick::Color
with only the red channel set (the other channels would be ignored). However,
this seems to not work for JPEG images which would then generate grayscale
images with one third of the intensity. This fixes it.
author | Ilya Kurdyukov <olme8@mail.ru> |
---|---|
date | Wed, 11 Feb 2015 17:40:04 +0000 |
parents | a6d13c62fccf |
children | f5d9e57d4380 |
line wrap: on
line source
To cite GNU Octave in publications use: John W. Eaton, David Bateman, Søren Hauberg, Rik Wehbring (2014). GNU Octave version 3.8.1 manual: a high-level interactive language for numerical computations. CreateSpace Independent Publishing Platform. ISBN 1441413006, URL http://www.gnu.org/software/octave/doc/interpreter/ A BibTeX entry for LaTeX users is: @book{, author = {John W. Eaton, David Bateman, S\oren Hauberg, and Rik Wehbring}, title = {{GNU Octave} version 3.8.1 manual: a high-level interactive language for numerical computations}, publisher = {CreateSpace Independent Publishing Platform}, year = {2014}, note = {{ISBN} 1441413006}, url = {http://www.gnu.org/software/octave/doc/interpreter}, } We have invested a lot of time and effort in creating GNU Octave, please cite it when using it. See also `citation pkgname' for citing Octave packages.