(04-09-2021, 04:53 PM)rich2005 Wrote:(04-09-2021, 04:41 PM)Ofnuts Wrote: I've found that using the Erode filter to widen the lines improves the image a lot. Is there a GMIC equivalent?
Not that I can find. (well there is, one of alfre's but it does not work with multiple layers - produces a black image)
Unless you can provide a bespoke plugin, an alternative for us scripting-deficient mortals is maybe each page as a separate image, then a BIMP batch process. Then assemble the adjusted images into a PDF.
edit: or as I would probably do: use erode manually on each layer, only 35 layers, not a big deal, ctrl-f to repeat last filter.
Can be done a bit more easily in the Python console:
Code:
image=gimp.image_list()[0]
for layer in image.layers: pdb.plug_in_erode(image, layer, 1, 0, 1., 15,0, 255)
Notes:
- There must be a single image opened in Gimp, otherwise the first line may catch the wrong one
- After the second line, strike [enter] until you are back to the > > > prompt
- Don't ask me what the parameters represent