Convert TYPST to PNG
Turn TYPST files into PNG files. Each page becomes one PNG at 144 dpi unless dpi says otherwise, every page unless pages picks some.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop TYPST files on the dialor turn it to pick what to do
Typst pages as PNG images.Each page becomes one PNG at 144 dpi, unless you pick another resolution.
What you get
One PNG for every page of the Typst document. The output is one or more files, one per page, so a three-page document gives three images.
PNG is lossless and has an alpha channel, which suits graphics with sharp edges such as text and diagrams.
Choose pages and resolution
Every page is converted when Pages is left out. Set Pages to single pages and ranges separated by commas, such as 1-3,7, to convert only those.
Resolution (dpi) sets how many pixels each inch of the page becomes. The default is 144, and the range is 36 to 600. Higher is sharper and makes a bigger file. Around 150 reads well on screen, and 300 is the usual choice for print.
What stops a conversion
A document that loads images, data files or packages is refused. The conversion stops with
unsupported_elementswhen the file holds something PNG cannot carry.The conversion stops with
input_corruptedwhen the file could not be parsed. The source is not valid Typst that can be read.After converting, you can resize PNG or compress PNG images.
TYPST and PNG.What each format is, and the options this conversion takes.
- 01 · dpi
Resolution (dpi)
How many pixels each inch of the page becomes when it is drawn as a picture. Higher is sharper and makes a bigger file. Around 150 reads well on screen, and 300 is the usual choice for print.
36 to 600 default 144 - 02 · pages
Pages
Converts only some pages. Write single pages and ranges separated by commas, such as 1-3,7. Every page is read when it is left out.
The formats
Typst
Typst source, a modern typesetting language that compiles to PDF in milliseconds.
- Extensions
- .typ
- MIME type
- text
/x -typst - Kind
- Text and data
PNG
Lossless raster images with an alpha channel. Screenshots, icons and graphics with sharp edges.
- Extensions
- .png
- MIME type
- image
/png - Kind
- Images
In your code.The same TYPST to PNG conversion through the API, for your app or your agent.
$ cv convert report.typ report/ --to png$ cv convert report.typ report/ --to pngQuestions.What people ask about TYPST to PNG.
Yes. Each page becomes one PNG, unless you set Pages to pick only some of them.
144 dpi by default. Set Resolution (dpi) to any value from 36 to 600.
No. A document that loads images, data files or packages is refused.
The file could not be parsed. The conversion stops with input_corrupted when the Typst source cannot be read.