Mercurial > octave
changeset 23416:a40434df6f54
Rename warning ID GraphicsMagic-Quantum-Depth GraphicsMagick-Quantum-Depth.
* libinterp/corefcn/__magick_read__.cc: use correct name GraphicsMagick for
the warning ID Octave:GraphicsMagic-Quantum-Depth.
* scripts/image/imfinfo.m: use fixed warning ID during test.
author | Carnë Draug <carandraug@octave.org> |
---|---|
date | Thu, 20 Apr 2017 01:10:18 +0100 |
parents | dd9d5522de04 |
children | 80c1fc2b4112 |
files | libinterp/corefcn/__magick_read__.cc scripts/image/imfinfo.m |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/corefcn/__magick_read__.cc Wed Apr 19 09:46:27 2017 -0700 +++ b/libinterp/corefcn/__magick_read__.cc Thu Apr 20 01:10:18 2017 +0100 @@ -798,7 +798,7 @@ // is also the GraphicsMagick recommended setting and the default // for ImageMagick. if (QuantumDepth < 16) - warning_with_id ("Octave:GraphicsMagic-Quantum-Depth", + warning_with_id ("Octave:GraphicsMagick-Quantum-Depth", "your version of %s limits images to %d bits per pixel\n", MagickPackageName, QuantumDepth);
--- a/scripts/image/imfinfo.m Wed Apr 19 09:46:27 2017 -0700 +++ b/scripts/image/imfinfo.m Thu Apr 20 01:10:18 2017 +0100 @@ -166,7 +166,7 @@ ## This test is the same as the similar one in imread. imfinfo must check ## if file exists before calling __imfinfo_. This BIST test confirms this. %!testif HAVE_MAGICK -%! warning ("off", "Octave:GraphicsMagic-Quantum-Depth", "local"); +%! warning ("off", "Octave:GraphicsMagick-Quantum-Depth", "local"); %! fmt = fmt_ori = imformats ("jpg"); %! fmt.info = @true; %! error_thrown = false;