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.1024
Hi Wenbo,
Unfortunately this is a known issue for the TCT on Mac related to the version of ImageMagick that is shipped with the product. In the short term, one work around may be to install a newer version of ImageMagick on your machine and then configure the TCT to use your version of ImageMagick's convert tool rather than the one shipped (See section 4.2: Setting the Location to the Command Line Binaries of the User Guide for how to configure this).
For ImageMagick installation instructions see ImageMagick: Install from Binary Distribution
Regards
Ben
Hi Ben,
Thanks for your feedback.
I have already installed ImageMagick(ImageMagick-x86_64-apple-darwin15.2.0) in my Mac(version 10.11.2) following the instructions you supplied, it's convert program works well when i use it on the command line, but it failed when it work with TCT. please refer to the screenshot of the error, do you have any idea? thanks.
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.
Thank you very much for your comprehensive instructions.
I am on vacation these days, as soon as i am back next week, i will let you know if the compression job can work.
Thanks again.
Sorry for the late reply, i am a little busy after my vocation.
I am sorry to tell you that the compression error still happens even if the environment variables are set. no success can be observed after tried several times.
Hi Wenbo
I'm sorry to here that did not work for you. As it stands I am not sure why you are experiencing this problem still. I will raise a ticket internally against the TCT to get this resolved in the next release.
In the meantime my only suggestion is to try an alternative ImageMagick binary. Possible alternatives are ImageMagick installer for Mac OS X or Homebrew or MacPorts , however having not used / tested these I cannot confirm there suitability.
Alternatively the Windows and Linux builds of TCT are known not to suffer from this problem, so if you have easy access to either you may prefer that option instead.
Thanks for your suggestion, the Windows builds of TCT works well for me.