Results 1 to 3 of 3

Thread: Batch converting images to bitmap mode with 50% threshold filter

  1. #1
    Join Date
    Sep 2013
    Beans
    34

    Question Batch converting images to bitmap mode with 50% threshold filter

    Greeting all. I'm working on reprinting and publish an old book thats out of print, and I need to clear up some of the pages that I scanned.

    My printer tells me that I need to convert the images to bitmap mode with 50% threshold filter. They say I have to use photoshop or indesign, but I don't believe them. I'm pretty sure imagemagic or even "convert" command can batch convert all 100 or so pages with relative ease.

    1,000,000 question:

    what's the command?

  2. #2
    Join Date
    Jul 2007
    Location
    Poland
    Beans
    4,499
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Batch converting images to bitmap mode with 50% threshold filter

    convert inputfile -threshold 50% outputfile

    more ways to skin the cat
    http://www.imagemagick.org/Usage/quantize/#two_color
    if your question is answered, mark the thread as [SOLVED]. Thx.
    To post code or command output, use [code] tags.
    Check your bash script here // BashFAQ // BashPitfalls

  3. #3
    Join Date
    Sep 2013
    Beans
    34

    Re: Batch converting images to bitmap mode with 50% threshold filter

    thanks. worked like a charm

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •