On Tue, Oct 25, 2022 at 09:39:05PM +0200, Patrice Dumas wrote: > On Tue, Oct 25, 2022 at 08:10:31PM +0100, Gavin Smith wrote: > > > > The large image directories near the bottom of the list also caused > > concern. It seems like an easy win to shrink > > > > ./tests/formatting/out_parser/non_ascii_test_epub/osé_utf8_epub_package/EPUB/images/1-an_image.png > > > > and some other files. The current size is 517 kB. Shrinking these > > would save a few megabytes when uncompressed. > > Regarding that image file, I do not see anything in the logs, but my > recalling -- which may be incorrect -- is that the usual empty image > files that are used in the tests was not the best, maybe because > of epubcheck, and maybe because of a check of matching file mimetype and > actual file. > > In any case, it could be a much smaller file.
I shrank it by a factor of about 10 and it made an immediate difference to the size of the tarball. I assume that .png files do not compress much more when placed inside an .xz file.
