Search found 2 matches
- 2019-05-15T07:47:06-07:00
- Forum: Users
- Topic: Convert PNG to TGA with full range transparency
- Replies: 2
- Views: 5524
Re: Convert PNG to TGA with full range transparency
Why are you running two convert commands? Why not just one?
I copy-pasted that from somewhere. I noticed the OR, but I thought it's meant for some fail-safe situation.
My bad, I used it without knowing fully what it does.
I suggest:
convert "%%~f" "%%~nf.tga"
Oh, it was that simple. It ...
- 2019-05-15T06:48:09-07:00
- Forum: Users
- Topic: Convert PNG to TGA with full range transparency
- Replies: 2
- Views: 5524
Convert PNG to TGA with full range transparency
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 ...
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 ...