GoldenDict dosen't handle image in bgl file properly.

Report bugs here

GoldenDict dosen't handle image in bgl file properly.

Postby zhangjinsong » Sat Oct 31, 2009 7:27 am

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.
zhangjinsong
 
Posts: 28
Joined: Sat Oct 31, 2009 7:05 am

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

Postby ikm » Sat Oct 31, 2009 3:10 pm

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.
ikm
Автор GoldenDict
 
Posts: 1595
Joined: Wed Feb 04, 2009 10:40 am

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

Postby zhangjinsong » Sun Nov 01, 2009 1:13 am

Thanks for your quick reply.
zhangjinsong
 
Posts: 28
Joined: Sat Oct 31, 2009 7:05 am


Return to Bugs

Who is online

Users browsing this forum: No registered users and 3 guests