Convert CGM to WEBP

Turn CGM documents into WEBP files. Each picture in the metafile becomes one WebP, 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

Each picture in a CGM file becomes a WebP.Drawn at 150 dpi and quality 90 unless you set otherwise.

  1. What you get

    Each picture in the metafile becomes one WebP, so a CGM with several pictures gives you several files. By default each is drawn at 150 dpi and saved at quality 90.

    WebP is a web image format with lossy and lossless modes. The vector drawing is turned into pixels, so the result is a picture to view, not a drawing to edit.

  2. What changes

    Fonts that are not installed are replaced by similar ones, so text can look a little different from the original.

    WebP holds at most 16383 pixels a side, so width stops there. A very large drawing at a high resolution is limited by that.

  3. Options

    Set Resolution (dpi) between 36 and 600. Around 150 reads well on screen, and 300 is the usual choice for print. Higher is sharper and makes a bigger file.

    Set Lossless to keep text edges exact. The result is identical to the input in pixels where the format can, and much bigger than a lossy one.

    Lower Quality, from 1 to 100, to keep less detail. Above 90 the file grows quickly while the picture barely changes. Set Width (px) to give the exact width in 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 WebP later, see resize WEBP.

CGM and WEBP.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 · lossless

    Lossless

    Encodes without losing anything where the format can. The result is identical to the input in pixels or samples, and much bigger than a lossy one.

  3. 03 · 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
  4. 04 · 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 16383

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 · WEBP

WebP

Google's web image format with lossy and lossless modes, alpha and animation. Smaller than JPEG and PNG.

Extensions
.webp
MIME type
image/webp
Kind
Images

In your code.The same CGM to WEBP conversion through the API, for your app or your agent.

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

Questions.What people ask about CGM to WEBP.

01OF 04

One WebP for each picture in the metafile. A CGM with a single picture gives one file.

Set Lossless to keep text edges exact. Raising Resolution (dpi) also makes the picture sharper.

WebP holds at most 16383 pixels a side, so Width (px) goes up to 16383 and no further.

Fonts that are not installed are replaced by similar ones. The text is drawn in the replacement.

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