# PVRTexToolCLI "-squarecanvas +" option compress a 256x512 png into 256x256, not 512x512

**URL:** <https://forums.imgtec.com/t/pvrtextoolcli-squarecanvas-option-compress-a-256x512-png-into-256x256-not-512x512/2158>\
**Category:** PowerVR Insider\
**Tags:** pvrtextool\
**Created:** [September 10, 2014, 6:38am UTC](https://forums.imgtec.com/t/pvrtextoolcli-squarecanvas-option-compress-a-256x512-png-into-256x256-not-512x512/2158 "2014-09-10T06:38:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![zhaojunmeng](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.imgtec.com/zhaojunmeng/32/222_2.png) [@zhaojunmeng](https://forums.imgtec.com/u/zhaojunmeng)\
**Post date:** [September 10, 2014, 6:38am UTC](https://forums.imgtec.com/t/pvrtextoolcli-squarecanvas-option-compress-a-256x512-png-into-256x256-not-512x512/2158/1 "2014-09-10T06:38:55Z")

</div>

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 256x512 png, the following command:  
  
“PVRTexToolCLI.exe -i test.png -o tes2.pvr -f PVRTC1\_4 -l -q pvrtcfast -squarecanvas +”, result a pvr file of 256x256 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”

---

<div class="post-metadata">

**Author:** ![Lawrence](https://avatars.discourse-cdn.com/v4/letter/l/2bfe46/32.png) [@Lawrence](https://forums.imgtec.com/u/Lawrence)\
**Post date:** [September 15, 2014, 7:39am UTC](https://forums.imgtec.com/t/pvrtextoolcli-squarecanvas-option-compress-a-256x512-png-into-256x256-not-512x512/2158/2 "2014-09-15T07:39:13Z")

</div>

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.
