Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > Kindle Formats

Notices

Reply
 
Thread Tools Search this Thread
Old 07-31-2008, 03:05 PM   #1
pdurrant
Santa Mouse
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 33,521
Karma: 91510696
Join Date: Jul 2007
Location: Norfolk, England
Device: NOOK ST GlowLight
Mobipocket File Format

I couldn't find any summary of the Mobipocket file format anywhere. Mobipocket don't document it, and although there's abviously been some reverse engineering to allow the MobiPerl tools and the various Python scripts, the code seems to be the documentation.

So - having spent some time with the various Perl and python scripts, and done a bit of googling on the PDB format, I've added some technical info to the wiki here, specifically to the PDB format page and the Mobipocket format page.

Hopefully others will contribute what they know, so we can build up a good description of the Mobipocket format, to help improve the tools.

Paul
pdurrant is online now   Reply With Quote
Old 07-31-2008, 03:12 PM   #2
nrapallo
GuteBook/Mobi2IMP Creator
nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.
 
nrapallo's Avatar
 
Posts: 2,958
Karma: 2530531
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
BTW, the link to that info is MOBI (Format section)

Quite extensive information, thanks!
nrapallo is offline   Reply With Quote
 
Advertisement
Old 07-31-2008, 07:45 PM   #3
DMcCunney
New York Editor
DMcCunney ought to be getting tired of karma fortunes by now.DMcCunney ought to be getting tired of karma fortunes by now.DMcCunney ought to be getting tired of karma fortunes by now.DMcCunney ought to be getting tired of karma fortunes by now.DMcCunney ought to be getting tired of karma fortunes by now.DMcCunney ought to be getting tired of karma fortunes by now.DMcCunney ought to be getting tired of karma fortunes by now.DMcCunney ought to be getting tired of karma fortunes by now.DMcCunney ought to be getting tired of karma fortunes by now.DMcCunney ought to be getting tired of karma fortunes by now.DMcCunney ought to be getting tired of karma fortunes by now.
 
DMcCunney's Avatar
 
Posts: 5,186
Karma: 7350237
Join Date: Aug 2007
Device: Palm TX, Azpen A727 tablet, Fujitsu Lifebook p2110 w/ FBReader
Quote:
Originally Posted by pdurrant View Post
I couldn't find any summary of the Mobipocket file format anywhere. Mobipocket don't document it, and although there's abviously been some reverse engineering to allow the MobiPerl tools and the various Python scripts, the code seems to be the documentation.
Mobi actually does document it, but it takes a little digging on their site.
See http://www.mobipocket.com/dev/articl...mobiformat.htm
______
Dennis
DMcCunney is offline   Reply With Quote
Old 07-31-2008, 09:38 PM   #4
tompe
Grand Sorcerer
tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.
 
Posts: 7,149
Karma: 4337762
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Nexus 7, Nexus 5, iPad 2, Kindle PW
Quote:
Originally Posted by DMcCunney View Post
Mobi actually does document it, but it takes a little digging on their site.
See http://www.mobipocket.com/dev/articl...mobiformat.htm
______
Dennis
I do not consider that to be a documentation of the format since it does not specify record 0.

For MobiPerl the intention was that the code together with the comments in the code should be te documentation of my current understanding of the format (mostly the MobiPocket headers).
tompe is offline   Reply With Quote
Old 08-01-2008, 03:36 AM   #5
red_dragon
Member
red_dragon is on a distinguished road
 
Posts: 20
Karma: 50
Join Date: Jul 2008
Device: Bebook
Quote:
Originally Posted by nrapallo View Post
BTW, the link to that info is MOBI (Format section)

Quite extensive information, thanks!
This one is really helpfull! When I am back from vacation I will compare it with the information that I have found. Probably there will be nothing to add but one never knows...

If someone prefers C++ code over Perl or Python feel free to contact me (but expect a 2 weeks delay).
red_dragon is offline   Reply With Quote
Old 08-01-2008, 03:45 AM   #6
Ortep
Fanatic
Ortep has a complete set of Star Wars action figures.Ortep has a complete set of Star Wars action figures.Ortep has a complete set of Star Wars action figures.Ortep has a complete set of Star Wars action figures.Ortep has a complete set of Star Wars action figures.
 
Posts: 516
Karma: 470
Join Date: Sep 2007
Location: The Netherlands
Device: Kindle 3, Bebook
I read the wike and it looks great. At the end I saw:

Quote:
Please also notice that there is a 63KB internal limitation for images (this is a restriction of the Mobipocket .PRC format). GIFs have to be smaller than 63KB. You can use GIF optimization programs such as Ulead Smart Saver to get GIFs smaller than 63KB. (If images are bigger than 63KB, they are automatically resized to fit in the limit by MobiGEN but you might not like the result). Jpeg images will use a lower Quality setting to get the image size down without reducing the pixel size.
Perhaps it is nice to no for some people that the very popular fileviewer Irfanview is capable of saving jpg's with a fixed size. I use it all the time when I want to create books
Ortep is offline   Reply With Quote
Old 08-01-2008, 10:10 AM   #7
DMcCunney
New York Editor
DMcCunney ought to be getting tired of karma fortunes by now.DMcCunney ought to be getting tired of karma fortunes by now.DMcCunney ought to be getting tired of karma fortunes by now.DMcCunney ought to be getting tired of karma fortunes by now.DMcCunney ought to be getting tired of karma fortunes by now.DMcCunney ought to be getting tired of karma fortunes by now.DMcCunney ought to be getting tired of karma fortunes by now.DMcCunney ought to be getting tired of karma fortunes by now.DMcCunney ought to be getting tired of karma fortunes by now.DMcCunney ought to be getting tired of karma fortunes by now.DMcCunney ought to be getting tired of karma fortunes by now.
 
DMcCunney's Avatar
 
Posts: 5,186
Karma: 7350237
Join Date: Aug 2007
Device: Palm TX, Azpen A727 tablet, Fujitsu Lifebook p2110 w/ FBReader
Quote:
Originally Posted by Ortep View Post
Perhaps it is nice to no for some people that the very popular fileviewer Irfanview is capable of saving jpg's with a fixed size. I use it all the time when I want to create books
Irfanview is splendid, and I have it here. Another option is a free, open source application called Paint.net. It's intended to replace the Microsoft Photo Editor application offered as part of Office. It can be had here. (It requires the .NET 2.0 runtime, available from Windows Update.)
______
Dennis
DMcCunney is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Format mobipocket ? Nik Cybook 8 05-09-2010 06:43 AM
fictionwise and mobipocket format elsussman General Discussions 20 03-23-2010 02:34 PM
Mobipocket Format for Sony ? Bleuwhale Sony Reader 5 01-01-2009 07:32 AM
How do I rotate a mobipocket file? GatorDeb Workshop 7 10-08-2008 01:55 PM
Reading Mobipocket format rsperberg Workshop 4 05-23-2006 09:41 AM


All times are GMT -4. The time now is 01:24 PM.


MobileRead.com is a privately owned, operated and funded community.