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

the alpha value is not correct after compression by tct mac v4.2

hi guys, i just find the alpha value become much smaller after compression by Mali GPU Texture Compression Tool v4.2 mac version, this problem also happens in the latest version v4.3, but it works well in windows version, is it a valid issue? will it be fixed in the future version? thanks.

i guess the alpha value has been squared. 26/255 = 0.10196, 90/255 = 0.32594, 0.32*0.32=0.1024ScreenShot.jpg 

Parents
  • Hi Wenbo,

    Thanks for your reply.

    Can you confirm your Mac is running 'El Captain' version of OSX as this is required for the ImageMagick supplied above.

    Also, did you configure the additional required environment variables for ImageMagick? If not, you will need to configure them. In particular ImageMagick requires the DYLD_LIBRARY_PATH to be set to point to the location of its dylibs.

    Unfortunately even if you set them in a Terminal window and were successfully able to run the 'convert' command from the command line, you may find that the GUI application still does not work as it will not see those environment variables.

    You should be able to configure them from the command line and launch the TCT from the same terminal causing it to see those variables:

    export MAGICK_HOME="/Users/wenboqiu/Android/ImageMagick-6.9.3"

    export PATH="$MAGICK_HOME/bin:$PATH"

    export DYLD_LIBRARY_PATH="$MAGICK_HOME/lib:$DYLD_LIBRARY_PATH"

    cd <LOCATION_OF_MALI_TEXTURE_COMPRESSION_TOOL_FOLDER>

    open -a tct.app

    Now if you re-run the compression job I should expect it to work.

    Provided it does work you may want to configure these variables so that they always are set.

    Regards

    Ben

Reply
  • Hi Wenbo,

    Thanks for your reply.

    Can you confirm your Mac is running 'El Captain' version of OSX as this is required for the ImageMagick supplied above.

    Also, did you configure the additional required environment variables for ImageMagick? If not, you will need to configure them. In particular ImageMagick requires the DYLD_LIBRARY_PATH to be set to point to the location of its dylibs.

    Unfortunately even if you set them in a Terminal window and were successfully able to run the 'convert' command from the command line, you may find that the GUI application still does not work as it will not see those environment variables.

    You should be able to configure them from the command line and launch the TCT from the same terminal causing it to see those variables:

    export MAGICK_HOME="/Users/wenboqiu/Android/ImageMagick-6.9.3"

    export PATH="$MAGICK_HOME/bin:$PATH"

    export DYLD_LIBRARY_PATH="$MAGICK_HOME/lib:$DYLD_LIBRARY_PATH"

    cd <LOCATION_OF_MALI_TEXTURE_COMPRESSION_TOOL_FOLDER>

    open -a tct.app

    Now if you re-run the compression job I should expect it to work.

    Provided it does work you may want to configure these variables so that they always are set.

    Regards

    Ben

Children