|
From: | Carnë Draug |
Subject: | [Octave-bug-tracker] [bug #54309] Internal transparent area of png image is loaded as border color by imread |
Date: | Sat, 14 Jul 2018 18:17:28 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 |
Update of bug #54309 (project octave): Status: Confirmed => Invalid Open/Closed: Open => Closed _______________________________________________________ Follow-up Comment #6: > In the read image the internal transparent area is wrongly not transparent, but has the (red) color of the border. This is not a bug, this is the way it's supposed to work. The transparency of a pixel and the colour value of that pixel are separate things. Even if a pixel is meant to be transparent, it still needs a colour value. You need to read the transparency separately (3rd output argument of imread) and then decide how to display that transparency. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?54309> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |