Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

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?)

share|improve this question
2  
I think superuser.com is a better place to ask. –  The Communist Duck May 1 '11 at 9:58
    
I'll give it a try, PVR just doesn't get much use outside of games :) –  Toji May 1 '11 at 15:50

4 Answers 4

Check out ImageMagick - it seems to do everything, and has a good command line interface.

share|improve this answer
    
Apparently ImageMagick doesn't support PVR (here's a list of supported formats) –  bummzack Jul 20 '11 at 6:57

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.

share|improve this answer
    
in 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 at 7:07

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
share|improve this answer

"Image Converter Plus" can convert PVR to JPG and PNG images. You can select and convert multiple images at same time.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.