Convert TEXTILE to PNG
Turn TEXTILE files into PNG files. Typeset in Libertinus Serif with code in DejaVu Sans Mono on A4 pages unless page_size says letter, with headings, lists, tables, code, quotes and footnotes, keeping every line break inside a paragraph as Textile does.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop TEXTILE files on the dialor turn it to pick what to do
Textile pages as PNG images.Each page of the typeset document becomes one PNG, at 150 dpi unless you set otherwise.
What you get
The Textile text is typeset on A4 pages in Libertinus Serif, with code in DejaVu Sans Mono. Headings, lists, tables, code, quotes and footnotes are all laid out. Every line break inside a paragraph is kept, as Textile does.
Each page becomes its own PNG, so a long document gives you several files. PNG is lossless and has an alpha channel.
What changes
Cell spans in tables are not kept. Images are not drawn either: each one becomes its description, written as text.
Size and pages
Set Page size to Letter for 8.5 × 11 in pages, or to auto so each page takes the size of its own content. The default is A4.
Set Resolution (dpi) between 36 and 600. Higher is sharper and makes a bigger file. Around 150 reads well on screen, and 300 is the usual choice for print. Set Width (px) to fix the exact width of the result. The height follows the aspect ratio unless you also give it, which can stretch the picture.
Set Pages to convert only some pages, such as 1-3,7. Every page is read when it is left out. To change the images afterward, see resize PNG or compress PNG.
TEXTILE 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 150 - 02 · page_size
Page size
The size of the pages written. A4 is the standard in most of the world and Letter in North America.
a4210 × 297 mm.letter8.5 × 11 in.autoEach page takes the size of its own content.
- 03 · 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.
- 04 · width
Width (px)
The exact width of the result in pixels. The height follows the aspect ratio unless it is also given, in which case the picture can be stretched.
1 to 20000
The formats
Textile
Textile markup, once common in Rails apps and Redmine.
- Extensions
- .textile
- MIME type
- text
/x -textile - 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 TEXTILE to PNG conversion through the API, for your app or your agent.
$ cv convert report.textile report/ --to png$ cv convert report.textile report/ --to pngQuestions.What people ask about TEXTILE to PNG.
Yes. Each page becomes one PNG, so a longer document gives more than one file.
They become their description, as text. The picture itself is not drawn.
Yes. Set Page size to Letter. A4 is the default, and auto sizes each page to its content.
No. Cell spans are not kept in the PNG pages.