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

Problem of etcpack command line on Mac

I meet problem when using command line tool "etcpack". I have succeed to use it on Windows. But when I use same options to convert the file on Mac, it failed.

The error message was "conver: command not found"

I have already make the working dir to Mali..../bin, And use ./etcpack as the command.

The command line is:

./etcpack /XXX/a.png /XXX -c etc1 -ext PNG -as

The result is:

sh: convert: command not found

Error: Could not convert input image /XXX/a.png to .ppm

the files in bin fold are:

astcenc   composite   convert    etcpack

Parents
  • Hi,

    Thanks for the report, I was able to reproduce the problem on MacOSX 10.10.4 with Mali Texture Compression Tool v4.3 and I will raise a ticket to track this issue.

    Here are possible workarounds:

    • add /path/to/Mali_Texture_Compression_Tool/bin to PATH env variable, e.g.:
      export PATH=$PATH:/path/to/Mali_Texture_Compression_Tool/bin
      ./etcpack /XXX/a.png /XXX -c etc1 -ext PNG -as
    • find a package that installs ImageMagick on Mac and automatically adds convert to PATH

    Hope that helps,

    Jacek

Reply
  • Hi,

    Thanks for the report, I was able to reproduce the problem on MacOSX 10.10.4 with Mali Texture Compression Tool v4.3 and I will raise a ticket to track this issue.

    Here are possible workarounds:

    • add /path/to/Mali_Texture_Compression_Tool/bin to PATH env variable, e.g.:
      export PATH=$PATH:/path/to/Mali_Texture_Compression_Tool/bin
      ./etcpack /XXX/a.png /XXX -c etc1 -ext PNG -as
    • find a package that installs ImageMagick on Mac and automatically adds convert to PATH

    Hope that helps,

    Jacek

Children