Extend png canvas size by a few pixels?
Posted: Wed Dec 26, 2018 1:55 pm
I've got a couple of png files that need to be altered in order to OCR them with Tesseract.
The dimensions are 100 x 13 pixels and I need to add 3 pixels to the bottom side of the images, resulting in 100 x 16 pixels.
(To enhance the contrast I add the -binary parameter as well.)
So basically what I'm looking for is the equivalent of the XnView command
Canvas resize: Add 3 dots/pixels from Top-Center of background/custom colour (#f6f6f6)
Is this feasible with NConvert?
The dimensions are 100 x 13 pixels and I need to add 3 pixels to the bottom side of the images, resulting in 100 x 16 pixels.
(To enhance the contrast I add the -binary parameter as well.)
So basically what I'm looking for is the equivalent of the XnView command
Canvas resize: Add 3 dots/pixels from Top-Center of background/custom colour (#f6f6f6)
Is this feasible with NConvert?