[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #46872] imread not loading certain indexed png
From: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #46872] imread not loading certain indexed png correctly |
Date: |
Mon, 22 Feb 2016 17:43:45 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:44.0) Gecko/20100101 Firefox/44.0 Iceweasel/44.0 |
Update of bug #46872 (project octave):
Summary: Incorrect loading of images => imread not loading
certain indexed png correctly
_______________________________________________________
Follow-up Comment #3:
Same here, and I can confirm that I can use "gm convert" to reformat the
provided image to a full-color image file, and then imread loads it
accurately.
Here is the output of "gm identify -verbose"
Image: problem_image_original.png
Format: PNG (Portable Network Graphics)
Geometry: 285x238
Class: PseudoClass
Type: palette
Depth: 8 bits-per-pixel component
Channel Depths:
Red: 1 bits
Green: 1 bits
Blue: 8 bits
Channel Statistics:
Red:
Minimum: 0.00 (0.0000)
Maximum: 65535.00 (1.0000)
Mean: 25971.49 (0.3963)
Standard Deviation: 32055.24 (0.4891)
Green:
Minimum: 0.00 (0.0000)
Maximum: 0.00 (0.0000)
Mean: 0.00 (0.0000)
Standard Deviation: 0.00 (0.0000)
Blue:
Minimum: 0.00 (0.0000)
Maximum: 65535.00 (1.0000)
Mean: 20123.00 (0.3071)
Standard Deviation: 16567.25 (0.2528)
Colors: 5
0: (255, 0, 0) red
1: ( 0, 0,128) navy
2: ( 0, 0,255) blue
3: ( 0, 0, 0) black
4: (255,255,255) white
Gamma: 0.45455
Chromaticity:
red primary: (0.64,0.33)
green primary: (0.3,0.6)
blue primary: (0.15,0.06)
white point: (0.3127,0.329)
Filesize: 1.1Ki
Interlace: No
Orientation: Unknown
Background Color: #FEFEFE
Border Color: #DFDFDF
Matte Color: #BDBDBD
Page geometry: 285x238+0+0
Compose: Over
Dispose: Undefined
Iterations: 0
Compression: Zip
Png:IHDR.color-type-orig: 3
Png:IHDR.bit-depth-orig: 4
Date:create: 2016-01-08T12:57:34+05:00
Date:modify: 2003-09-17T15:35:00+05:00
Signature: 1991ee2b0e4f2f9ec5621aa95832eac73296ace27f66cd3308f34293efdb77f8
Tainted: False
User Time: 0.020u
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?46872>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/