Mercurial > octave-antonio
view CITATION @ 17110:95055b814d35
imread: implement reading of images with 32 bitdepth and alpha channels.
* __magick_read__.cc (read_indexed_images): small refactor of code flow.
(read_images): implement reading of images with 32 bitdepth (bug #39249)
which changes how divisor is calculated. Read images of Bilevel type with
opacity values correctly (bug #36820). Read the alpha channel correctly
as a separate matrix (bug #32986). Implement reading images of ImageType
Magick::ColorSeparationMatteType (CMYK with alpha channel). Loop over
the output matrix and shift the pointer for the PixelPackets (because of
GraphicsMagick being row major order).
(__magick_read__): Do not read JPEG files as indexed even if PseudoClass.
Output class for indexed images must be based on depth and not on mapsize.
Simplify selection of output class with else if.
author | Carnë Draug <carandraug@octave.org> |
---|---|
date | Tue, 30 Jul 2013 00:03:00 +0100 |
parents | 3a93af21d206 |
children | a6d13c62fccf |
line wrap: on
line source
To cite GNU Octave in publications use: John W. Eaton, David Bateman, and Søren Hauberg (2009). GNU Octave version 3.0.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 and David Bateman and S\oren Hauberg}, title = {{GNU Octave} version 3.0.1 manual: a high-level interactive language for numerical computations}, publisher = {CreateSpace Independent Publishing Platform}, year = {2009}, 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.