How to convert an image to PVRTC format? (PVR or KTX file)

With TexturePacker's --convert-texture command line option you can easily convert a single image to a different format:

TexturePacker --convert-texture input.png \
              --pixel-format PVRTCII_4BPP --texture-format pvr3

The pixel format specifies the compression algorithm to use, the texture format describes the file container. The following formats are supported for PVRTC compression:

Pixel formatBits per pixelDescription
PVRTCI_2BPP_RGBA2PVRTC compression, 2bit per pixel
PVRTCI_4BPP_RGBA4PVRTC compression, 4bit per pixel
PVRTCI_2BPP_RGB2PVRTC compression, 2bit per pixel, no transparency
PVRTCI_4BPP_RGB4PVRTC compression, 4bit per pixel, no transparency
PVRTCII_2BPP2PVRTC2 compression, 2bit per pixel
PVRTCII_4BPP4PVRTC2 compression, 4bit per pixel
Texture FormatDescription
pvr3PowerVR Texture Format. Native format for iOS and PowerVR GPUs.
pvr3gzPowerVR Texture Format, compressed with gzip. Smaller on disk, decompressed at load time.
pvr3cczPowerVR Texture Format, compressed with zlib, cocos2d header.
ktxKhronos Texture. Standard container for OpenGL ES textures.
ktx2Khronos Texture (Version 2). Newer format with Basis Universal support.
zktxKhronos Texture (gzip compressed). KTX file compressed for smaller storage.

The Image quality can be configured with --pvr-quality <0-7>, default value is 3.
For other options (scaling, trimming transparency, ...) have a look at the Image conversion documentation.