Increase image quality

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
mrAndy
Posts: 2
Joined: 2015-01-30T06:04:20-07:00
Authentication code: 6789

Increase image quality

Post by mrAndy »

Hello!

There is an image with a bar code printed in bad quality. How can I improve the quality for reliable recognition?
Image
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Increase image quality

Post by fmw42 »

try

Code: Select all

convert crop.png -morphology open diamond:2 result.png
see
http://www.imagemagick.org/Usage/morphology/
mrAndy
Posts: 2
Joined: 2015-01-30T06:04:20-07:00
Authentication code: 6789

Re: Increase image quality

Post by mrAndy »

Perfect! Thanks you!
Post Reply