- Upload Suite Overview
- What's New?
- Choosing Upload Technology
- Evaluating Upload Suite
- Upload Suite Editions
- System Requirements
- Installation and Deployment Notes
- ActiveX/Java Uploader
- Where ActiveX/Java Uploader Can Be Useful
- Before You Started with ActiveX/Java Uploader
- ActiveX/Java Uploader Fundamentals
- ActiveX/Java Uploader User Interface
- Getting Started
- Using ActiveX/Java Uploader
- Troubleshooting
- Reference
- ActiveX/Java Uploader ASP.NET Reference
- Aurigma.ImageUploader Namespace
- ActiveXControl Class ActiveX/Java Uploader ASP.NET
- AddFilesProgressDialog Class ActiveX/Java Uploader ASP.NET
- AllFilesUploadedEventArgs Class ActiveX/Java Uploader ASP.NET
- AuthenticationDialog Class ActiveX/Java Uploader ASP.NET
- BackgroundImageFormat Class ActiveX/Java Uploader ASP.NET
- BackgroundPosition Enumeration ActiveX/Java Uploader ASP.NET
- BaseClientControl Class ActiveX/Java Uploader ASP.NET
- BaseClientEvent(T) Class ActiveX/Java Uploader ASP.NET
- BaseControl Class ActiveX/Java Uploader ASP.NET
- BaseExtender Class ActiveX/Java Uploader ASP.NET
- BaseUploadControl Class ActiveX/Java Uploader ASP.NET
- BaseUploaderExtender Class ActiveX/Java Uploader ASP.NET
- BorderStyle Enumeration ActiveX/Java Uploader ASP.NET
- ClientEvent Class ActiveX/Java Uploader ASP.NET
- ClientEventCollection Class ActiveX/Java Uploader ASP.NET
- ClientEventNames Enumeration ActiveX/Java Uploader ASP.NET
- CompletionCodeBlock Delegate ActiveX/Java Uploader ASP.NET
- ContextMenu Class ActiveX/Java Uploader ASP.NET
- ConvertedFile Class ActiveX/Java Uploader ASP.NET
- ConvertedFileCollection Class ActiveX/Java Uploader ASP.NET
- Converter Class ActiveX/Java Uploader ASP.NET
- ConverterCollection Class ActiveX/Java Uploader ASP.NET
- DebugScriptMode Enumeration ActiveX/Java Uploader ASP.NET
- DeleteFilesDialog Class ActiveX/Java Uploader ASP.NET
- DescriptionEditor Class ActiveX/Java Uploader ASP.NET
- DetailsViewColumns Class ActiveX/Java Uploader ASP.NET
- FileUploadedEventArgs Class ActiveX/Java Uploader ASP.NET
- FolderPane Class ActiveX/Java Uploader ASP.NET
- FolderProcessingMode Enumeration ActiveX/Java Uploader ASP.NET
- FontFormat Class ActiveX/Java Uploader ASP.NET
- GradientColor Structure
- GradientColorConverter Class ActiveX/Java Uploader ASP.NET
- ImageEditor Class ActiveX/Java Uploader ASP.NET
- ImageFormat Class ActiveX/Java Uploader ASP.NET
- InformationBar Class ActiveX/Java Uploader ASP.NET
- InstallationProgress Class ActiveX/Java Uploader ASP.NET
- JavaControl Class ActiveX/Java Uploader ASP.NET
- Language Enumeration ActiveX/Java Uploader ASP.NET
- Messages Class ActiveX/Java Uploader ASP.NET
- Metadata Class ActiveX/Java Uploader ASP.NET
- OpenFileDialogMode Enumeration ActiveX/Java Uploader ASP.NET
- Package Class ActiveX/Java Uploader ASP.NET
- PaneItem Class ActiveX/Java Uploader ASP.NET
- PaneLayoutMode Enumeration ActiveX/Java Uploader ASP.NET
- PaneSortMode Enumeration ActiveX/Java Uploader ASP.NET
- PaneViewMode Enumeration ActiveX/Java Uploader ASP.NET
- PostFields Class ActiveX/Java Uploader ASP.NET
- ProgressBytesMode Enumeration ActiveX/Java Uploader ASP.NET
- QualityMeter Class ActiveX/Java Uploader ASP.NET
- QualityMeter Members ActiveX/Java Uploader ASP.NET
- QualityMeter Methods ActiveX/Java Uploader ASP.NET
- QualityMeter Properties ActiveX/Java Uploader ASP.NET
- AcceptableQualityColor Property ActiveX/Java Uploader ASP.NET
- BackgroundColor Property ActiveX/Java Uploader ASP.NET
- BorderColor Property ActiveX/Java Uploader ASP.NET
- Formats Property ActiveX/Java Uploader ASP.NET
- Height Property ActiveX/Java Uploader ASP.NET
- HighQualityColor Property ActiveX/Java Uploader ASP.NET
- LowQualityColor Property ActiveX/Java Uploader ASP.NET
- ResizeQuality Enumeration ActiveX/Java Uploader ASP.NET
- Restrictions Class ActiveX/Java Uploader ASP.NET
- StatusPane Class ActiveX/Java Uploader ASP.NET
- Thumbnail Class ActiveX/Java Uploader ASP.NET
- ThumbnailClientEvent Class ActiveX/Java Uploader ASP.NET
- ThumbnailClientEventCollection Class ActiveX/Java Uploader ASP.NET
- ThumbnailClientEventNames Enumeration ActiveX/Java Uploader ASP.NET
- ThumbnailFitMode Enumeration ActiveX/Java Uploader ASP.NET
- TreePane Class ActiveX/Java Uploader ASP.NET
- UploadedFile Class ActiveX/Java Uploader ASP.NET
- Uploader Class ActiveX/Java Uploader ASP.NET
- UploadHandler Class ActiveX/Java Uploader ASP.NET
- UploadPane Class ActiveX/Java Uploader ASP.NET
- UploadProgressDialog Class ActiveX/Java Uploader ASP.NET
- UploadRequest Class ActiveX/Java Uploader ASP.NET
- UploadSettings Class ActiveX/Java Uploader ASP.NET
- Aurigma.ImageUploader.AmazonS3 Namespace
- Aurigma.ImageUploader Namespace
- ActiveX/Java Uploader PHP Reference
- ActiveX/Java Uploader JavaScript Reference
- ActiveX/Java Uploader Client-Side Events Reference
- POST Field Reference
- ActiveX/Java Uploader ASP.NET Reference
- HTML5/Flash Uploader
- Licensing Information
- Legal Notices
QualityMeter.Formats Property ActiveX/Java Uploader ASP.NET
Gets or sets print formats for the quality meter.
Namespace:
Aurigma.ImageUploader
Assembly:
Aurigma.ImageUploader (in Aurigma.ImageUploader.dll)
Syntax
public string Formats { get; set; }
Property Value
Type: System..String
Print formats used in the quality meter. Format of this string is the following:
Format1 name,format1 width (pixels),format1 height (pixels),format1 acceptable ratio;Format2 name,format2 width (pixels),format2 height (pixels),format2 acceptable ratio;...
In other words:
- Each format is defined with 4 mandatory parameters: name, width, height, and acceptable ratio.
- Parameters are separated by comma.
- Formats are separated by semicolon.
See the Remarks section for more details about syntax of this string.
If this property is not initialized or set to incorrect value no quality meter is displayed.
Default value is "".
Remarks
As mentioned above, each print format is described with four parameters:
- Format name
-
Name of the print format which will be displayed as a tooltip when a mouse is hovering over an appropriate quality meter element.
If the format name contains semicolon or quotation mark characters, enclose this format in single (
' ') or double (" ") quotes. Additionally, quotation marks (both single'and double") inside the name should be escaped with a backslash. For example, to get a User's format name, set this format as follows:"User\'s format,1800,1200,1.2";... - Format width
- Minimum width (in pixels) which the photo should have to be interpreted as high quality for this print format (i.e. colored by the HighQualityColor value).
- Format height
- Minimum height (in pixels) which the photo should have to be interpreted as high quality for this print format (i.e. colored by the HighQualityColor value).
- Acceptable ratio (further, AR)
- Maximum acceptable ratio of format width (or height) and actual photo width (or height). If
format width/photo widthwill be larger than AR, the photo will be interpreted as unacceptable for this print format.
To be interpreted as high quality, the photo should have both width and height equal or larger than specified ones. Say, if width conforms to the limitation, but height does not, the photo will not be interpreted as high quality.
Examples
Imagine we specify the following quality meter string:
<aur:Uploader ID="Uploader1" runat="server">
<PaneItem>
<QualityMeter Formats="4x6 inches,1800,1200,1.2;6x8 inches,2400,1800,1.3" />
</PaneItem>
</aur:Uploader>
It means that you specify two formats: 4x6 inches (1200x1800 pixels if to print with resolution equal to 300 DPI) and 6x8 inches (1800x2400 pixels for 300 DPI). This way the quality meter will have two elements. The table below demonstrates the quality meter values for images of different size. Let us assume that the default values for the quality meter colors are used (allowed formats are green, acceptable - yellow, non-recommended ones are gray).
| Image dimensions | Quality meter colors | Comment |
|---|---|---|
| 2000x3000 |
|
Image dimensions exceed both format restrictions, so we can freely print it in both formats. |
| 1500x2000 |
|
The dimensions are larger than 4x6 inches, but smaller than 6x8 inches. Now we should estimate if it can be printed with the acceptable quality in 6x8 format. To do it, calculate the ratio between the format dimensions and the actual image dimensions (we take a width for brevity):
Now we compare this value with the acceptable ratio (AR) specified as the fourth parameter. If this value is larger than AR, an image cannot be printed with this format, if otherwise - it is acceptable. The AR specified for 6x8 inches is 1.3, thus it is acceptable and we mark a color meter with yellow. |
| 1200x1800 |
|
The dimensions conform 4x6 inches, but are smaller than 6x8 inches. This time if we calculate the ratio between the format dimensions and the actual image dimensions, we will get:
It is larger than the AR (which is equal to 1.3) and that is why if we print this image in the 6x8 inches format, we will get quite poor quality. So we mark this color meter item to gray (i.e. as "not recommended"). |
| 1024x1536 |
|
The dimensions of this image are smaller than both formats. Obviously, it is too small for the 6x8 inches format, but let us check it for the 4x6 format:
The AR for the 4x6 inches format is 1.2, i.e. this image acceptable for it, and the appropriate quality meter element is yellow. |
| 96x96 |
|
It is obvious that this image is too small to be printed even on a matchbox, so both elements of the quality meter are gray. |