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:
|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.
For an example, refer to LBuffer::StartResize.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries