Enumeration that specifies the behavior when resizing the image. This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
[FlagsAttribute()]
public enum ApplyTransformationParametersCommandFlags
<FlagsAttribute()>
Public Enum ApplyTransformationParametersCommandFlags
[FlagsAttribute()]
public enum ApplyTransformationParametersCommandFlags
typedef NS_OPTIONS(NSUInteger, LTApplyTransformationParametersCommandFlags)
public enum ApplyTransformationParametersCommandFlags
Leadtools.ImageProcessing.Core.ApplyTransformationParametersCommandFlags = function() { };
Leadtools.ImageProcessing.Core.ApplyTransformationParametersCommandFlags.prototype = {
None = 0x00000000,
Normal = 0x00000001,
Resample = 0x00000002,
Bicubic = 0x00000003,
FavorBlack = 0x00000010,
FavorWhite = 0x00000020,
};
[FlagsAttribute()]
public enum class ApplyTransformationParametersCommandFlags
Members
Value | Member | Description |
---|---|---|
0x00000000 | None | No change. |
0x00000001 | Normal | Resize normally. |
0x00000002 | Resample | Use linear interpolation and averaging to produce a higher-quality image. |
0x00000003 | Bicubic | Use bicubic interpolation and averaging to produce a higher quality image. This is slower than Resample. |
0x00000010 | FavorBlack | (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. |
0x00000020 | FavorWhite | (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. |
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 |
![]() |
Products |
Support |
Feedback: ApplyTransformationParametersCommandFlags Enumeration - Leadtools.ImageProcessing.Core |
Introduction |
Help Version 19.0.2017.3.21
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.