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.

  1. 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.

  2. 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.

  3. 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.

  1. 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
  2. 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
  3. 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

From · CGM

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
To · JPG

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.

terminal
$ cv convert report.cgm report/ --to jpeg
$ cv convert report.cgm report/ --to jpeg

Questions.What people ask about CGM to JPG.

01OF 04

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.

More conversions.Other ways in and out of CGM and JPG.