Quantcast
Channel: Adobe Community : All Content - AIR Development
Viewing all articles
Browse latest Browse all 2954

png2atf -c parameter

$
0
0

Hi there.

 

The png2atf documentation leads me to belive that I can generate an ATF containing only the specified block compressed formats, like DXT and PVRTC.

I tried the following command, but it does not work as intended, only adding a DXT to the final ATF.

Is the command wrong? Should the tool support this and I just found a bug? If not, how do I generate an ATF containing only DXT and PVRTC formats?

 

png2atf.exe -c d,p -e -4 -q 10 -i filename.png -o filename.atf

 

Here is the usage guide from the command and od notice the "[-c [<d,e,p>]]" part:

Usage: png2atf [-c [<d,e,p>]] [-r] [-m] [-e] [-n <start>,<end>] [-x] [-s] [-4|-2|-0] [-q <0-180>] [-f <0-15>] -i input.png -o output.atf [-a output_alpha.atf]

 

   -c  Create a block compressed texture set (DXT1+ETC1+PVRTC4bpp).

       Use d, e or p to only encode and embed either dxt1, etc1 or pvrtc.

 

Thanks.


Viewing all articles
Browse latest Browse all 2954

Trending Articles