Welcome to TalkGraphics.com
Page 1 of 2 12 LastLast
Results 1 to 10 of 18
  1. #1
    Join Date
    Sep 2013
    Location
    Montreal, Canada
    Posts
    457

    Default Transparency when saving to TGA

    Is there any way to save or set transparency when saving to a tga file?

    Example: import a photo, draw a shape on it, select both shape and photo, subtract shape, gives me a hole in the photo. Save as tga. Import the tga file back into Xara, the hole is white. I want it transparent.

    This is easy with a png file, but I want to be able to do it with a tga file.

    Reason for this: I want to modify a tga file that comes with Magix Movie Edit Pro/VPX and replace it. When the effect is used in the video editor, the image has transparency for part of it and I see the underlying video in the hole.

    Thanks
    John
    Xara DPX(16.2.0.56957)

  2. #2
    Join Date
    Feb 2007
    Location
    UK
    Posts
    16,869

    Default Re: Transparency when saving to TGA

    TGA files do not support transparency in the same way ['natively'] as PNG - to get transparency in a TGaAfile you need to create an alpha channel using a mask - xara does not support channel editing so I doubt it can be done in xara

    photoshop yes
    -------------------------------
    The trouble with political jokes is... they get elected

  3. #3
    Join Date
    Sep 2013
    Location
    Montreal, Canada
    Posts
    457

    Default Re: Transparency when saving to TGA

    Thanks for the reply. Disappointing.

    I can do it and did it in PaintShop Pro, but I find anything to do with drawing in that program very difficult to comprehend. By comparison, Xara is quick and simple.
    John
    Xara DPX(16.2.0.56957)

  4. #4
    Join Date
    Feb 2007
    Location
    UK
    Posts
    16,869

    Default Re: Transparency when saving to TGA

    affinity photo does channels but I have never tried this sort of thing with it, I dont know if you would be able to manipulate the alpha channels with masking
    -------------------------------
    The trouble with political jokes is... they get elected

  5. #5
    Join Date
    Feb 2007
    Location
    UK
    Posts
    16,869

    Default Re: Transparency when saving to TGA

    yes it can be done in affinity photo - need to make a spare channel from your mask selection... [ie pixel selction]

    check to see if this TGA has transparency where the window glass would be - zipped cos forum does not upload TGA

    TGA Alpha test.zip

    note you won't see this in xara it will look black - you will need to do it in a program that recognises the channel masking affinity/photoship/paintshop pro ....

    not difficult, the issue whichever way you do it is to get the selection/masking right [mine is a bit rough and ready] and pay attention to antialiasing, ie if necesary save with a layer underneath coloured appropriately
    -------------------------------
    The trouble with political jokes is... they get elected

  6. #6
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    37,386

    Default Re: Transparency when saving to TGA

    Why not PNG True Color + Alpha. It is Xara's native file format.
    Gary W. Priester
    Mr. Moderator Emeritus Dude
    , Sir

    gwpriester.com | Custom-Stereograms.com | eyeTricks on Facebook






  7. #7
    Join Date
    Sep 2013
    Location
    Montreal, Canada
    Posts
    457

    Default Re: Transparency when saving to TGA

    Thanks for this.

    The image worked fine in the video editor with the background video showing up in the window glass area.

    I don't have Affinity, only PaintShop Pro. A couple of us on the Magix forum have been trying to adjust an image using PSP to get the effect that we want. I'm struggling to learn the nuances of PSP, in particular the alpha transparency (and drawing more than a line).
    John
    Xara DPX(16.2.0.56957)

  8. #8
    Join Date
    Feb 2007
    Location
    UK
    Posts
    16,869

    Default Re: Transparency when saving to TGA

    @Gary because its for video and that program uses TGA it's the industry standard - and the compression in PNG can cause issues with video, even though static wise it is lossless

    actually it looks as if there is more work to be done on the TGA I posted, it may only look transparent in affinity, sorry

    personally I wouls stick to PS....
    -------------------------------
    The trouble with political jokes is... they get elected

  9. #9
    Join Date
    Feb 2007
    Location
    UK
    Posts
    16,869

    Default Re: Transparency when saving to TGA

    ah good glad it worked in your program, just had a moment of doubt because it did not open correctly in CS2 PS, but that is old - I'll check in CC PS
    -------------------------------
    The trouble with political jokes is... they get elected

  10. #10
    Join Date
    Feb 2007
    Location
    UK
    Posts
    16,869

    Default Re: Transparency when saving to TGA

    which version of PSP are you using - the current version [2020] is a shadow of it's former self in the days before Jasc sold it to corel.. did you use channels [ I don't think the current version has channels] if not I'd be interested to know how you did it
    -------------------------------
    The trouble with political jokes is... they get elected

 

 

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
  •