• 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's w/ alpha channels
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: TIFF's w/ alpha channels


  • Subject: Re: TIFF's w/ alpha channels
  • From: Scott Herz <email@hidden>
  • Date: Wed, 6 Jun 2001 13:28:49 -0700

Tiffs with alpha channels work great in Cocoa. I challenge you to find an Aqua related tiff that DOESN'T have an alpha channel! <grin> I use PhotoShop to create the alpha. Switch to the Channels palette, use the triangle menu above the scroll bar to add a new channel. You can specify if you want black to mask or not. Now draw into the mask channel to add your alpha.

Before you use the image with Cocoa, you'll want to premultiply the alpha:

/usr/bin/tiffutil -cat myImage.tiff -out myImage.tiff

This will prevent NSImage from complaining.

Scott.


On Tuesday, June 5, 2001, at 12:35 PM, Chris Rudolph wrote:

Hi all,

I'm trying to use NSImageView to render a TIFF with an alpha mask.

Q1: Does Cocoa/MacosX support alpha masks in TIFF's?
Q2: Does anyone have suggestions for applications that support creating
TIFF's with alpha masks?

Thanks,
Chris.

--
Chris Rudolph
Apple Computer, Inc.
email@hidden
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev


References: 
 >TIFF's w/ alpha channels (From: Chris Rudolph <email@hidden>)

  • Prev by Date: Re: Fear
  • Next by Date: Re: Fear
  • Previous by thread: Re: TIFF's w/ alpha channels
  • Next by thread: Re: TIFF's w/ alpha channels
  • Index(es):
    • Date
    • Thread