09-10-2009, 02:41 AM | #1 |
Connoisseur
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. |
09-10-2009, 04:12 AM | #2 |
Connoisseur
Posts: 63
Karma: 2600
Join Date: Oct 2008
Device: PRS-505
|
Opps!! I made a horrible mistake by not changing the lockChunkID of the
following record, so that record was truncated and only the upper part of the jpg was displayed... I corrected that, and the PRC file showed beautifully on my Kindle DX. |
Advert | |
|
09-10-2009, 05:02 AM | #3 |
frumious Bandersnatch
Posts: 7,533
Karma: 19000001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
I think MobiCreator will still reduce the quality of the images to make them below 64 kB. If you don't want that, you can use MobiPerl or Calibre.
|
09-21-2009, 03:19 AM | #4 |
Connoisseur
Posts: 63
Karma: 2600
Join Date: Oct 2008
Device: PRS-505
|
|
10-08-2009, 09:02 PM | #5 |
GuteBook/Mobi2IMP Creator
Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
|
|
Advert | |
|
11-02-2009, 03:05 AM | #6 | |
Connoisseur
Posts: 63
Karma: 2600
Join Date: Oct 2008
Device: PRS-505
|
Well for me, it's much better than PDFRead. It has a much more intuitive GUI
and has more parameters to tune the final PDF. It support dual - cores to speed up PDF generation. (Now working on that...) What's more it keeps the PDF TOCs for reading on Kindle. Quote:
|
|
11-02-2009, 05:29 PM | #7 |
GuteBook/Mobi2IMP Creator
Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
|
Any sneak peaks...
|
11-03-2009, 12:16 AM | #8 |
Kindler of the Flame
Posts: 582
Karma: 646016
Join Date: Oct 2009
Location: US of A
Device: K DX,3,KT,KP,KF, KFHD; Nook C, PRS600, iPad, Xoom, N900, N810, Zaurus
|
I am also interested in this. So far, I have not been able to achieve satisfactory results with images in mobi/azw on the Kindle.
|
12-14-2009, 02:46 AM | #9 |
Zealot
Posts: 128
Karma: 278
Join Date: Jun 2008
Device: Kindle; PRS-500; MobiPocket on Windows Mobile
|
I'm definitely interested too.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
PRC file doesn't fully import into Calibre | MSJim | Kindle Formats | 1 | 06-01-2010 02:55 PM |
Calibre doesn't import all of PRC file | MSJim | Calibre | 5 | 06-01-2010 02:26 PM |
Can someone test this prc file for me? | bthoven | Ectaco jetBook | 2 | 10-08-2009 09:51 PM |
Using BD to convert prc file to Sony Reader | bbrotherton | Workshop | 6 | 11-15-2008 10:11 AM |
Bug when trying to convert a PRC file | Alfy | Calibre | 3 | 10-18-2008 12:23 PM |