Skip to content

pdfcompresslevel=0 causes order of magnitude growth under pdflatex #20

@jweiskoff

Description

@jweiskoff

As reported to arXiv, users who have submitted from the CVPR conference have noted an order of magnitude growth in file sizes. This seems to be caused by the pdfcompresslevel=0 variable on line 349. The result of this is that png and jpg files are then uncompressed at compile time, resulting in the aforementioned file growth. Compare the pdf sizes reported through curl:

$ curl -I https://arxiv.org/pdf/2203.13903v1.pdf
HTTP/1.1 200 OK
Date: Thu, 07 Apr 2022 17:12:53 GMT
Server: Apache
Strict-Transport-Security: max-age=31536000
Set-Cookie: browser=10.17.39.130.1649351573977525; path=/; max-age=946080000; domain=.arxiv.org
Last-Modified: Tue, 29 Mar 2022 01:08:42 GMT
ETag: "16c75128-17c72166-5db5111df71dc"
Accept-Ranges: bytes
Content-Length: 398926182
Access-Control-Allow-Origin: *
Content-Type: application/pdf

against:

$ curl -I https://arxiv.org/pdf/2203.13903.pdf
HTTP/1.1 200 OK
Date: Thu, 07 Apr 2022 17:13:49 GMT
Server: Apache
Strict-Transport-Security: max-age=31536000
Set-Cookie: browser=10.17.39.130.1649351629944306; path=/; max-age=946080000; domain=.arxiv.org
Last-Modified: Wed, 06 Apr 2022 00:29:03 GMT
ETag: "16ca451e-36389c-5dbf172d4e362"
Accept-Ranges: bytes
Content-Length: 3553436
Access-Control-Allow-Origin: *
Content-Type: application/pdf

the difference between the two versions is the removal of the axcessibility package.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions