Sets up information for the ResizeBuffer method.
public void Start(
Leadtools.RasterImage image,
int width,
int height,
int bitsPerPixel,
Leadtools.RasterByteOrder order,
Leadtools.RasterDitheringMethod ditheringMethod,
Leadtools.RasterSizeFlags sizeFlags,
Leadtools.RasterColor[] palette
)
Public Sub Start( _
ByVal image As Leadtools.RasterImage, _
ByVal width As Integer, _
ByVal height As Integer, _
ByVal bitsPerPixel As Integer, _
ByVal order As Leadtools.RasterByteOrder, _
ByVal ditheringMethod As Leadtools.RasterDitheringMethod, _
ByVal sizeFlags As Leadtools.RasterSizeFlags, _
ByVal palette() As Leadtools.RasterColor _
)
public:
void Start(
Leadtools.RasterImage^ image,
int width,
int height,
int bitsPerPixel,
Leadtools.RasterByteOrder order,
Leadtools.RasterDitheringMethod ditheringMethod,
Leadtools.RasterSizeFlags sizeFlags,
Leadtools.array<RasterColor>^ palette
)
image
Image to be resized.
width
New width of the image data.
height
New height of the image data.
bitsPerPixel
Output bits per pixel. Use 0 for 8-bit grayscale. Possible values are: 0, 1, 2, 3, 4, 5, 6, 7, 8, 12, 16, 24, 32, 48 and 64.
order
Output color order.
ditheringMethod
Flags that indicate the type of dithering, if bitsPerPixel is not the same as the source image.
sizeFlags
Flags that indicate the type of resizing.
palette
The palette to dither to if bitsPerPixel is less than or equal to 8. Pass a null reference to dither to the fixed palette or if no palette is required.
ditheringMethod is used when dithering is needed to produce the output bits per pixel. The interpolation usually requires that the input data be converted to 24-bit or 48-bit and then back to the desired bits per pixel. So some dithering might be required if the output bits/pixel are less than or equal to 8.
The Start method starts the resizing process. This will be followed by calls to ResizeBuffer to retrieve the resized data and by a call to Stop, to end the resize process and clean up any allocated resources.
Refer to RasterImageResize.
Products |
Support |
Feedback: Start Method (RasterImageResize) - Leadtools |
Introduction |
Help Version 19.0.2017.6.19
|
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.