Home › Forums › PowerVR Insider Graphics › PVRTexToolCLI “-squarecanvas +” option compress a 256×512 png into 256×256, not 512×512
Tagged: pvrtextoolcli, squarecanvas
This topic contains 1 reply, has 2 voices, and was last updated by Lawrence 3 years, 4 months ago.
I need to compress my png file into pvr file format, and make it square, but the “-squarecanvas +” option does not work as expected.
Input is a 256×512 png, the following command: “PVRTexToolCLI.exe -i test.png -o tes2.pvr -f PVRTC1_4 -l -q pvrtcfast -squarecanvas +”, result a pvr file of 256×256 size.
Which I have to use “-rcanvas” option instead: “PVRTexToolCLI.exe -i test.png -o test.pvr -f PVRTC1_4 -l -q pvrtcfast -rcanvas 512,512”
Thanks for bringing this bug to our attention.
I have fixed this for our next release. In the meantime, using -rcanvas is the best solution.