• Labna@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    ·
    1 month ago

    Because, PDF is a container, like a fancy zip, the pictures saved in are kept in their original format, (JPEG, PNG/APNG, AVIF, GIF, JP2k, JPXL, BMP…) unless you add a step to re-compress the all document with image.
    It’s always slightly bigger than the original file.

    • gandalf_der_12te@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 month ago

      interesting. but what if i want to make a mixture of vector graphics with a small portion raster graphics. the PDF would probably be smallest, because it will store all the vector graphics as vector graphics and only the small part raster graphics as raster graphics.