Convert CGM to JPG
Turn CGM documents into JPEG files. Each picture in the metafile becomes one JPEG, at 150 dpi and quality 90 unless asked otherwise.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop CGM files on the dialor turn it to pick what to do
CGM pictures as JPG files.Each picture in the metafile becomes one JPG, at 150 dpi and quality 90.
What you get
A JPG for each picture in the CGM file. A file with several pictures gives you several JPGs, such as one per page or sheet.
The pictures are drawn at 150 dpi and quality 90 unless you set other values. JPG is lossy, so some fine detail is lost to compression.
What changes
CGM is a vector format, and JPG is made of pixels. Each picture is drawn at a fixed resolution, so it no longer scales without loss.
Fonts that are not installed are replaced by similar ones. Text can look different from the original where this happens. JPG has no transparency.
Size and sharpness
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 Quality between 1 and 100. Higher keeps more detail and makes a bigger file. Above 90 the file grows quickly while the picture barely changes.
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. To change the size of a finished JPG, see resize JPG.
CGM and JPG.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 · quality
Quality
How much detail lossy compression keeps. Higher keeps more detail and makes a bigger file. Above 90 the file grows quickly while the picture barely changes.
1 to 100 default 90 - 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
Computer Graphics Metafile
The ISO vector picture format of technical manuals, CAD plots and old presentation programs, in its binary encoding.
- Extensions
- .cgm
- MIME type
- image
/cgm - Kind
- Documents
JPEG
Lossy photo compression that every device and browser opens. Small files, no transparency.
- Extensions
- .jpg .jpeg .jfif .jpe
- MIME type
- image
/jpeg - Kind
- Images
In your code.The same CGM to JPG conversion through the API, for your app or your agent.
$ cv convert report.cgm report/ --to jpeg$ cv convert report.cgm report/ --to jpegQuestions.What people ask about CGM to JPG.
No. Each picture in the metafile becomes its own JPG, so you can get one file per page or sheet.
150 dpi unless you set Resolution (dpi). The range is 36 to 600, and 300 is the usual choice for print.
Only if the fonts are installed. Fonts that are not installed are replaced by similar ones, so the text can look different.
Yes. Set Width (px) to the width you want. The height follows the aspect ratio unless you also give it.