Learn More Contact Now Learn more about GeniusDV Video Training Classes - call toll-free: 866-566-1881

Alpha Channels and Transparency 3 (Back to the Basics series)

| | TrackBacks (0)

Masks vs. Alphas

Alpha channels are our most sophisticated way to handle transparency, but they're by no means the only way.  We commonly use the term "Mask" to refer to something similar to the alpha channel above - that is to say, a full range of "see-through-ness" for each point.  Photoshop, for example, uses the term "Mask" to mean just that.  But more primitive incarnations of "image masks" in applications like DVDs and some still image files like GIFs use a different approach.

In these image masks, every individual point on our image's "quilt" is either a color or completely, 100% transparent.  Ever wondered why your funny-shaped DVD buttons have jagged edges on their highlights?  Well, this is why.  

Consider these same two images with transparency.  Both are just a black square, with an alpha channel that ranges from opaque (0%) to completely transparent (100%), but one uses a web format that has a full alpha channel (PNG-24) and the other uses a web format with only the on/off image mask (GIF).  Remember that your browser is compositing each image with the white background of this page - so the image should show a nice, clean fade from black to white.

B2B-AlphaPng.png
B2B-AlphaGif.gif
Wow - a stark difference.  Notice especially how jagged the diagonal is in the GIF.  This is probably the most important difference between formats with full alpha channels and ones with on/off image masks: on/off image masks cannot accommodate antialiasing.  I'll write up a bit about antialiasing in another series, but for now, let's just say that's the process that makes jagged edges smooth on screen.

For your convenience, here's a quick list of which formats and software use which kind of transparency:

Full Alpha Channel:
  • Final Cut suite
  • Marquee
  • Photoshop
  • PNG-24
  • Flash Video (for an example, see Ms. Dewey)
  • TIFF
  • TGA
  • Video codecs with "Millions Of Colors +" listed as an option - the "+" is important.
Limited, On/Off Image Masking:
  • GIFs
  • DVD Buttons
  • PNG-8
No Transparency
  • JPEG
  • Most output-oriented video codecs
track.backs

Listed below are 0 links to blogs that reference this entry: Alpha Channels and Transparency 3 (Back to the Basics series).

TrackBack URL for this entry: http://www.geniusdv.com/weblog/mt-tb.cgi/879

Receive FREE Tutorials by email:

Online and On-Site Training available for most days. Call for available Schedule.

View Upcoming Training Events
Easy PHP Calendar
July 2009
S M T W T F S
28 29 30 1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31 1
2 3 4 5 6 7 8
Jul 26th -- Jul 27th
9:00 AM - 5:00 PM
  Video Production Class
Jul 27th -- Jul 31st
9:00 AM - 5:00 PM
  Media Composer Training
Aug 3rd -- Aug 13th
5:00 AM - 5:00 PM
  Final Cut Studio Training 9 Days
Aug 3rd -- Aug 7th
9:00 AM - 5:00 PM
  Final Cut Studio Training 5 Days
Sep 21st -- Sep 25th
9:00 AM - 5:00 PM
  Media Composer Training
 
Search Our Tutorials:
Find on-site Genius training in:
about.this

Digital Rapids Clears Hurdles Behind Summer Games Streaming was the previous entry in this blog.

Telestream Announces Availability of AdManager for Cable is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.