How to open a WebP image in FastReport .NET

2023-05-25

How to open a WebP image in FastReport .NET

WebP is a file format developed by Google in 2010. Its feature is an advanced compression algorithm that allows you to reduce the image size without visible quality loss.

Starting from version 2023.2.14, FastReport .NET has a plugin that allows opening images in the WebP format. It extends the opportunities of the PictureObject object, which means that this image can be opened from the PictureObject editor or uploaded from code.

First, you need to build the project:

С:\Program Files (x86)\FastReports\FastReport.Net\Extras\Core\FastReport.Plugin\FastReport.Plugins.WebP

After building the project, you need to add the plugin to the application in one of two ways.

Method 1. Add a plugin through the designer:

Adding the plugin

Method 2. Add the plugin as a dependency when starting the project and register it in the code with the following command:

new FastReport.Plugins.WebPAssemblyInitializer();

It is important to note that FastReport.Skia supports the WebP format without a plugin. In some situations, it may be necessary to use other versions of the SkiaSharp.NativeAssets package. In such cases, the project must be built from the source code itself.

Note: the plugin converts the image from the WebP format to a PNG picture, which is already used by the PictureObject.

The uploaded image in the designer will be displayed as follows:

Open WebP in the designer

August 12, 2024

How to build and install the Postgres plugin in FastReport .NET

This article describes how to connect to the database using the FastReport .NET plugin for the report designer from Visual Studio via the NuGet server.
August 08, 2024

How to install FastReport .NET and its components on Windows

Step-by-step instructions for online and manual installation via the FastReport registration code.NET and its components in Windows.
July 26, 2024

Updating HTMLObject as a plugin for FastReport .NET

Detailed instructions for using the new HTMLObject plugin, which uses splitting DOM HTML into FastReport report objects.
Fast Reports
  • 800-985-8986 (English, US)
  • +4930568373928 (German)
  • +55 19 98147-8148 (Portuguese)
  • info@fast-report.com
  • 901 N Pitt Str #325 Alexandria VA 22314

© 1998-2024 Fast Reports Inc.