Staff Patrick Connor Posted December 8, 2019 Staff Share Posted December 8, 2019 @Chris B Please investigate this Quote Patrick Connor Serif Europe Ltd Latest V2 releases on each platform Help make our apps better by joining our beta program! "There is nothing noble in being superior to your fellow man. True nobility lies in being superior to your previous self." W. L. Sheldon Link to comment Share on other sites More sharing options...
Staff Sean P Posted December 9, 2019 Staff Share Posted December 9, 2019 19 hours ago, MikhailPo said: Hello. I was tested exporting to TGA format with Alpha channel in version 1.7.3 and had some problems with it. TGA header has information about bytes per pixel equals 4, but ImageDescriptor field hasn't any information about bits for alpha channel (it is equals 0). With it some programs can't open exported TGA files File format reference - https://www.fileformat.info/format/tga/egff.htm#TGA-DMYID.2 Hi MikhailPo, What applications are failing to open Affinity exported TGA files? Quote Link to comment Share on other sites More sharing options...
MikhailPo Posted December 10, 2019 Share Posted December 10, 2019 (edited) 22 hours ago, Sean P said: Hi MikhailPo, What applications are failing to open Affinity exported TGA files? Hi Sean, It's inner software in my company. It was created across TGA documentation and works well with TGA files exported from Gimp and Photoshop. In other viewers it works fine (Photoshop, Gimp, Blender, MacOS default viewer, etc.). I can acquire request for modification our soft but I think that better for Affinity is support TAG format correctly. Example in attachments: demo1.tga Header(hex) 00 00 02 00 00 00 00 00 00 00 00 00 31 00 31 00 20 20 (Affinity Photo) demo2.tga Header(hex) 00 00 02 00 00 00 00 00 00 00 00 00 31 00 31 00 20 08 (Photoshop, no RLE compression) demo3.tga Header(hex) 00 00 02 00 00 00 00 00 00 00 31 00 31 00 31 00 20 28 (Gimp, no RLE compression, origin top-left) demo4.tga Header(hex) 00 00 02 00 00 00 00 00 00 00 00 00 31 00 31 00 20 08 (Gimp, no RLE compression, origin bottom-left) As you see last 4 bits (0x0F) have information about alpha channel size (8). demo4.tga demo3.tga demo2.tga demo1.tga Edited December 10, 2019 by MikhailPo Patrick Connor and Sean P 2 Quote Link to comment Share on other sites More sharing options...
Staff Sean P Posted December 10, 2019 Staff Share Posted December 10, 2019 Thanks for that MikhailPo, I've passed that on to development to be investigated, thank you. MikhailPo 1 Quote Link to comment Share on other sites More sharing options...
MikhailPo Posted February 17, 2020 Share Posted February 17, 2020 On 12/10/2019 at 5:18 PM, Sean P said: Thanks for that MikhailPo, I've passed that on to development to be investigated, thank you. Hi, Sean P. Is there any news about fix tga export? Quote Link to comment Share on other sites More sharing options...
ashf Posted June 17, 2020 Share Posted June 17, 2020 Alpha channel behavior has serious problem when doing round trip editing with other apps. Needs improvement to handle straight alpha. Quote Link to comment Share on other sites More sharing options...
MikhailPo Posted November 11, 2020 Share Posted November 11, 2020 One month left before the anniversary of the defect 🎉 All this time I have to use GIMP to work with TGA 😥 Quote Link to comment Share on other sites More sharing options...
MikhailPo Posted February 17, 2021 Share Posted February 17, 2021 Release 1.9. TGA works (alpha bit is correct)! Thank you! Patrick Connor and SrPx 1 1 Quote Link to comment Share on other sites More sharing options...
Sersch Posted January 15, 2022 Share Posted January 15, 2022 Hi, I'm running into a small inconvenience with the TGA export. I'd like to use Affinity Photo for editing Quake 3 textures, because TGA is the only format that Quake 3 can use for textures with alpha channels. The texture loads correctly in-game, but the game's console prints the following warning: "WARNING: '[path to texture]' TGA file header declares top-down image, ignoring I can fix this by exporting the TGA from Gimp instead. During export, Gimp lets me choose between Bottom left and Top left for the Origin setting. The error goes away when I use Bottom left. You can find the code section in Quake 3's source code that's related to TGA rendering here, starting in line 1121. The error message is in line 1354. Maybe this is helpful in some way. Patrick Connor 1 Quote Link to comment Share on other sites More sharing options...
Staff Patrick Connor Posted January 15, 2022 Staff Share Posted January 15, 2022 @Sersch Welcome to the Serif Affinity forums That's very helpful thank you Sersch 1 Quote Patrick Connor Serif Europe Ltd Latest V2 releases on each platform Help make our apps better by joining our beta program! "There is nothing noble in being superior to your fellow man. True nobility lies in being superior to your previous self." W. L. Sheldon Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.