Results 1 to 4 of 4

Thread: Photoshop, TGA and Alpha channels [Resolved]

  1. #1

    Thread Starter
    Frenzied Member cyborg's Avatar
    Join Date
    May 2000
    Location
    Sweden
    Posts
    1,755

    Question Photoshop, TGA and Alpha channels [Resolved]

    Hi...

    I just started working with TGA files in my game and i have some problems loading the alpha channel, and because im really new to Photoshop i dont know if my TGA files even has an alpha channel.

    How do i create a TGA file in Photoshop that will use an alpha channel, and how do i edit that channel?
    Last edited by cyborg; Mar 12th, 2004 at 06:17 AM.
    Check out the FAQ and do a search before you post.
    My tutorials: Anti-Alias Pixels, Accurate Game Loop, Resource File

  2. #2

    Thread Starter
    Frenzied Member cyborg's Avatar
    Join Date
    May 2000
    Location
    Sweden
    Posts
    1,755

    Re: Photoshop, TGA and Alpha channels

    From the photoshop 7.0 help file
    Note: As long as you save a file in a format supporting the image's color mode,
    the color channels are preserved. Alpha channels are preserved only when you save
    a file in Adobe Photoshop, PDF, PICT, Pixar, TIFF, or Raw formats.
    DCS 2.0 format
    only preserves spot channels. Saving in other formats may cause channel information
    to be discarded. (See About file formats.)
    i headed on to "About file formats" and clicked "Targa" (TGA)

    From the photoshop 7.0 help file
    TGA (Targa®) format is designed for systems using the Truevision® video board
    and is commonly supported by MS-DOS color applications. Targa format supports
    16-bit RGB images (5 bits x 3 color channels, plus one unused bit), 24-bit RGB
    images (8 bits x 3 color channels), and 32-bit RGB images (8 bits x 3 color
    channels plus a single 8-bit alpha channel). Targa format also supports
    indexed-color and grayscale images without alpha channels. When saving an RGB
    image in this format, you can choose a pixel depth and select RLE encoding to
    compress the image
    First part tells me that TGA can't save alpha channels, next part tells me it can.

    I dont know what to believe...

    When i add a channel to my psd-file it's automaticly named "Alpha 1", and when i try to save it to the TGA format, it shows that the alpha channel will be lost.

    Please help me with this!
    Check out the FAQ and do a search before you post.
    My tutorials: Anti-Alias Pixels, Accurate Game Loop, Resource File

  3. #3

    Thread Starter
    Frenzied Member cyborg's Avatar
    Join Date
    May 2000
    Location
    Sweden
    Posts
    1,755
    anyone?

    please help me with this! i really need to create tga's with alpha channels!
    Check out the FAQ and do a search before you post.
    My tutorials: Anti-Alias Pixels, Accurate Game Loop, Resource File

  4. #4

    Thread Starter
    Frenzied Member cyborg's Avatar
    Join Date
    May 2000
    Location
    Sweden
    Posts
    1,755
    found it out myself...
    just save an image as a 32-bit tga and then reload it...use the eraser to 'paint' to the alpha channel.
    Check out the FAQ and do a search before you post.
    My tutorials: Anti-Alias Pixels, Accurate Game Loop, Resource File

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width