Convert DOTM to PNG
Turn DOTM documents into PNG files. Each page is laid out as in the PDF, without running the macros, 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 DOTM files on the dialor turn it to pick what to do
One PNG for each page of a DOTM template.Each page is drawn as it is laid out in the PDF, at 150 dpi unless you change it.
What you get
Each page of the template becomes one PNG. The macros are not run, so the file is drawn as a page and nothing in it is executed.
Empty content controls show their placeholder text.
What can change
Fonts that are not installed are replaced by similar ones. This can move line breaks, so a line may wrap in a different place than it does on a machine that has the original font.
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 result an exact width from 1 to 20000 pixels. 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. To change the size of the PNGs afterward, try resize PNG.
DOTM 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
Word Macro-Enabled Template
A Word template with macros enabled, such as Normal.dotm. New documents start from it.
- Extensions
- .dotm
- MIME type
- application
/vnd .ms -word .template .macroEnabled .12 - 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 DOTM to PNG conversion through the API, for your app or your agent.
$ cv convert report.dotm report/ --to png$ cv convert report.dotm report/ --to pngQuestions.What people ask about DOTM to PNG.
No. The pages are laid out without running the macros.
One PNG for each page that is converted. Set Pages to limit which pages are drawn.
Fonts that are not installed are replaced by similar ones. That can move line breaks.
Yes. Set Resolution (dpi) higher. Around 300 is the usual choice for print.