Re: TIFF's w/ alpha channels
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