• 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
Problem with TIFF alpha channel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem with TIFF alpha channel


  • Subject: Problem with TIFF alpha channel
  • From: Jeff Disher <email@hidden>
  • Date: Mon, 8 Oct 2001 20:36:02 -0700 (PDT)

Hello,

I am working on a program that reads in a 24-bit RGB
TIFF image from a file and adds an alpha channel to
make it into a 32-bit RGBA TIFF image which it then
displays on the screen.

So far, whenever I am adding the alpha channel to 100%
opacity (255 unsigned integer) the image displays
perfectly opaque and with the proper RGB data
expressed just as if it were a 24-bit RGB image.
However, if the alpha channel of any pixel is set less
than 100% the pixel appears as if it were black (but
the alpha value seems to be properly expressed). I
tried logging one of the pixels and its values are
what they are supposed to be. I also put the image in
the dock and it did properly act semi-transparent. I
also am confused by the way that an outline appears
around where the image should be.

Can anyone shed some light on this for me because I am
completely confused by this behavior?

Thanks,
Jeff.
NEW from Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1


  • Follow-Ups:
    • Re: Problem with TIFF alpha channel
      • From: Andrew Platzer <email@hidden>
    • Re: Problem with TIFF alpha channel
      • From: Chris Rudolph <email@hidden>
  • Prev by Date: Re: Download file size
  • Next by Date: Re: Another Table View Question
  • Previous by thread: Re: Another Table View Question
  • Next by thread: Re: Problem with TIFF alpha channel
  • Index(es):
    • Date
    • Thread