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.

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.

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

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