octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #54309] Internal transparent area of png image


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:21:41 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

Follow-up Comment #7, bug #54309 (project octave):

> Because there is no color associated with pixels in the center of the image
(they are transparent) their color channel value really can be anything. 

This is incorrect. There is colour associated with the pixels in the centre of
the image, and in this case they are red. Those pixels are also transparent
which is why your image viewer will show the canvas background (in my case
that's a checker board pattern).

Also, note that a pixel does not have to be fully opaque and fully
transparent, with png images, there's a range of transparency values.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?54309>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]