Results 1 to 3 of 3
  1. #1
    New Member
    Join Date
    Aug 2006
    Location
    alaska
    Posts
    2

    PS alpha transparency TGA file problem

    Hi

    I created an image in photoshop that has a transparent background. I saved that image as a targa file in 32 bits because that is a file format I can read in my programs.

    However, when I looked at the bytes in hex for the saved targa file, the fourth byte, which I thought would be a numerical value where there was a visible pixel and 0 where the pixel was transparent, turned out to have zeros in all of the alpha bytes (ie the fourth byte of the 32 bits = 00)

    My question is: 1. did I miss something when I saved the targa? or 2. Does photoshop actually code transparency that way? (I mean does it save the alpha in the fourth byte as a zero if transparent and some other value if it is visible)

    I never got to use the file because the transparent alpha byte was not telling me which pixels were visible and which ones were not.

    Has anyone got an idea how photoshop saves the alpha transparency in targa?

    thanks very much for any help you can give me.

    joe

  2. #2
    New Member
    Join Date
    Aug 2006
    Location
    alaska
    Posts
    2

    ok I solved it but..

    I looked through the previous posts which led me to the answer.

    But I do have a second question. The Image that I am using is a tree. The problem is that the edges are too sharp (no blending at all) and there is a white-ish ghost color on the branches at the edges. It mkaes the tree look un-natural. In the original picture that I started with (before PS) it was a tree on a white background and it's edges looked good. But now the tree looks not so good. Is that because I used a white backround initially? Can that be changed?

    1. Is it possible to get rid of this white color and
    2. Is it possible to make the edges of the tree blnd more with the background?



    thanks a lot for your reading this.

    joe

  3. #3
    Administrator Dave's Avatar
    Join Date
    Sep 2004
    Location
    Te Awamutu, New Zealand
    Posts
    3,959
    Blog Entries
    79
    Okay, I'm no expert with Targa files - I never use them so I may not be the best person to answer this. But as far as I can see they work pretty much the same way as PSD files regarding transparency.

    The best thing you could do is upload the image with your message so we can have a look at it.

    If you don't want to do that, can you tell me...

    How did you make the image transparent? Did you use any sort of feathering or aliasing when you selected the area to be transparent?

    Is the transparent area definitely transparent (ie showing the checkered pattern) after saving as a targa file?
    Dave Owen
    MediaCollege.com

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Subscribe to us on YouTube