LEADTOOLS WCF (Leadtools.Services.Raster.DataContracts assembly)

RasterResizeFlags Enumeration

Show in webframe





Controls the behavior of image resize methods.
Syntax
[DataContractAttribute(Namespace="http://Leadtools.Services.Raster.DataContracts/2009/01", Name="RasterResizeFlags")]
[FlagsAttribute()]
public enum RasterResizeFlags : System.Enum, System.IComparableSystem.IConvertibleSystem.IFormattable  
'Declaration
 
<DataContractAttribute(Namespace="http://Leadtools.Services.Raster.DataContracts/2009/01", Name="RasterResizeFlags")>
<FlagsAttribute()>
Public Enum RasterResizeFlags 
   Inherits System.Enum
   Implements System.IComparableSystem.IConvertibleSystem.IFormattable 
'Usage
 
Dim instance As RasterResizeFlags

            

            
[DataContractAttribute(Namespace="http://Leadtools.Services.Raster.DataContracts/2009/01", Name="RasterResizeFlags")]
[FlagsAttribute()]
public enum class RasterResizeFlags : public System.Enum, System.IComparableSystem.IConvertibleSystem.IFormattable  
Members
ValueMemberDescription
0x00000000NoneResize normally
0x00000001FavorBlack

(Document/Medical only) Preserve black objects when making the image smaller. This option affects only 1-bit, black-and-white images, where it prevents the disappearance of thin lines. You can use a bitwise OR ( | ) to combine this flag with another one. For example, Resample | FavorBlack causes color images to be resampled, but applies the favor-black option to 1-bit, black-and-white images.

If you apply this flag to an image that has more than 1 bit per pixel, then the behavior is undefined.

0x00000002ResampleUse linear interpolation and averaging to produce a higher-quality image.
0x00000004BicubicUse bicubic interpolation and averaging to produce a higher quality image. This is slower than Resample.
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Leadtools.Services.Raster.DataContracts.RasterResizeFlags

Requirements

Target Platforms

See Also

Reference

Leadtools.Services.Raster.DataContracts Namespace

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.

Applications developed with LEADTOOLS WCF components require runtime licenses. Server licensing is required for applications on a server. For more information, refer to: LEADTOOLS Toolkit Features