Re: Tiff with mask
Re: Tiff with mask
- Subject: Re: Tiff with mask
- From: Raphael Sebbe <email@hidden>
- Date: Mon, 18 Feb 2002 17:25:56 +0100
Actually, opaque is 1.0 and transparent is 0.0 (or if using 8bit
components, respectively 255 and 0).
Also, as I saw another message was about premultiplying the TIFFs, don't
forget this is a lossy process and you should keep the original file as
well - the one not premultiplied (Photoshop) - (in the case you want to
later change the alpha channel...)
Raphael
On Monday, February 18, 2002, at 03:46 PM, Ondra Cada wrote:
Mamdouh,
Mamdouh (M) wrote at Sun, 17 Feb 2002 22:20:52 +0100:
M> So my question is how do i make tiff4s with masks?
You don't. TIFFs don't support masks. They support much better thing --
the
alpha channel. Just set whatever part of your image which should be
transparent to have full alpha, and whantever part which should be
opaque to
have zero alpha.
BEsides, you can use all the values between 0 and 1 to have partially
transparent parts of image, which is something mask would never allow
you.
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
2K Development: email@hidden http://www.2kdevelopment.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
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.
_______________________________________________
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.