On Tue, 13 Dec 2005 23:45:40 -0500 Jason Tackaberry <[EMAIL PROTECTED]> babbled:

> I'm using an external library that generates a BGR32 image.  The source
> image is only 24bpp, so the alpha channel is all zeroed.  So, when I add
> the image to an evas canvas and use evas_object_image_data_set, I pass 0
> to evas_object_image_alpha_set.  My assumption is that this merely
> indicates to Evas that the alpha bytes aren't meaningful.  But in
> practice, it means that if I pass an alpha value less than 255 to
> evas_object_color_set, the image goes away.
> 
> Clearly the alpha from the image is getting multiplied.  But since
> has_alpha = false, I think this behavior is a bug.  But before I took
> the time to see about fixing it and submitting a patch, I thought I'd
> verify here that such a patch would be accepted.

technically - yes. it's a bug. it's due to the fact that the routines dont have
a special case for multiple when alpha doesnt contain sensible data (filling it
in with an assumed 0xff) :)

-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [EMAIL PROTECTED]
裸好多
Tokyo, Japan (東京 日本)


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to