Meziantou.Framework.WebPlatform.Imaging namespace

Classes

NameDescription
ImagingPrintExtensionsPrints the documents of a browsing context into pages (https://drafts.csswg.org/css-page-3/): the document is laid out with the print media type and paginated (the page size, margins and page names of the @page rules, the page breaks), and each page is rendered into its own image.
ImagingRenderingBackendA fully managed RenderingBackend: set it as the BrowsingContextOptions.RenderingBackend of a browsing context to rasterize its documents (see ImagingScreenshotExtensions to take screenshots), to draw its canvases and to decode its images. The display lists are drawn, and the images are decoded and encoded, by Meziantou.Framework.Imaging (no native library).
ImagingRenderingBackendOptionsOptions of an ImagingRenderingBackend: the quality of the rasterization. The rasterizer is fully managed: the same options give the same pixels on every platform, so that screenshots can be compared across machines.
ImagingScreenshotExtensionsTakes screenshots of the documents of a browsing context: the viewport of a browsing context or of a document, or the area of an element (its border box, as getBoundingClientRect()), at the device pixel ratio of the viewport.
ScreenshotOptionsOptions of a screenshot (see ImagingScreenshotExtensions).

Structs

NameDescription
ScreenshotClipAn area of a screenshot (see ScreenshotOptions.Clip), in CSS pixels.