Quote:
Originally Posted by Sarmat89
I'm trying to convert an EPUB file to the FB2 format. All PNG images are converted into JPEG for some reason.
|
I was under the impression that a FB2 ebook file stored images as Base64 encoded blobs. Personally, I was not impressed the one time I converted some epubs to fb2 for a friend. A simple epub with 7 or 8 full page images went from 12.8MiB to 207.4Mib.
Just looked at that old conversion and the Base64 images show as:
6 as <binary id="img_
5" content-type="image/png"> ... </binary>
2 as <binary id="img_
0" content-type="image/jpeg"> ... </binary>
The original images are 1 GIF, 1 TIFF, 4 PNG and 2 JPEG ( 1 of the jpegs is in an svg wrapper). The bolded number varies from 0 to 7.