AFTERGRASP: New ->IMAGEFILEALPHA and ->IMAGEFILETYPE

4 views
Skip to first unread message

John Bridges

unread,
Feb 5, 2013, 7:24:32 PM2/5/13
to after...@googlegroups.com

----------------------------------------------------------------------------
Tue, 05 February 2013

Two new elements for images ->IMAGEFILEALPHA and ->IMAGEFILETYPE

IMAGEFILEALPHA is true when the image file the image was loaded from
had an alpha channel. This is only supported for PNG for now.

IMAGEFILETYPE is exactly like FILEGETTYPE, it's set for any image
loaded. So for instance if you load dummy.image and the actual
contents are a jpeg, then ->imagefiletype would be "jpeg".


----------------------------------------------------------------------------

Reply all
Reply to author
Forward
0 new messages