libtiff.net icon indicating copy to clipboard operation
libtiff.net copied to clipboard

[actually not an issue] How to write grayscale image without using WriteScanLine function?

Open KaiWangCanada opened this issue 4 years ago • 1 comments

WriteScanLine works fine. It's just kind of slow, looping through all the rows. For image with over 1000 rows this can be bottleneck.

Is there a better way to write grayscale image? E.g. write whole array of image pixel values directly? Thanks!

KaiWangCanada avatar Jun 18 '21 17:06 KaiWangCanada

Use WriteRawStrip

electro-logic avatar Feb 01 '24 12:02 electro-logic