Enum HtmlSaveOptions.RasterImagesSavingModes

HtmlSaveOptions.RasterImagesSavingModes enumeration

Converted PDF can contain raster images(.png, *.jpeg etc.) This enum defines methods of how raster images can be handled during conversion of PDF to HTML

public enum RasterImagesSavingModes

Values

NameValueDescription
AsPngImagesEmbeddedIntoSvg0for each distinct raster file will be generated wrapper SVG image, and raster image will be embedded as Base64 encoded strings into that SVG image
AsExternalPngFilesReferencedViaSvg1distinct raster images will be put apart as PNG files but will be referenced through wrapping SVG images, i.e. will be generated one PNG file and one SVG for each raster image, and each of such SVGs will contain links to relevant PNG file
AsEmbeddedPartsOfPngPageBackground2Will be generated one big PNG background file for each result page. Raster images will be embedded into that file and rendered as regions of that image. No external PNG files for each image will be generated, only one PNG file per page will be present in conversion result set of files.

See Also