|
From: | Carnë Draug |
Subject: | [Octave-bug-tracker] [bug #47746] imwrite writes incorrect TIFF pixel values from uint8 array on i686-linux-gnu |
Date: | Tue, 03 May 2016 12:07:27 +0000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.8.0 |
Follow-up Comment #3, bug #47746 (project octave): This snippet: x = uint8 (0:255); imwrite (x, "test.tif"); Should follow this code path (it's a single channel/color without alpha so an Image of type Magick::GrayscaleType) http://hg.savannah.gnu.org/hgweb/octave/file/58f5a6347851/libinterp/dldfcn/__magick_read__.cc#l1096 Can you print the value of grey at line 1111 to check if we are computing it wrong or if it's an issue in GraphicsMagick? _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?47746> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |