Convert STW to PNG
Turn STW documents into PNG files. Each page is laid out as in the PDF and becomes one PNG, at 150 dpi unless dpi or width says otherwise.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop STW files on the dialor turn it to pick what to do
Each page of an STW template as a PNG.One PNG per page, laid out as in the PDF, at 150 dpi unless you set otherwise.
What you get
Each page of the template is laid out as in the PDF and becomes one PNG. A template with several pages gives you several files, one per page.
PNG is lossless and supports an alpha channel, which suits pages with sharp text and graphics. The default resolution is 150 dpi.
What can change
Fonts that are not installed are replaced by similar ones. This can move line breaks, so a line may wrap at a different word than in the original.
Size and pages
Set Resolution (dpi) to a value from 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.
Set Width (px) to give the exact width in pixels, from 1 to 20000. The height follows the aspect ratio unless you also give it, in which case the picture can be stretched.
Set Pages to convert only some pages, such as 1-3,7. Every page is read when it is left out.
STW 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 · 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.
- 03 · 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
OpenOffice.org 1.0 Text Template
A Writer template from OpenOffice.org 1.x and StarOffice 6 and 7.
- Extensions
- .stw
- MIME type
- application
/vnd .sun .xml .writer .template - Kind
- Documents
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 STW to PNG conversion through the API, for your app or your agent.
$ cv convert report.stw report/ --to png$ cv convert report.stw report/ --to pngQuestions.What people ask about STW to PNG.
One per page. Use Pages to limit which pages are converted.
150 dpi by default. Set Resolution (dpi) between 36 and 600, or set Width (px) for an exact width.
Mostly, but not always. Fonts that are not installed are replaced by similar ones, which can move line breaks.
Yes. resize PNG changes the size of the finished images.