The command line PVRTexTool works very well for getting textures into a PVR format, but I need a way of going the opposite directions. Does anyone know of a good command line tool (or GUI with a batch mode) that will convert a PowerVR texture to a more common image format (like JPEG or PNG?)
Asked
Active
Viewed 1.4k times
5 Answers
3
Inside one of the folders of PVRTexTool you find PVRTexToolCLI.exe, that is the command-line version of it. You can use a batch command on it like this:
for %f in (*.pvr) do PVRTexToolCLI.exe -i "%f" -d -f r8g8b8a8

Quang Nguyen
- 31
- 3
-
An error occurred in PVRTexTool: Unsupported input file format: pvr
– Tor Klingberg Jul 21 '15 at 14:17
2
I do it in 3 steps:
- PVRTexToolCLI -dds -fDXT1 -iX.pvr -oX.dds
- ImageMagick X.dds X.png (or X.jpg)
- rm X.dds

Luc Bloom
- 121
- 2
1
Check out ImageMagick - it seems to do everything, and has a good command line interface.

Tim Holt
- 10,318
- 1
- 31
- 46
-
1Apparently ImageMagick doesn't support PVR (here's a list of supported formats) – bummzack Jul 20 '11 at 06:57
1
I just used Texture Packer to do just as you ask:
for file in *.pvr.ccz; do
/Applications/TexturePacker.app/Contents/MacOS/TexturePacker $file --sheet ${file%.pvr.ccz}.png --texture-format png --data ${file%.pvr.ccz}.plist
done
It gives you a PNG and a plist of the sprite data.
It also runs on most platforms, so even if you're not on a mac something similar should still work.

sj26
- 111
- 3
-
1in texture packer comand line tool if i typed above coomand.. its ayind no such a dirctory.. can u explain a little more... – seenu Apr 16 '14 at 07:07
0
"Image Converter Plus" can convert PVR to JPG and PNG images. You can select and convert multiple images at same time.

momboco
- 1,670
- 14
- 12