Resizes an unmanaged buffer to the new size specified with the Start method.
public void ResizeBuffer(
IntPtr buffer,
int row,
int bitsPerPixel
)
Public Overloads Sub ResizeBuffer( _
ByVal buffer As IntPtr, _
ByVal row As Integer, _
ByVal bitsPerPixel As Integer _
)
public:
void ResizeBuffer(
IntPtr buffer,
int row,
int bitsPerPixel
)
buffer
The unmanaged buffer containing the original scanline to be resized.
row
Current row of the original bitmap.
bitsPerPixel
Bits per pixel, which is the same for the original and the resized bitmap.
buffer contains the buffer containing a line from the original image to be resized. Your code must allocate the buffer and copy the data into it before calling this method.
The same buffer holds the data before and after it is resized. Therefore, the buffer must be big enough to hold whichever is larger. (The original line is larger when reducing an image; the resulting line is larger when enlarging the image.)
Before calling this function, you must call the Start method.
When all lines have been processed, you must call the Stop method.
For more information, refer to Introduction to Image Processing With LEADTOOLS.
For an example, refer to RasterBufferResize.
Products |
Support |
Feedback: ResizeBuffer(IntPtr,Int32,Int32) Method - 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.