Convert DOCM to PNG
Turn DOCM 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 DOCM files on the dialor turn it to pick what to do
Each page of a DOCM as a PNG.Macros do not run. Every page is drawn as its own picture.
What you get
One PNG for each page of the document. Each page is laid out as in the PDF, and the macros in the file are not run.
The pages come out at 150 dpi unless you change it. Set Resolution (dpi) for a different sharpness, from 36 to 600. Around 150 reads well on screen, and 300 is the usual choice for print. Higher is sharper and makes a bigger file.
Choosing pages and size
Set Pages to convert only some pages. Write single pages and ranges separated by commas, such as 1-3,7. Every page is read when Pages is left out.
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.
What can change
Fonts that are not installed are replaced by similar ones. This can move line breaks, so a page may break its lines in other places than it does on the machine that wrote it.
A file that cannot be parsed stops the conversion with
input_corrupted.
DOCM 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 Document
A Word document with macros enabled.
- Extensions
- .docm
- MIME type
- application
/vnd .ms -word .document .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 DOCM to PNG conversion through the API, for your app or your agent.
$ cv convert report.docm report/ --to png$ cv convert report.docm report/ --to pngQuestions.What people ask about DOCM to PNG.
No. The pages are laid out without running the macros.
One for each page that is converted. Set Pages to limit which pages are used.
150 dpi unless you set Resolution (dpi) or Width (px) to something else.
The file could not be parsed, so the conversion stops. No PNG is made from it.