• 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: Steven Rogers <email@hidden>
  • Date: Thu, 21 Feb 2002 13:56:05 -0600

On Sunday, February 17, 2002, at 03:30 PM, Andreas Monitzer wrote:

On Sunday, February 17, 2002, at 10:20 , Mamdouh wrote:

So my question is how do i make tiff4s with masks?

In Photoshop you just have to add an alpha channel and save as tiff. Works fine, just don't forget to premultiply the alpha afterwards:

tiffutil -lzw in.tiff -out out.tiff

I've been playing with this, and I can't seem to make a TIF that IconComposer will extract the 128x128 mask from. I made an image in Photoshop, set the alpha channel, and the 128x128 thumbnail looks great - transparent in all the right places, but the mask says "No 1 Bit Mask". What's up with that?

When I use tiffutil to get info on the file I created in photoshop, it says: Warning: TIFF image with unknown extra samples assumed to have unassociated alpha. RGB values have been premultiplied Is that a clue to what I'm doing wrong?

For all the other sizes, you can import the mask directly, but for some reason, you can't import the mask for the largest icon, it must be computed from the alpha channel . . . what's up with that?

Any help appreciated - or pointers to documentation where the answer lies . . .

TIA,
Steve
_______________________________________________
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:
    • Does Apple still ship Mac OS X with a second CD containing the developer tools
      • From: "Erik M. Buck" <email@hidden>
References: 
 >Re: Tiff with mask (From: Andreas Monitzer <email@hidden>)

  • Prev by Date: Updating UI objects from another thread
  • Next by Date: How to write an NSImage to a JPEG file
  • Previous by thread: Re: Tiff with mask
  • Next by thread: Does Apple still ship Mac OS X with a second CD containing the developer tools
  • Index(es):
    • Date
    • Thread