View Single Post
Old 09-10-2009, 02:41 AM   #1
DairyKnight
Connoisseur
DairyKnight plays well with othersDairyKnight plays well with othersDairyKnight plays well with othersDairyKnight plays well with othersDairyKnight plays well with othersDairyKnight plays well with othersDairyKnight plays well with othersDairyKnight plays well with othersDairyKnight plays well with othersDairyKnight plays well with othersDairyKnight plays well with others
 
Posts: 63
Karma: 2600
Join Date: Oct 2008
Device: PRS-505
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.
DairyKnight is offline   Reply With Quote