←Select platform

ApplyTransformationParametersCommandFlags Enumeration

Summary
Enumeration that specifies the behavior when resizing the image. This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Syntax
C#
Objective-C
C++/CLI
Java
Python
[FlagsAttribute()] 
public enum ApplyTransformationParametersCommandFlags   
typedef NS_OPTIONS(NSUInteger, LTApplyTransformationParametersCommandFlags) 
public final class ApplyTransformationParametersCommandFlags 
    extends java.lang.Enum<ApplyTransformationParametersCommandFlags> 
[FlagsAttribute()] 
public enum class ApplyTransformationParametersCommandFlags   
class ApplyTransformationParametersCommandFlags(Enum): 
   None = 0 
   Normal = 1 
   Resample = 2 
   Bicubic = 3 
   FavorBlack = 16 
   FavorWhite = 32 
Members
ValueMemberDescription
0x00000000None No change.
0x00000001Normal Resize normally.
0x00000002Resample Use linear interpolation and averaging to produce a higher-quality image.
0x00000003Bicubic Use bicubic interpolation and averaging to produce a higher quality image. This is slower than Resample.
0x00000010FavorBlack (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.
0x00000020FavorWhite (Document/Medical only) Preserve white 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 | FavorWhite causes color images to be resampled, but applies the favor-white option to 1-bit, black-and-white images.
Remarks

You can use a bitwise OR ( | ) to specify one flag from each group.

Group Flags
Flags that indicate which type of resizing to perform Normal, Resample, Bicubic
Flags that indicate which color to preserve when making the image smaller FavorBlack, FavorWhite
Requirements

Target Platforms

Help Version 23.0.2024.3.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.ImageProcessing.Core Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.