• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Tiff with mask
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Tiff with mask
      • From: Isaiah <email@hidden>
  • Prev by Date: Re: Sheets in a doc-based application
  • Next by Date: Height of a string with fixed width and given font
  • Previous by thread: Re: Tiff with mask
  • Next by thread: Re: Tiff with mask
  • Index(es):
    • Date
    • Thread