Page 1 of 1

GoldenDict dosen't handle image in bgl file properly.

PostPosted: Sat Oct 31, 2009 7:27 am
by zhangjinsong
Description: Recently I downloaded a babylon dic file (bgl format), there are a lot of images in it, but GoldenDict can't display them correctly, they are replaced by some big white square blocks.

Version: 0.9.0-svn354 for linux

dictionary file: http://www.rayfile.com/en/files/ead0a7d ... 4221b798a/

Reproduce: search the word "hand".


Thanks for the great work. GoldenDict is the best dictionary software in Linux I've used.

Re: GoldenDict dosen't handle image in bgl file properly.

PostPosted: Sat Oct 31, 2009 3:10 pm
by ikm
This dictionary is malformed. Here's how that image is described in the "HAND" article:

Code: Select all
<img src="C3820945.gif" width="8388608" height="32896">

So the resulting image is shown enlarged to 8388608x32896, and of course it looks like a white square at a first glance -- but it's actually the right image, only ridiculously enlarged.

Re: GoldenDict dosen't handle image in bgl file properly.

PostPosted: Sun Nov 01, 2009 1:13 am
by zhangjinsong
Thanks for your quick reply.