Convert PNG to TGA with full range transparency
Posted: 2019-05-15T06:48:09-07:00
Hi there,
I am attempting to convert a png file that has totally transparent areas and partially transparent areas to a tga format using this:
for %%f in (*.png) do (
convert "%%~f" PNG24:- | convert "%%~nf.tga"
)
However, while the result tga does keep the full transparent areas, the 20% or 40% transparent areas are made of solid color instead of holding the transparency.
I tried using some examples I found on this forum as to include alpha on, but I had no luck in nailing a correct command line.
What am I missing?
Thank you!
I am attempting to convert a png file that has totally transparent areas and partially transparent areas to a tga format using this:
for %%f in (*.png) do (
convert "%%~f" PNG24:- | convert "%%~nf.tga"
)
However, while the result tga does keep the full transparent areas, the 20% or 40% transparent areas are made of solid color instead of holding the transparency.
I tried using some examples I found on this forum as to include alpha on, but I had no luck in nailing a correct command line.
What am I missing?
Thank you!