VALENTINE'S DAY Independent developers get 50% discount on single user licenses for TP, PE and SI Visit store

Batch converting images to pvr or pvr.ccz

You can use TexturePacker to simply convert a complete directory of images with a single command line call into whatever output format you need (pvr.ccz in this example):

find <directoryname> -name \*.png | sed 's/\.png//g' | \
    xargs -I % -n 1 TexturePacker %.png \
        --sheet %.pvr.ccz \
        --data dummy.plist \
        --algorithm Basic \
        --allow-free-size \
        --no-trim \
        --opt RGBA4444 \

Replace directoryname with the directory to search.

Did you like the tutorial? Please share!