This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

etcpack error when compress png

I am a freshman of Graphic.

I need to compress a lot of "png" files to "ktx" format,so i used the command-line version of the Texture Compression Tool, but it seems not to work well.

The command i used was "ectpack 1.png  myImages".

It did not work, given the following output.

---------------------------------------------------------------------------------

[malitc-1]Compressing. Output file: myImages\1.pkm

无效参数 - tmp.ppm

Error: could not convert input image 1.png to .ppm

---------------------------------------------------------------------------------

Some extra informations are:

1 the version of tool is “Mali Texture Compression Tool v4.0.0“

2 the operating system is Windows 7, Service Pack 1

3 The GUI works well when compress ".png" file

4 The command "ectpack 1.ppm  myImages" works well

I guess that the etcpack first comvert the ”.png“ to ".ppm", then compress the ”.ppm" file, but the conversion from ".png" to ".ppm" seems failed.

I did not know why.

Is there any guy who has the same problem?  I need help.

Parents
  • Hi wallacewoo!


    Unfortunately I couldn't reproduce the problem.

    Could you please let me know if you are running just one instance of etctool at a time?

    If possible could you also attach 1.png file?

    In your case the command to convert PNG file to KTX format is:

    etcpack 1.png myImages -ktx

    Could you please run the above command to see if it works for you?


    Also, did you know that Mali GPU Texture Compression Tool v4.1 is available?

    It can be downloaded from Mali GPU Texture Compression Tool « Mali Developer Center.

    Cheers,

    Jacek


Reply
  • Hi wallacewoo!


    Unfortunately I couldn't reproduce the problem.

    Could you please let me know if you are running just one instance of etctool at a time?

    If possible could you also attach 1.png file?

    In your case the command to convert PNG file to KTX format is:

    etcpack 1.png myImages -ktx

    Could you please run the above command to see if it works for you?


    Also, did you know that Mali GPU Texture Compression Tool v4.1 is available?

    It can be downloaded from Mali GPU Texture Compression Tool « Mali Developer Center.

    Cheers,

    Jacek


Children