PVRTexToolCLI “-squarecanvas +” option compress a 256×512 png into 256×256, not 512×512

This topic contains 1 reply, has 2 voices, and was last updated by  Lawrence 3 years, 1 month ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #31808

    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”

    #38976

    Lawrence
    Moderator

    Hi,

    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.

Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.