Devesprit.ImageProcessor & Devesprit.ImageServer
Processing.Config

This file contains image processors' settings.

Note: Only the following processors are enabled by default, and you can use them in QueryString:

To enable other processors, you must add the following attribute to your desired processors:

enabled="true"

You can create your own processors implementing IGraphicsProcessor and IWebGraphicsProcessor interfaces and define them in this file. Also you can create and use your own QueryStrings in Preset section inside the Processing.Config file.

Processing.Config File Path:

%Your Website Root Folder%\config\imageprocessor\Processing.Config

The Contents of Processing.Config:

Processing.Config
Copy Code
<?xml version="1.0" encoding="utf-8"?>
<!--interceptAllRequests - To allow intercepting requests with no query string.-->
<!--allowCacheBuster - To allow common cache busting query string parameters "v" and "rnd".-->
<processing preserveExifMetaData="false" fixGamma="false" interceptAllRequests="false" allowCacheBuster="true">
  <presets>
    <!--
    Demo: Presets that allow you to reduce code in your markup.
    Note the use of &#038; to escape ampersands.
    When allowUseMultiple set to false, preset can used only one time in each query string.
  
    <preset name="demo" allowUseMultiple="false" value="width=500&#038;height=500&#038;mode=max"/>
    -->
  </presets>
  <plugins>
    <plugin name="Alpha" type="Devesprit.ImageServer.Processors.Alpha, Devesprit.ImageServer"/>
    <plugin name="AutoRotate" type="Devesprit.ImageServer.Processors.AutoRotate, Devesprit.ImageServer" enabled="true"/>
    <plugin name="BackgroundColor" type="Devesprit.ImageServer.Processors.BackgroundColor, Devesprit.ImageServer" enabled="true"/>
    <plugin name="Brightness" type="Devesprit.ImageServer.Processors.Brightness, Devesprit.ImageServer"/>
    <plugin name="Contrast" type="Devesprit.ImageServer.Processors.Contrast, Devesprit.ImageServer"/>
    <plugin name="Crop" type="Devesprit.ImageServer.Processors.Crop, Devesprit.ImageServer" enabled="true"/>
    <plugin name="DetectEdges" type="Devesprit.ImageServer.Processors.DetectEdges, Devesprit.ImageServer"/>
    <plugin name="EntropyCrop" type="Devesprit.ImageServer.Processors.EntropyCrop, Devesprit.ImageServer"/>
    <plugin name="Filter" type="Devesprit.ImageServer.Processors.Filter, Devesprit.ImageServer"/>
    <plugin name="Flip" type="Devesprit.ImageServer.Processors.Flip, Devesprit.ImageServer"/>
    <plugin name="Format" type="Devesprit.ImageServer.Processors.Format, Devesprit.ImageServer" enabled="true"/>
    <plugin name="GaussianBlur" type="Devesprit.ImageServer.Processors.GaussianBlur, Devesprit.ImageServer">
      <settings>
        <setting key="MaxSize" value="22"/>
        <setting key="MaxSigma" value="5.1"/>
        <setting key="MaxThreshold" value="100"/>
      </settings>
    </plugin>
    <plugin name="GaussianSharpen" type="Devesprit.ImageServer.Processors.GaussianSharpen, Devesprit.ImageServer">
      <settings>
        <setting key="MaxSize" value="22"/>
        <setting key="MaxSigma" value="5.1"/>
        <setting key="MaxThreshold" value="100"/>
      </settings>
    </plugin>
    <plugin name="Halftone" type="Devesprit.ImageServer.Processors.Halftone, Devesprit.ImageServer"/>
    <plugin name="Hue" type="Devesprit.ImageServer.Processors.Hue, Devesprit.ImageServer"/>
    <plugin name="Mask" type="Devesprit.ImageServer.Processors.Mask, Devesprit.ImageServer">
      <settings>
        <setting key="VirtualPath" value="~/images/imageprocessor/mask/"/>
      </settings>
    </plugin>
    <plugin name="Meta" type="Devesprit.ImageServer.Processors.Meta, Devesprit.ImageServer"/>
    <plugin name="Overlay" type="Devesprit.ImageServer.Processors.Overlay, Devesprit.ImageServer">
      <settings>
        <setting key="VirtualPath" value="~/images/imageprocessor/overlay/"/>
      </settings>
    </plugin>
    <plugin name="PageExtractor" type="Devesprit.ImageServer.Processors.PageExtractor, Devesprit.ImageServer"/>
    <plugin name="Pixelate" type="Devesprit.ImageServer.Processors.Pixelate, Devesprit.ImageServer"/>
    <plugin name="Quality" type="Devesprit.ImageServer.Processors.Quality, Devesprit.ImageServer" enabled="true"/>
    <plugin name="ReplaceColor" type="Devesprit.ImageServer.Processors.ReplaceColor, Devesprit.ImageServer"/>
    <plugin name="Resize" type="Devesprit.ImageServer.Processors.Resize, Devesprit.ImageServer" enabled="true">
      <settings>
        <setting key="MaxWidth" value="5000"/>
        <setting key="MaxHeight" value="5000"/>
      </settings>
    </plugin>
    <plugin name="Rotate" type="Devesprit.ImageServer.Processors.Rotate, Devesprit.ImageServer"/>
    <plugin name="RotateBounded" type="Devesprit.ImageServer.Processors.RotateBounded, Devesprit.ImageServer"/>
    <plugin name="RoundedCorners" type="Devesprit.ImageServer.Processors.RoundedCorners, Devesprit.ImageServer"/>
    <plugin name="Saturation" type="Devesprit.ImageServer.Processors.Saturation, Devesprit.ImageServer"/>
    <plugin name="Tint" type="Devesprit.ImageServer.Processors.Tint, Devesprit.ImageServer"/>
    <plugin name="Vignette" type="Devesprit.ImageServer.Processors.Vignette, Devesprit.ImageServer"/>
    <plugin name="Watermark" type="Devesprit.ImageServer.Processors.Watermark, Devesprit.ImageServer"/>
    <!--BarcodeOverlay - To use BarcodeOverlay, uncomment below section -->
    <!--
    <plugin name="BarcodeOverlayWeb" type="Devesprit.ImageServer.Processors.BarcodeOverlayWeb, Devesprit.ImageProcessor.Barcode">
      <settings>
        <setting key="Default.BarcodeType" value="QR" />
        <setting key="Default.ShowCode" value="false" />
        <setting key="Default.FontFamily" value="Tahoma" />
        <setting key="Default.FontStyle" value="Regular" />
        <setting key="Default.FontSize" value="10" />
        <setting key="Default.BackgroundColor" value="fff" />
        <setting key="Default.ForegroundColor" value="000" />
        <setting key="Default.Opacity" value="100" />
        <setting key="Default.BarWidth" value="0" />
        <setting key="Default.BarHeight" value="0" />
        <setting key="Default.CaptionBelow" value="" />
        <setting key="Default.CaptionAbove" value="" />
        <setting key="Default.RotationAngle" value="0" />
        <setting key="Default.Position" value="" />
        <setting key="Default.Margins" value="1,1,1,1" />
      </settings>
    </plugin>
    -->
   
    <!--Advanced Effects - To use advanced effects, uncomment below section -->
    <!--
    <plugin name="MuseumMatteFrameEffectWeb" type="Devesprit.ImageProcessor.Plugins.AdvancedEffects.MuseumMatteFrameEffectWeb, Devesprit.ImageProcessor.Plugins.AdvancedEffects">
      <settings>
        <setting key="VirtualPath" value="~/images/imageprocessor/fill/"/>
      </settings>
    </plugin>
    <plugin name="PerspectiveViewEffectWeb" type="Devesprit.ImageProcessor.Plugins.AdvancedEffects.PerspectiveViewEffectWeb, Devesprit.ImageProcessor.Plugins.AdvancedEffects" />
    <plugin name="PerspectiveShadowEffectWeb" type="Devesprit.ImageProcessor.Plugins.AdvancedEffects.PerspectiveShadowEffectWeb, Devesprit.ImageProcessor.Plugins.AdvancedEffects" />
    <plugin name="PerspectiveReflectionEffectWeb" type="Devesprit.ImageProcessor.Plugins.AdvancedEffects.PerspectiveReflectionEffectWeb, Devesprit.ImageProcessor.Plugins.AdvancedEffects" />
    <plugin name="ScaleWeb" type="Devesprit.ImageProcessor.Plugins.AdvancedEffects.ScaleWeb, Devesprit.ImageProcessor.Plugins.AdvancedEffects" />
    <plugin name="SkewWeb" type="Devesprit.ImageProcessor.Plugins.AdvancedEffects.SkewWeb, Devesprit.ImageProcessor.Plugins.AdvancedEffects" />
    <plugin name="StretchWeb" type="Devesprit.ImageProcessor.Plugins.AdvancedEffects.StretchWeb, Devesprit.ImageProcessor.Plugins.AdvancedEffects" />
    <plugin name="MailStampEffectWeb" type="Devesprit.ImageProcessor.Plugins.AdvancedEffects.MailStampEffectWeb, Devesprit.ImageProcessor.Plugins.AdvancedEffects">
      <settings>
        <setting key="VirtualPath" value="~/images/imageprocessor/fill/"/>
      </settings>
    </plugin>
    <plugin name="FocalTintEffectWeb" type="Devesprit.ImageProcessor.Plugins.AdvancedEffects.FocalTintEffectWeb, Devesprit.ImageProcessor.Plugins.AdvancedEffects">
      <settings>
        <setting key="VirtualPath" value="~/images/imageprocessor/fill/"/>
      </settings>
    </plugin>
    <plugin name="FocalPixelateEffectWeb" type="Devesprit.ImageProcessor.Plugins.AdvancedEffects.FocalPixelateEffectWeb, Devesprit.ImageProcessor.Plugins.AdvancedEffects">
      <settings>
        <setting key="VirtualPath" value="~/images/imageprocessor/fill/"/>
      </settings>
    </plugin>
    <plugin name="FocalSoftenEffectWeb" type="Devesprit.ImageProcessor.Plugins.AdvancedEffects.FocalSoftenEffectWeb, Devesprit.ImageProcessor.Plugins.AdvancedEffects">
      <settings>
        <setting key="VirtualPath" value="~/images/imageprocessor/fill/"/>
      </settings>
    </plugin>
    <plugin name="FocalGrayscaleEffectWeb" type="Devesprit.ImageProcessor.Plugins.AdvancedEffects.FocalGrayscaleEffectWeb, Devesprit.ImageProcessor.Plugins.AdvancedEffects">
      <settings>
        <setting key="VirtualPath" value="~/images/imageprocessor/fill/"/>
      </settings>
    </plugin>
    <plugin name="DistortCornersEffectWeb" type="Devesprit.ImageProcessor.Plugins.AdvancedEffects.DistortCornersEffectWeb, Devesprit.ImageProcessor.Plugins.AdvancedEffects" />
    <plugin name="DecorativeBorderEffectWeb" type="Devesprit.ImageProcessor.Plugins.AdvancedEffects.DecorativeBorderEffectWeb, Devesprit.ImageProcessor.Plugins.AdvancedEffects">
      <settings>
        <setting key="VirtualPath" value="~/images/imageprocessor/fill/"/>
      </settings>
    </plugin>
    <plugin name="RemovePixelWeb" type="Devesprit.ImageProcessor.Plugins.AdvancedEffects.RemovePixelWeb, Devesprit.ImageProcessor.Plugins.AdvancedEffects" />
    <plugin name="AdjustGammaWeb" type="Devesprit.ImageProcessor.Plugins.AdvancedEffects.AdjustGammaWeb, Devesprit.ImageProcessor.Plugins.AdvancedEffects" />
    <plugin name="FeatherEffectWeb" type="Devesprit.ImageProcessor.Plugins.AdvancedEffects.FeatherEffectWeb, Devesprit.ImageProcessor.Plugins.AdvancedEffects" />
    <plugin name="SilhouetteEffectWeb" type="Devesprit.ImageProcessor.Plugins.AdvancedEffects.SilhouetteEffectWeb, Devesprit.ImageProcessor.Plugins.AdvancedEffects" />
    <plugin name="SolarizeEffectWeb" type="Devesprit.ImageProcessor.Plugins.AdvancedEffects.SolarizeEffectWeb, Devesprit.ImageProcessor.Plugins.AdvancedEffects" />
    <plugin name="CameraViewEffectWeb" type="Devesprit.ImageProcessor.Plugins.AdvancedEffects.CameraViewEffectWeb, Devesprit.ImageProcessor.Plugins.AdvancedEffects" />
    <plugin name="DropShadowEffectWeb" type="Devesprit.ImageProcessor.Plugins.AdvancedEffects.DropShadowEffectWeb, Devesprit.ImageProcessor.Plugins.AdvancedEffects"/>
    <plugin name="GlassTableEffectWeb" type="Devesprit.ImageProcessor.Plugins.AdvancedEffects.GlassTableEffectWeb, Devesprit.ImageProcessor.Plugins.AdvancedEffects" />
    <plugin name="HSLWeb" type="Devesprit.ImageProcessor.Plugins.AdvancedEffects.HSLWeb, Devesprit.ImageProcessor.Plugins.AdvancedEffects" />
    <plugin name="FadeEffectWeb" type="Devesprit.ImageProcessor.Plugins.AdvancedEffects.FadeEffectWeb, Devesprit.ImageProcessor.Plugins.AdvancedEffects">
      <settings>
        <setting key="VirtualPath" value="~/images/imageprocessor/fill/"/>
      </settings>
    </plugin>
    <plugin name="EmbossEffectWeb" type="Devesprit.ImageProcessor.Plugins.AdvancedEffects.EmbossEffectWeb, Devesprit.ImageProcessor.Plugins.AdvancedEffects"/>
    <plugin name="GlowEffectWeb" type="Devesprit.ImageProcessor.Plugins.AdvancedEffects.GlowEffectWeb, Devesprit.ImageProcessor.Plugins.AdvancedEffects"/>
    <plugin name="FilmstripEffectWeb" type="Devesprit.ImageProcessor.Plugins.AdvancedEffects.FilmstripEffectWeb, Devesprit.ImageProcessor.Plugins.AdvancedEffects">
      <settings>
        <setting key="VirtualPath" value="~/images/imageprocessor/fill/"/>
      </settings>
    </plugin>
    -->
  </plugins>
</processing>