[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #41768] imdither() calls imwrite() in the wron
From: |
Carnë Draug |
Subject: |
[Octave-bug-tracker] [bug #41768] imdither() calls imwrite() in the wrong way (Package: image) |
Date: |
Mon, 03 Mar 2014 18:22:31 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20140207 Firefox/24.0 Iceweasel/24.3.0 |
Follow-up Comment #1, bug #41768 (project octave):
The problem was that imdither was using some undocumented features of imwrite.
Those features were removed in 3.8.0 or we couldn't keep Matlab compatibility.
I'd guess that imdither should never be using those features in the first
place.
Simply changing the order of the filename and image matrix won't fix it.
A possibility to fix this was once implemented in rgb2ind. See
http://hg.savannah.gnu.org/hgweb/octave/rev/5d6243c2acbf#l1.133 That change
was later reverted because see bug #40669 .
Also, graphicsmagick does some funny things when the filename has certain
strings. It may be possible to do also do this by trying to mix theses options
with the filename.
If you can prepare a modified to imdither (with his suggested change or
something else) that works I will happily make the change to fix this
regression.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?41768>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/