How to prevent jagged edges when converting to TIFF monochrome?

Advice and Help

Moderator: kcleung

Post Reply
Bhm
Posts: 14
Joined: Fri Jul 19, 2024 8:41 am
notabot: 42
notabot2: Human

How to prevent jagged edges when converting to TIFF monochrome?

Post by Bhm »

Hi all,

I'm currently working on a color scan of a page of sheet music, to be converted to TIFF monochrome. But no matter what settings I choose for conversion (in Irfanview), I get something like the zoomed-in view of the provided image. What should I do to make the edges smoother?
Attachments
Zoom.png
Zoom.png (23.9 KiB) Viewed 6212 times
Sallen112
active poster
Posts: 903
Joined: Wed Jan 12, 2011 12:52 pm
notabot: 42
notabot2: Human

Re: How to prevent jagged edges when converting to TIFF monochrome?

Post by Sallen112 »

So the best program that we use to post-process images like this to smooth out the jagged black pixels in the ink is to use Scantailor (or the Advanced Version) is what we use here: https://github.com/4lex4/scantailor-advanced/releases

1.0.16 is an older version, but there is also 1.0.19, which has some more post-processing features, like some more threshold options.

https://github.com/ScanTailor-Advanced/ ... ag/v1.0.19

You will want to input the TIFF file types into the program and it outputs the same filetype, then you can put them into a PDF afterwards.
Bhm
Posts: 14
Joined: Fri Jul 19, 2024 8:41 am
notabot: 42
notabot2: Human

Re: How to prevent jagged edges when converting to TIFF monochrome?

Post by Bhm »

Unfortunately, when I try to use Scan Tailor 1.0.19, I get an error message - "The procedure entry point CreateDXGIFactory2 could not be located in the dynamic link library dxgi.dll." I'm assuming that this has to do with running an older version of Windows.

Fortunately, the version of Scan Tailor that I do have seems to do a similar job, so I can try to proceed with my documents now. Thank you!
Sallen112
active poster
Posts: 903
Joined: Wed Jan 12, 2011 12:52 pm
notabot: 42
notabot2: Human

Re: How to prevent jagged edges when converting to TIFF monochrome?

Post by Sallen112 »

Try 1.0.16, that version is stable.
coulonnus
active poster
Posts: 1558
Joined: Thu Jul 12, 2007 8:53 am
notabot: 42
notabot2: Human
Location: Nice, France
Contact:

Re: How to prevent jagged edges when converting to TIFF monochrome?

Post by coulonnus »

At which resolution are you? Did you choose a low resolution for your example? Try 600 dpi.

Then with imagemagick, say magick page.jpg -convolve 2,10,14,10,2,10,14,14,14,10,14,14,14,14,14,10,14,14,14,10,2,10,14,10,2 newpage.jpg

Then convert it to TIF monochrome. It is interesting to compare the TIF size with and without the magick operation.
Post Reply