Convert OTG to PNG
Turn OTG documents into PNG files. Each drawing page becomes one PNG, at 150 dpi unless dpi or width says otherwise.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop OTG files on the dialor turn it to pick what to do
One PNG for each page of your drawing.Each page of the OTG drawing becomes its own PNG, at 150 dpi unless you set otherwise.
What you get
A PNG image for every drawing page in the template. PNG is lossless and has an alpha channel, which suits graphics with sharp edges.
The pages are drawn at 150 dpi unless Resolution (dpi) or Width (px) says otherwise. A template with several pages gives you several files.
What changes
Fonts that are not installed are replaced by similar ones, so text can be set in a different font from the one the template names.
The template is drawn as a picture. The result is a set of images, not an editable drawing.
Size and pages
Set Resolution (dpi) to a value from 36 to 600. A higher value 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 result an exact width, from 1 to 20000 pixels. The height follows the aspect ratio unless you also give it, and then 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. To change the images afterward, try resize PNG.
OTG 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
OpenDocument Drawing Template
A LibreOffice Draw template. New drawings start from a copy of it.
- Extensions
- .otg
- MIME type
- application
/vnd .oasis .opendocument .graphics -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 OTG to PNG conversion through the API, for your app or your agent.
$ cv convert report.otg report/ --to png$ cv convert report.otg report/ --to pngQuestions.What people ask about OTG to PNG.
One for each drawing page. Set Pages to limit which pages are converted.
150 dpi unless you set Resolution (dpi) or Width (px). Resolution (dpi) accepts 36 to 600.
Only if they are installed. Fonts that are not installed are replaced by similar ones.
Yes. Set Width (px) to the width you want. The height follows the aspect ratio unless you give it too.