virtual L_INT LBuffer::Resize(nRow, nBitsPerPixel, pXSize, pYSize)
Resizes image data in the class object's buffer to the new size specified with the LBuffer::StartResize function.
Current row of the original bitmap.
Bits per pixel, which is the same for the original and the resized bitmap.
Address of an integer variable to be updated with the width of the resized line. This function updates the variable with number of pixels the new resized line.
Address of an integer variable to be updated with the required number of copy repetitions. This function updates the variable with the number of times needed to copy the new resized line buffer to the new image.
When an image is being enlarged, some lines must be copied more than once. When an image is being reduced, some lines must be eliminated (not copied at all). For example:
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
Before calling this function, you must do the following:
When all lines have been processed, you must call LBuffer::StopResize.
Win32, x64.
For an example, refer to LBuffer::StartResize.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document