/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/texturetool -e PVRTC --bits-per-pixel-2 -o left.pvr left.PNG
The file must be a PNG
In Terminal, hit cd
to make sure you're in your root directory.
cd /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/ && ls
This should show you a list of all the tools there (Make sure you see texturetool
) - If you don't, update your OS, then Xcode
Once you know it's there, cd
back to your root and run the tool like:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/texturetool -e PVRTC --bits-per-pixel-4 -f PVR -o [new path to pvr to go] [path of original png]
Your output pvr
path can be ~/whatever/image.pvr
and your input png
is the path to your image to be converted.