[squeak-dev] 16 bit GIFs (was: A nitpick)

Bert Freudenberg bert at freudenbergs.de
Sun May 11 12:37:58 UTC 2014


On 2014-05-09, at 19:36, Yoshiki Ohshima <Yoshiki.Ohshima at acm.org> wrote:

> On Fri, May 9, 2014 at 1:14 AM, Bert Freudenberg <bert at freudenbergs.de> wrote:
>> Do we support any 16 bit-per-channel gifs?
> 
> Not sure what you mean by "gifs"

Yes, I meant pngs. Slip of mind. 

> (I am specifically talking about
> PNGs), but sure, I think Squeak should be able to read a PNG file, as
> long as it is a valid one.  If it is 16 bits per channel, it should
> downscale the depth to 8 and create a 32 bpp Forms.  This does happen
> in most of the cases, but when the PNG file specifies the transparent
> pixel (it is also in 16 bit value), it causes an error.
> -- 
> -- Yoshiki

Ah, okay. I wasn't even aware Squeak reads 16 bpp images at all, because bitblt supports at most 8 bpp.

- Bert -


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4142 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20140511/03c14cbf/smime.bin


More information about the Squeak-dev mailing list