Yikes, 118mb is going to be too much for an epub. We should definitely
lower the resolution of some of these images, and save them with higher
jpg compression if possible. You can also try running the SVGs through
svgo to compress them, though I don't know how much difference that
would make considering our requirements for SVG internal structure.
> * As discussed earlier in the thread, this contains images. 602 of
> them. These fit into either full-page colour JPGs, or inline
> woodblock SVGs. I’ve included all the images in each production with
> the exception of small titlepage decorative images, and those
> advertising other books in the series.
> * Each image had comprehensive alt text written for it. I added a
> “wat” role for myself, and we now lint for this if there’s alt text
> in the production.
> * The SVGs sometimes have different widths in the source material
> compared to the text width. I’ve defaulted them all to 100% width,
> and set alternative widths where appropriate. There’s also one book
> with floated images.
> * The colour JPGs have been tweaked where appropriate to get the best
> colours out of old prints and remove yellowing (to varying degrees
> of quality). I’ve also removed shadowing in corners where the image
> isn’t rectangular.
> * Each book typically has a dedication, which has been replicated as
> best as possible.
> * There’s a few other specific pieces of styling to match the books,
> notably the introduction of Peter Rabbit and siblings.
> * Built file size is 118MB 😅 I could investigate higher compression
> ratios for the images if this is deemed necessary.
> * I’ve reviewed typogrify: all the current recommended changes are
>>>>>> <mailto:
al...@standardebooks.org><mailto:
al...@standardebooks.org
>>>>>> <mailto:
al...@standardebooks.org>>> wrote:
>>>>>>
>>>>>> It's not a webkit problem, it's a CSS problem. There was no way in
>>>>>> CSS to achieve exactly what we want, given the constraint of
>>>>>> keeping the CSS ereader-friendly.
>>>>>>
>>>>>> On 11/21/22 2:54 PM, Vince wrote:
>>>>>>> Yes, you did work on it (around the time of /Negro Explorer at
>>>>>>> the South Pole/, which had similar issues), but neither the
>>>>>>> before or after worked in Books, which makes looking atboth
>>>>>>> books' illustrations on an iPad something of a bummer (probably
>>>>>>> others as well, I just haven’t read other SE books with
>>>>>>> illustrations). If it is a Books/WebKit problem, even if we can
>>>>>>> figure out something to do in build to workaround the issue like
>>>>>>> we do with a couple of other of their issues, it would be of
>>>>>>> great benefit to our readers.
>>>>>>>> On Nov 21, 2022, at 2:41 PM, Alex Cabal <
al...@standardebooks.org
>>>>>>>> <mailto:
al...@standardebooks.org><mailto:
al...@standardebooks.org
>>>>>>>> <mailto:
al...@standardebooks.org>><mailto:
al...@standardebooks.org
>>>>>>>> <mailto:
al...@standardebooks.org><mailto:
al...@standardebooks.org
>>>>>>>> <mailto:
al...@standardebooks.org>>>> wrote:
>>>>>>>>
>>>>>>>> I recall looking into it in depth at the time, because it also
>>>>>>>> occurred in Hull House. Back then I concluded there was no
>>>>>>>> better ereader-friendly CSS solution to the problem in the
>>>>>>>> general case - there just wasn't a way to size the caption first
>>>>>>>> and fill the rest of the viewport with the image without
>>>>>>>> overflowing the viewport. Flex/grid *may* have been able to
>>>>>>>> solve it but we can't rely on them in ereaders. Maybe Robin can
>>>>>>>> think of something.
>>>>>>>>
>>>>>>>> On 11/21/22 2:39 PM, Vince wrote:
>>>>>>>>> Yes, I ran into both of those with /Pillars of Wisdom/ last
>>>>>>>>> year, and never got back to looking at it. I didn’t/don’t know
>>>>>>>>> enough about image CSS (or, let’s be honest, CSS in general) to
>>>>>>>>> know whether the problem was with Books or with the CSS or
>>>>>>>>> both. (I have no other ereader to compare to.) Glad you’re on
>>>>>>>>> the case!
>>>>>>>>>> On Nov 21, 2022, at 1:37 PM, Robin Whittleton <
ro...@reala.net
>>>>>>>>>> <mailto:
ro...@reala.net><mailto:
ro...@reala.net
>>>>>>>>>> <mailto:
ro...@reala.net>><mailto:
ro...@reala.net
>>>>>>>>>> <mailto:
ro...@reala.net><mailto:
ro...@reala.net
>>>>>>>>>> <mailto:
ro...@reala.net>>> <mailto:
ro...@reala.net
>>>>> send an
emailtostandarde...@googlegroups.com
>>>>> <mailto:
tostandardeboo...@googlegroups.com><mailto:
standardebook...@googlegroups.com <mailto:
standardebook...@googlegroups.com>>.
>>>>> To view this discussion on the
>>>>> webvisithttps://
groups.google.com/d/msgid/standardebooks/F9B079C7-F38E-402D-8D10-208E445FB3A5%40letterboxes.org <visithttps://
groups.google.com/d/msgid/standardebooks/F9B079C7-F38E-402D-8D10-208E445FB3A5%40letterboxes.org><
https://groups.google.com/d/msgid/standardebooks/F9B079C7-F38E-402D-8D10-208E445FB3A5%40letterboxes.org?utm_medium=email&utm_source=footer <
https://groups.google.com/d/msgid/standardebooks/F9B079C7-F38E-402D-8D10-208E445FB3A5%40letterboxes.org?utm_medium=email&utm_source=footer>>.
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Standard Ebooks" group.
>>>> To unsubscribe from this group and stop receiving emails from it,
>>>> send an email
tostandardeboo...@googlegroups.com
>>>> <mailto:
standardebook...@googlegroups.com><mailto:
standardebook...@googlegroups.com <mailto:
standardebook...@googlegroups.com>>.
>>>> To view this discussion on the web
>>>> visithttps://
groups.google.com/d/msgid/standardebooks/486A1376-C694-4960-ADA0-3DE1DA8CD828%40reala.net <
https://groups.google.com/d/msgid/standardebooks/486A1376-C694-4960-ADA0-3DE1DA8CD828%40reala.net><
https://groups.google.com/d/msgid/standardebooks/486A1376-C694-4960-ADA0-3DE1DA8CD828%40reala.net?utm_medium=email&utm_source=footer <
https://groups.google.com/d/msgid/standardebooks/486A1376-C694-4960-ADA0-3DE1DA8CD828%40reala.net?utm_medium=email&utm_source=footer>>.
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Standard Ebooks" group.
>>> To unsubscribe from this group and stop receiving emails from it,
>>> send an email
tostandardeboo...@googlegroups.com
>>> visithttps://
groups.google.com/d/msgid/standardebooks/1953c549-7b70-abf0-4baf-c51c0e923ea8%40standardebooks.org <
https://groups.google.com/d/msgid/standardebooks/1953c549-7b70-abf0-4baf-c51c0e923ea8%40standardebooks.org>.
>>
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Standard Ebooks" group.
>> To unsubscribe from this group and stop receiving emails from it, send
>> an email to
standardebook...@googlegroups.com
>> <mailto:
standardebook...@googlegroups.com>.
>> To view this discussion on the web visit
>>
https://groups.google.com/d/msgid/standardebooks/3FC4E7B1-23D3-4387-9AFA-31FD3F247FF1%40reala.net <
https://groups.google.com/d/msgid/standardebooks/3FC4E7B1-23D3-4387-9AFA-31FD3F247FF1%40reala.net?utm_medium=email&utm_source=footer>.
>
https://groups.google.com/d/msgid/standardebooks/221C4B99-5519-4B57-AC44-A7D33D0816DE%40reala.net <
https://groups.google.com/d/msgid/standardebooks/221C4B99-5519-4B57-AC44-A7D33D0816DE%40reala.net?utm_medium=email&utm_source=footer>.