• sem@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    7
    ·
    8 days ago

    What is the smallest file size possible for a black PDF of this size? How about one with a solid color pattern, or a standard pattern?

    • Natanael@infosec.pub
      link
      fedilink
      English
      arrow-up
      11
      ·
      edit-2
      8 days ago

      Physical size is just a parameter, unless you insert formatting and stuff which needs to save data per page/region. Otherwise you can have just vector graphics of fixed data size which gets scaled on rendering to fit the physical limit.

        • schnurrito
          link
          fedilink
          arrow-up
          1
          ·
          7 days ago

          easy to do in svg, just start with something like <svg width=“SOME HUGE NUMBER” height=“SOME OTHER HUGE NUMBER”>, then <rect width=“SOME HUGE NUMBER” height=“SOME OTHER HUGE NUMBER” x=“0” y=“0” /> and you’re mostly done; a gradient or pattern requires more than that, but vector graphics don’t really care how large you say they are