# Work with WebP Files

DsImaging is a Document Solutions product which offers a rich library for processing all popular image formats, without using any external image editor.

## Content

**WebP** is a modern and widespread image file format to showcase high-quality images without affecting website performance. This format is supported by most of the web browsers.
In DsImaging, you can load WebP images using **Load** method of the [GcBitmap](/document-solutions/dot-net-imaging-api/api/online/DS.Documents.Imaging/GrapeCity.Documents.Imaging.GcBitmap.html) class wherein you can load images from file, stream and byte arrays. You can also load an image by using constructor of the GcBitmap class. For details about loading images, see [Load Image](/document-solutions/dot-net-imaging-api/docs/online/features/loadimage).
To save an image to the WebP format, you can use [SaveAsWebp](/document-solutions/dot-net-imaging-api/api/online/DS.Documents.Imaging/GrapeCity.Documents.Imaging.GcBitmap.SaveAsWebp.html) method of the **GcBitmap** class.

```csharp
// Converting a JPG image to WEBP format
using var bmp = new GcBitmap();
bmp.Load("image.jpg");
bmp.SaveAsWebp("image.webp", null, false, 50);
```

**Limitations**

* Saving an image with transparency in lossy WebP format may result in a relatively large image file.
* Saving an image to lossless WebP format using high quality encoding may result in slow performance.