Defining Service Settings
The Service Settings dialog allows you to define configuration options for the ASP.NET application. These settings define parameters that control how the ASP.NET components are initialized:
- Bin Directory: Defines the location of the ImageGear .NET Assemblies. This path can be defined as a relative path, based on the location of the web.config file, by using a tilde, "~".
- PDF Directory: Defines the location of the ImageGear .NET PDF binaries. More information on distributing the PDF Libraries can be found in the Distributing PDF and PS Fonts and Libraries section of the documentation. This path can be defined as a relative path, based on the location of the web.config file, by using a tilde, "~".
- Max Threads Per Control: Specifies the maximum number of threads that should be created to process ASP.NET requests.
- Document Verification: Forces ImageGear .NET to validate the format of a document uploaded by the ImageGear.Web.Isis namespace API and reject that document if its format cannot be detected by ImageGear.
- Equalize Non-square Resolutions: When enabled, raster documents with unequal horizontal and vertical resolutions will be resized and have their resolution be converted to be equal before displaying the image in the browser. If this setting is disabled, then documents with differing horizontal and vertical resolutions may render unexpectedly in the browser.
- Max Upload Byte Size: Defines the maximum number of bytes that can be transmitted by the service per one request. If the size of data is greater than the defined value, an HTTP error 404 will be returned from the service. The maximum possible value for this parameter is 1844674407370955.
- SVG Content Compression: Defines GZIP compression for SVG content. When the SVG format is being used for vector or Office document data transmission, the GZIP compression will be applied to the HTTP message content if the client browser allows this compression.
- Enable Optional Formats: Enables optional formats:
- – enables except for headerless formats.
- Headerless – enables the headerless formats.
- DICOM – enables the medical DICOM format.
- JPEG 2000 – enables JPEG 2000 format.
- MS Office – enables Word, PowerPoint and Excel formats.
- PDF – enables all of PDF, including PostScript PDF.
- PostScript (Requires PDF) – enables the PostScript PDF format.
- NativeCommon – enables the native JPEG and PNG formats implementation.
When you use the NativeCommon option, the native implementation of JPEG and PNG filters is used. Otherwise, the managed implementation of these formats is used.
For additional information about managed and native JPEG and PNG filters initialization refer the Initializing Assemblies page Common File Formats section. See JPEG and PNG pages for the differences in managed and native implementation of formats.