Convert Between Images and Other Document Formats

Convert Word to JPG, JPG to PDF, as well as other image and document formats between each other, using the simple and powerful Wordize tool.

Wordize supports a wide range of popular image formats for both input and output. The full list of formats is available on the Supported Document Formats page. Image formats are listed in the Wordize Core for .NET and Wordize Rendering for .NET modules.

When an image is used as an input file, Wordize internally represents it as a single-page document (or as a multi-page document for multi-frame TIFF files), where each page is entirely occupied by the image.

We will look at popular image conversion scenarios.

Convert Word to Image

Converting Word documents to images with Wordize is very easy. However, it is important to keep in mind that if you plan to convert a multi-page document to an image, each page of the document will be saved as a separate image by default.

The following code example shows how to convert DOCX to JPG:

Converter.Convert("DocumentIn.docx", "DocumentOut.jpg");

You can also convert DOCX to JPG using the Fluent API:

Converter.Create()
    .From("DocumentIn.docx")
    .To("DocumentOut.jpg")
    .Execute();

This example is great for situations where you only need the first page or when you are converting a single-page document. To save a multi-page document to a raster image, see page Save a Multi-Page Document as a Single Image.

Convert Image to PDF

It is simple to convert images to PDF using Wordize. Just specify the input image and save the result as a PDF.

The following code example shows how to convert JPG to PDF:

Converter.Convert("DocumentIn.jpg", "DocumentOut.pdf");

You can also convert images, including multi-frame TIFF, to PDF using the Fluent API:

Converter.Create()
    .From("MultiFrameIn.tiff")
    .To("DocumentOut.pdf")
    .Execute();