StrataSource / vtex2

A VTF converter and editor
MIT License
42 stars 8 forks source link

VTF output is too large using in-place conversion #48

Closed craftablescience closed 4 months ago

craftablescience commented 4 months ago

VTFs created from an image (like a tga) will have null bytes appended to the end of the vtf based on the size of the input image. The vtf will load fine, but its not ideal to waste space.

JJL772 commented 4 months ago

I'm not able to reproduce this. What flags are being used to create the texture?

craftablescience commented 4 months ago

vtex2 convert --version 7.5 -f "dxt1"

craftablescience commented 4 months ago

The input is a TGA stored as 32-bit RLE-compressed rgba (actually idk if rgba is the right order but its got those channels)

craftablescience commented 4 months ago

Just a bug with the latest release, fixed in code