Mercurial > octave-nkf
view .hgignore @ 17332:eb7e9a991ffb
Implement writing of CMYK and fix writing of image alpha channel (bug #32986).
* __magick_read__.cc (bitdepth_from_class, init_encode_image): new functions
created from pieces of encode_indexed_images () to be used by the other
encode image functions.
(encode_indexed_images): make use of new bitdepth_from_class(), and
init_encode_image() functions.
(encode_bool_image): rewritten to match flow of the other encode functions,
use fortran_vec for performance, and use only 4th dimension for frames.
(encode_uint_image): completely rewritten to identify images of CMYK type
and not confuse them with RGB plus alpha channel. Now accepts the alpha
channel as separate argument. Image argument must now be of same class as
the template.
(__magick_write__): changed to match new API for the encode functions.
* private/__imwrite__.m: set default and input check for alpha channel option.
* imwrite.m: document alpha channel option as separate argument.
* NEWS: announce rewrite of the image IO functions and warn about possible
backwards incompatibilities.
author | Carnë Draug <carandraug@octave.org> |
---|---|
date | Mon, 19 Aug 2013 16:11:18 +0100 |
parents | dc76e3909d36 |
children | c16c446204e5 |
line wrap: on
line source
syntax: regexp # The recurrent (^|/) idiom in the regexps below should be understood # to mean "at any directory" while the ^ idiom means "from the # project's top-level directory". # gnulib makes these silly backup files .~$ # This directory gets created by gnulib during the build. # It contains no Octave files. ^libgnu/* # This directory mostly contains cruft during build time, but it does # contain some Octave code, so we gotta be a bit more careful about # what we ignore here ^m4/(?!ax_).+\.m4$ # Emacs tools create these (^|/)TAGS$ (^|/)semantic.cache$ (/|^)Makefile\.in$ ^INSTALL$ ^aclocal\.m4$ ^build-.*($|/) ^configure$ ^autom4te\.cache($|/) ^config\.in\.h$ # e.g. doc/faq/OctaveFAQ.info # doc/interpreter/octave.info-4 ^doc/.*\.info(-\d)?$ ^doc/\w*/stamp-vti$ ^doc/\w*/version\.texi$ ^doc/interpreter/images\.mk$ # e.g. liboctave/operators/smx-op-inc.mk ^liboctave/operators/\w+-op-\w+\.mk$ ^libinterp/dldfcn/module\.mk$