When Typst will support TIFF and EPS images to import?

I can understand Typst is not currently supporting TIFF and EPS images to import as these formats are widely using for printing, then how we can use the images for printing?

For online, already having the supports of PNG, JPG/JPEG, GIF, SVG, but challenge is for printing

Hello @Raja,

Welcome to the forum!

The way to go seems to convert between EPS to/from SVG. Not sure about TIFF…

There is already a feature request about EPS, which you could up-vote or comment if you have a GitHub account:

I would suggest to open a similar request for TIFF if you have a good use case for it, otherwise convert TIFF to PNG, then import with Typst.

1 Like

Note that SVG does not support CMYK, also mentioned in the linked issue.

When I had to include CMYK logos in a document, I used PDF images. I don’t know what pitfalls there are in EPS/TIFF to PDF conversions (and what Typst does when exporting raster images to PDF, regardless in what format they were included), but the PDF route is likely more promising than the SVG route.

2 Likes

@ensko : could you please guide me to convert the EPS/TIFF into PDF, which you’re following currently?

Sorry, I should have been more explicit – I expect that to be the more promising route. The logos I have worked with were provided as pdf already, so I have not done any EPS/TIFF conversion myself… I mentioned it because your original post mentioned many image formats the are suitable for web, but notably skipped over pdf that’s also supported.

1 Like

yes i also think pdf is the route.

But i think there are maybe some problems with embedding of cmyk pdfs,
there is a merged pull request already in krilla Preserve page group of embedded PDFs (#410) · LaurenzV/krilla@e63d282

that krilla commit is newer as the typst 0.15.1 release and so i think it is not fixed yet…

see also Preserve page group of embedded PDFs by Hyperrick · Pull Request #410 · LaurenzV/krilla · GitHub

2 Likes

Thanks for the pointer, seems like my logo may have been mangled after all – well, seems it was good enough for that job at least :P but I hope this lands somewhat soon, implicit color space conversion sounds like a footgun for professional use cases…

1 Like