# 聊一聊制作mdx词典时那些容易踩到的坑

**URL:** <https://forum.freemdict.com/t/topic/455>\
**Category:** 技术交流与词典编修\
**Tags:** mdx改版\
**Created:** [2019 年12 月 19 日 05:08 UTC](https://forum.freemdict.com/t/topic/455 "2019-12-19T05:08:01Z")\
**Posts on this page:** 1\
**Showing post:** 20

<div class="post-metadata">

作者： ![endnote](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/e/9de0a6/32.png) [@endnote](https://forum.freemdict.com/u/endnote)\
发布日期： [2020 年7 月 13 日 00:59 UTC](https://forum.freemdict.com/t/topic/455/20 "2020-07-13T00:59:21Z")

</div>

> [@Vim](#):
>
> 图片使用ComicEnhancer Pro处理后，GoldenDict或许会不认

原来是ComicEnhancer Pro处理导致的问题。@阿彌陀佛 兄很多图片正是用ComicEnhancer Pro进行过处理。技术细节我不懂，我猜可能是PNG文件在ComicEnhancer Pro处理过程中被压缩了，然后在MDXBuilder里再次被压缩，于是官方版本GoldenDict 没有考虑这种情况导致该图片不能正确显示（深蓝踩过这个坑目前版本没有这个问题）。

不过这个bug 经 @last_idol 探讨后，在 @nonwill 的GoldenDict版本中被解决了。讨论过程见

> [@MDX开源实现无法读取部份图片的问题](https://forum.freemdict.com/t/topic/1329):
>
> 有一些资源文件里的某些的图片无法被读取，而其他所有图片均可正常读取。 这种情况会是啥原因造成的？

---

_[View the full topic](https://forum.freemdict.com/t/topic/455)._
