Page 1 of 1

How to write 32-bit TARGA?

Posted: Mon Sep 26, 2005 5:52 am
by Aller
I have a JPG which I need to edit (and have had no problems doing that) and end up with a 32-bit TARGA file. The resulting file, I've noticed, has roughly 3 bytes per pixel. Is there a way to save this as a 32-bit file (presumably meaning no compression, and with an alpha channel that specifies that none of the pixels are transparent)?

Also, while I'm at it, is there a way to manipulate the alpha channel in detail (namely importing and exporting an 8-bit image... I suppose other things like -wmark can be done on an exported image if that's available).

Re: How to write 32-bit TARGA?

Posted: Mon Sep 26, 2005 6:57 am
by xnview
Aller wrote:I have a JPG which I need to edit (and have had no problems doing that) and end up with a 32-bit TARGA file. The resulting file, I've noticed, has roughly 3 bytes per pixel. Is there a way to save this as a 32-bit file (presumably meaning no compression, and with an alpha channel that specifies that none of the pixels are transparent)?

Also, while I'm at it, is there a way to manipulate the alpha channel in detail (namely importing and exporting an 8-bit image... I suppose other things like -wmark can be done on an exported image if that's available).
Currently there is no possibility to convert 24bits into 32 bits, but i'll add it

Posted: Mon Sep 26, 2005 9:32 pm
by Aller
Nice to know. Converting to 24-bits to 32-bits would have been nice for the current project, but just thinking a little more long term... If I had a tool the size of nConvert that could not just convert to 32-bits (with a dummy alpha channel), but actually properly import an Alpha Channel, it would save the 113MB download of PSP demo that I've instructed people to do just to perform that task.