Quote:
Originally Posted by JLius
And what's the benefit of png/gif images? The titlepages are black&white, only one letter has a color. No images, only text.
|
Long story short,
JPG = Lossy format
GIF/PNG = Lossless format
JPG compression was designed for "natural" images (photographs). It does HORRIBLY on "artificial" images (charts, graphs, text).
Here is a tiny portion of a real-life book I just worked on. (This is an extremely good example to show off just how much better PNG is in these cases).
You can clearly see the JPG Haloing which occurs around the text/lines:
Because of the JPG algorithm, instead of being Black + White, you get Black + White + various shades of gray speckles buffering the lines.
Here is the same image saved as PNG:
As you can see, there is actually only Black + White, and NOTHING else. Zero loss/deterioration from the original.
Stats on the Original Image:
Resolution: 1292px x 541px
Grayscale JPG (90 quality): 89.5 KB
2-color PNG: 9.34 KB
In Total, this book had 4 B/W drawings, which I compressed down to 35.2 KBs.
The equivalent Grayscale JPGs saved at 90 quality would have been ~314 KBs.
If you wanted to squeeze the JPG filesize smaller, you would have to use a lower quality rating, which means that the haloing will get even worse.
Quote:
Originally Posted by RbnJrg
|
Thanks for the links back to my posts.... I had an inkling those posts linked back to me before I clicked on them! haha
One of my favorite posts to also link to showing off the advantages of PNG is this post (showing off a real-life chart):
https://www.mobileread.com/forums/sho...5&postcount=26
There was also some discussion of Title Pages + Front Matter in this topic:
https://www.mobileread.com/forums/sho...d.php?t=228927
I personally would recommend against a bitmap image as the Title Page, because it does not/will not scale well, and does not follow user preferences.
SVG is probably the best choice if you want the Title Page to be "forced" all on one page..... but keep in mind that SVG support will be a mixed bag:
- You lose the possibility of scaling the font (if I recall in the examples I have seen)
- If you are creating this for conversion to Kindle, you may/may not get some problems (KF8 supports SVG, but the older MOBI format does not).
Quote:
Originally Posted by Jellby
You can still create SVG images. Convert the fonts into paths (inkscape can do that) and won't need to care about font embedding or licensing.
|
GrannyGrump posted a tutorial to show how to do this here:
https://www.mobileread.com/forums/sho...d.php?t=233131