ConvertTo1BppFast vs. ConvertTo1Bpp
Posted: Tue Jan 26, 2010 12:47 am
Can someone provide more details on how these two methods are different?
I had been using GdPictureImaging.ConvertTo1BppFast() for performance reasons before having an image go through the OCR plugin but have discovered that in some cases the resulting image is not acceptable (ie: completely black) whereas the ConvertTo1Bpp function seems to create a good image. This case actually has only come up with a single PDF file thus far. In sample code I've seen around it appears that the ConvertTo1Bpp() is generally used prior to OCR processing, so I am planning to switch to it.
However, is there considerable performance differences between the methods or any other reliability risks when using one method versus another? I am processing small images (typically less than 2" x 2") but I want reliability to be as good as hoped without suffering any serious performance issues.
Thanks,
Mark
I had been using GdPictureImaging.ConvertTo1BppFast() for performance reasons before having an image go through the OCR plugin but have discovered that in some cases the resulting image is not acceptable (ie: completely black) whereas the ConvertTo1Bpp function seems to create a good image. This case actually has only come up with a single PDF file thus far. In sample code I've seen around it appears that the ConvertTo1Bpp() is generally used prior to OCR processing, so I am planning to switch to it.
However, is there considerable performance differences between the methods or any other reliability risks when using one method versus another? I am processing small images (typically less than 2" x 2") but I want reliability to be as good as hoped without suffering any serious performance issues.
Thanks,
Mark