ConvertTo1Bpp
ConvertTo1Bpp
Hi,
i am scanning in grayscale because barcode recognition doesnt work well in 1 bit mode.
After i have scanned a multipage tiff i want it to convert to 1 bit.
Can I use the method ConvertTo1Bpp? If yes how? I always lose all pages after the first page of the tiff.
Tyvm
dix
i am scanning in grayscale because barcode recognition doesnt work well in 1 bit mode.
After i have scanned a multipage tiff i want it to convert to 1 bit.
Can I use the method ConvertTo1Bpp? If yes how? I always lose all pages after the first page of the tiff.
Tyvm
dix
Re: ConvertTo1Bpp
Hi dix,
yes you can:
- Open the multipage tiff in read&write mode
- Select each page and apply negative effect
- Save the multipage tiff to file
Let me know if you need code snippet.
Kind regards,
Loïc
yes you can:
- Open the multipage tiff in read&write mode
- Select each page and apply negative effect
- Save the multipage tiff to file
Let me know if you need code snippet.
Kind regards,
Loïc
Re: ConvertTo1Bpp
thanks loic. that was the next what i wanted to try.
Re: ConvertTo1Bpp
that worked. perfect. ty.
another question. its a bit offtopic but i wrote that i have issues with barcode recognition.
I need 8 bits and 300 dpi. Do you have other expierences? That means should it work with 150 DPI or is it not possible to define borders here?
ty
dix
another question. its a bit offtopic but i wrote that i have issues with barcode recognition.
I need 8 bits and 300 dpi. Do you have other expierences? That means should it work with 150 DPI or is it not possible to define borders here?
ty
dix
Re: ConvertTo1Bpp
Hi dix,
unfortunately there is no optimal configuration for all cases. it depend on the way your pages are acquired, they content and structure.
if you want a feedback on non-recognized barcode you can attach the image including it.
Loïc
unfortunately there is no optimal configuration for all cases. it depend on the way your pages are acquired, they content and structure.
if you want a feedback on non-recognized barcode you can attach the image including it.
Loïc
Re: ConvertTo1Bpp
yep i thought so.. i think that our scanner is the problem.... its just bad quality at 150 DPI.
Is there anybody that successfully detected barcodes at 150 DPI?
Is there anybody that successfully detected barcodes at 150 DPI?
Re: ConvertTo1Bpp
Yes,
anyway 200-300 DPI should result in higher accuracy. Maybe scaling the image before doing the process can help.
IE:
Hope this helps !
anyway 200-300 DPI should result in higher accuracy. Maybe scaling the image before doing the process can help.
IE:
Code: Select all
Imaging1.Scale(ImageID, 200 / 150 * 100, Drawing2D.InterpolationMode.HighQualityBicubic)
Who is online
Users browsing this forum: No registered users and 1 guest