Interface IImageProcessor
- Namespace
- Rustaveli.Pdf
- Assembly
- Rustaveli.Pdf.dll
Re-encodes images for embedding: scales them to the pixels they are shown at and compresses them at a quality.
The core embeds images as they are; a processor, such as SkiaImageProcessor in the Raster package, is
only needed when an image or the export asks for a quality or a maximum resolution.
public interface IImageProcessor
Methods
Process(ImageProcessing)
The image request describes, the right way up, re-encoded as a PNG or JPEG of the pixels asked
for.
byte[] Process(ImageProcessing request)
Parameters
requestImageProcessing
Returns
- byte[]