Embedding JPGs larger than 64KB in .prc file
Hi all,
I'm developing a tool to rasterize PDF files, and convert them into .PRC
files along with the TOC for reading on Kindle DX. But now I'm having
problems with embedding JPG files into .prc files, which are more than 64KB.
As I'm experimenting, what I did was generate a .prc file with MobiCreator,
and replace the downscaled JPG with the original 1200x800 one.
The PRC was displayed find, but for large pictures, only the top part is
displayed on DX, the rest of it is all black.
My guess is that there's some certain record specifying the resolution of image, it was loaded correctly but only renders the upper part.
So could somebody help me out? I checked the wiki but there seems no information about it. Thanks.
|