当创建索引bmp时,imagemagick会生成带有许多未使用颜色的大调色板

问题描述

是否有办法让imagemagick使用仅包含所需调色板条目的调色板创建索引位图?

即使被迫仅使用32种颜色,调色板也只有256种颜色。

我使用了以下命令行:

<script>
    if(navigator.userAgent.indexOf("android") == -1) {
        //RUN shopify css and js files i.e: {{ 'theme.scss.css' | stylesheet_url }}
    }
    else {
        //Sorry not entertaining anything except android
    }
</script>

还是有另一个优化bmp的工具(例如convert -resize 64x64 -alpha remove -colors 32 some.png my.bmp )?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)