Image Converter

The Sheetize Image Converter for .NET lets developers transform documents from many source formats into several image types, making it ideal for generating previews, archiving visually, or producing graphics directly from data files.

Supported Input Formats

Xlsx, Xlsb, Xlsm, Xltm, Xlam, Excel97To2003, Excel95, SpreadsheetML, Xlt, Csv, Tsv, SqlScript, Dif, Xml, Epub, Azw3, Html, MHtml, Json

Supported Output Image Types

Bmp, Png, Jpeg, Gif, Tiff, Svg, Emf

Key Benefits

  • Convert spreadsheets, text, markup, and e‑book files to raster or vector images.
  • Choose the desired image format, DPI, and quality through a single options object.
  • Streamline workflows such as thumbnail generation, document‑to‑image pipelines, and visual content creation.

Typical Use Cases

  • Producing low‑resolution previews for large spreadsheets.
  • Archiving reports as PNG or TIFF files for compliance.
  • Embedding documents as images in web pages or PDFs.

Step‑by‑Step Conversion Guide

Example: Turning an XLSX into a JPEG

  1. Create the Converter – Initialize the ImageConverter class.
  2. Set Conversion Options – Use ImageSaveOptions to pick the output image type, DPI, and compression level.
  3. Provide File Paths – Indicate where the source file lives and where the resulting image should be saved.
  4. Execute – Call Process with the prepared options.

Sample – XLSX → JPEG

var loadOptions = new Sheetize.LoadOptions
{
    InputFile = "D:\\Input.xlsx", // any supported input format listed above can be used here
};

var saveOptions = new ImageSaveOptions
{
    ImageType   = ImageType.Jpeg,
    OutputFile  = "D:\\Output.jpeg",
    // optional: set DPI, quality, background color, etc.
};

ImageConverter.Process(loadOptions, saveOptions);

By leveraging the flexible input list and the extensive set of image outputs, developers can integrate Sheetize Image Converter into almost any .NET application that needs to render documents as pictures.

 English