Devesprit.ImageProcessor & Devesprit.ImageServer
Getting Started Guide

Let's get started!

Now that the required references have been added, you can start coding.

If you have bought the Full Version, try to set your license code through the following function before any Devesprit.ImageProcessor call.

Set License Code
Copy Code
Devesprit.ImageProcessor.LicenseManager.SetLicense("Your License Code");

Now, create an Instance of ImageFactory class and load your file via Load method. Process your image using available processors and save it via Save method.

Instructions of each Image Processor is specific to that processor. You can find a complete list of all available processors here! 

Example
Copy Code
var imageFactory = new Devesprit.ImageProcessor.ImageFactory();
imageFactory.Load("Test.docx")
    .PageExtractor("1-5,10")
    .Resize(new Size(500, 800))
    .Watermark(new TextLayer() {Text = "Test"})
    .Format(new TiffFormat())
    .Save("Test.tiff");

 

ImageFactory Constructors
Copy Code
public ImageFactory(bool preserveExifData = false)
public ImageFactory(bool preserveExifData, bool fixGamma)