Re: Tiff with mask
Re: Tiff with mask
- Subject: Re: Tiff with mask
- From: email@hidden
- Date: Mon, 18 Feb 2002 14:41:18 -0800
Would someone explain premultiplication in this context. If I make a PS
file with an alpha channel
and save it as a tif I get the results I expect (used as icons in
buttons for instance). Am I implicitly
premultplying when I do this?
PS could save the TIFF premultiplied (but I believe PS does not do
that). So yes, you are implicitly premultiplying, on the load of your
image. You may be seeing a console log that is due to this, announcing
that your image has been premultiplied. The point of premultiplying
your images is largely to get rid of that log; the actual benefits in
terms of the performance of your app is pretty negligible (apart from
the overhead of the logging, which is probably significant :->). I wish
Apple would just take out the log and treat nonpremultiplied images as
"equal citizens", but so far they don't seem inclined to do that...
Ben Haller
Stick Software
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.