How to reduce image resolution during export?

Hi. I am writing a scientific paper with a lot of hi resolution images. Those images are placed in a grid with different cell ratios, so some images can appear larger than the others, but originally all of them are big and hi rez.

Is it possible to optimize the generated pdf size, so that embedded images would be “downsampled” according to their effective ratio?

Hi. I don’t think so. If there was a package that can manipulate images, then it would’ve been possible. Now you can only change output resolution for the PNG export or by manually resizing pixel data in Typst. You can open a feature request.

1 Like