Used in a loop, dithers the line in a specified unmanaged memory input buffer, and writes it to an unmanaged memory output buffer.
public void DitherLine(
IntPtr srcBuffer,
IntPtr destBuffer
)
Public Overloads Sub DitherLine( _
ByVal srcBuffer As IntPtr, _
ByVal destBuffer As IntPtr _
)
public void DitherLine(
IntPtr srcBuffer,
IntPtr destBuffer
)
public void ditherLine(
byte srcBuffer[],
byte destBuffer[]
)
function Leadtools.RasterImage.DitherLine(IntPtr,IntPtr)(
srcBuffer ,
destBuffer
)
public:
void DitherLine(
IntPtr srcBuffer,
IntPtr destBuffer
)
srcBuffer
Pointer to the unmanaged memory input buffer.
destBuffer
Pointer to the unmanaged memory output buffer.
This method uses the dithering method specified in the DitheringMethod property. Therefore, it provides better 4-bit or 8-bit output than the RasterBufferConverter.Convert method.
This method uses the palette that the StartDithering method specifies. The output of the DitherLine method is made up of 1-bit, 4-bit, or 8-bit indexes to the specified palette. StopDithering cleans up the allocated variables and buffers. For a description of how the methods relate to each other, refer to the StartDithering.
This method does not support signed images.
For more information, refer to Introduction to Image Processing With LEADTOOLS.
For an example, refer to StartDithering.
Introduction to Image Processing With LEADTOOLS
Codecs.CodecsThumbnailOptions.DitheringMethod property
ImageProcessing.ColorResolutionCommand.DitheringMethod property
RasterDitheringMethod enumeration
RasterDefaults.DitheringMethod property
RasterImage.DitheringMethod property
RasterImage.StopDithering method
Products |
Support |
Feedback: DitherLine(IntPtr,IntPtr) 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.