![]() |
#31 |
A Hairy Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,345
Karma: 20171571
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
Try setting the width:6em (instead of height) and leave height:auto (or remove it as auto is default).
I know it is a little backwards to set width with a "height value" (em), but it works. |
![]() |
![]() |
![]() |
#32 |
Read, don't parrot.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 224
Karma: 110242
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.
Well done. Thanks, Michelle |
![]() |
![]() |
Advert | |
|
![]() |
#33 |
A Hairy Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,345
Karma: 20171571
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
Yay!! Have fun!
![]() |
![]() |
![]() |
![]() |
#34 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,546
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
|
![]() |
![]() |
![]() |
#35 | ||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
Quote:
https://www.mobileread.com/forums/sho...5&postcount=26 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! |
||
![]() |
![]() |
Advert | |
|
![]() |
#36 |
Color me gone
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
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.
|
![]() |
![]() |
![]() |
Tags |
epub, frames, text box |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
The operator >> is undefined for the argument type(s) float, float | twobob | Kindle Developer's Corner | 10 | 09-05-2012 12:50 PM |
Image overlayed over text (but text visible if image disabled)? | Kaylee Skylyn | ePub | 5 | 08-01-2012 05:27 PM |
Why is image left justified when I link to it? | steve2112 | Kindle Developer's Corner | 4 | 03-23-2012 02:53 AM |
Gold box sale on K3 (Keyboard) Covers (2h 20m left) | Wasp Woman | Amazon Kindle | 0 | 12-01-2011 06:42 PM |
Left-justified text in a right-justified box | Skeezix | Conversion | 4 | 11-15-2011 08:44 PM |