|06-06-2013, 12:06 AM||#31|
Join Date: Dec 2012
Location: Shannon, Ireland today
Device: iPhone 5/iPad 1&2/Surface Pro/Kindle PW
I know it is a little backwards to set width with a "height value" (em), but it works.
|06-06-2013, 03:05 AM||#32|
Read, don't parrot.
Join Date: Apr 2011
Device: Kindle Fire, Kobo Touch, Aldiko for Android
You're right. Completely counterintuitive but it works. Changed the em value from height to width. The images don't skew anymore when up- or down-sized, though 6em does not actually translate into 6 lines of text; more like five. Will tweak.
|06-06-2013, 04:49 AM||#34|
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|06-06-2013, 07:51 AM||#35|
Join Date: Jul 2012
With black and white diagrams, the savings are even more pronounced than just these few color images (B&W/Grayscale/few colors compresses VERY well in PNG).
In this large project I am in the process of working on, I generated 175 very high quality (almost all were ~1200 px wide) PNGs of Tables/Charts/Diagrams. These compressed down to 9.10 MBs.
The equivalent 175 JPGs would be ~18 MBs (I just did a rough generation of JPGs from the original source). I could probably squeeze a few MBs out by optimizing the JPGs a little, but they will reach nowhere near 9.10 MBs.
JPG is a format built for "natural/photographic" images, and the algorithm is not the greatest when dealing with "artificial" type images.
When dealing with delivery fees and/or bandwidth costs for overly large book files, cutting needless MBs off of the book is very important!
|06-06-2013, 08:18 AM||#36|
Color me gone
Join Date: Apr 2008
Location: Central Oregon Coast
It would seem the most efficient would be some vector graphic format for such items, but I don't know how well they are supported.
|epub, frames, text box|
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Kindlet The operator >> is undefined for the argument type(s) float, float||twobob||Kindle Developer's Corner||10||09-05-2012 01:50 PM|
|Image overlayed over text (but text visible if image disabled)?||Kaylee Skylyn||ePub||5||08-01-2012 06:27 PM|
|Why is image left justified when I link to it?||steve2112||Kindle Developer's Corner||4||03-23-2012 03:53 AM|
|Gold box sale on K3 (Keyboard) Covers (2h 20m left)||Wasp Woman||Amazon Kindle||0||12-01-2011 07:42 PM|
|Left-justified text in a right-justified box||Skeezix||Conversion||4||11-15-2011 09:44 PM|