RSS/Atom feed Twitter
Site is read-only, email is disabled

convert tiff image to bitonal

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

6 of 7 messages available
Toggle history

Please log in to manage your subscriptions.

convert tiff image to bitonal Alexandru Cabuz 16 Jan 11:38
  convert tiff image to bitonal Owen 16 Jan 21:49
  convert tiff image to bitonal JeannieDMartinez 19 Jul 17:06
3fef723c0801161315x21ea58c4... 07 Oct 20:19
  convert tiff image to bitonal Alexandru Cabuz 16 Jan 22:16
  convert tiff image to bitonal Owen 17 Jan 04:32
   convert tiff image to bitonal Andrew 17 Jan 08:58
Alexandru Cabuz
2008-01-16 11:38:29 UTC (over 16 years ago)

convert tiff image to bitonal

Hello,

I have some tiff files which I want to convert to djvu using the bitonal encoder of djvulibre. However, my tiff files are nominally color, even though they just contain B&W text.

How can I transform these files to be bitonal?

Also, is there a way to batch this job?

Owen
2008-01-16 21:49:33 UTC (over 16 years ago)

convert tiff image to bitonal

On Wed, 16 Jan 2008 12:38:29 +0200 "Alexandru Cabuz" wrote:

Hello,

I have some tiff files which I want to convert to djvu using the bitonal encoder of djvulibre. However, my tiff files are nominally color, even though they just contain B&W text.

How can I transform these files to be bitonal?

Have a look at http://freshmeat.net/projects/image-density/

Also, is there a way to batch this job?

If the above is what you want, then it should be possible to do a batch job

You also might want to look at ImageMagick, look at threshold

Owen

Alexandru Cabuz
2008-01-16 22:16:33 UTC (over 16 years ago)

convert tiff image to bitonal

Imagemagick does the job.

Command I used was this:

convert -colors 2 -density 600x600 -colorspace gray -compress group4 pg_0015.pdf pg_0015.tif

The tif files generated are bitonal and the djvulibre bitonal algorithm cjb2 works fine on them.

Was not able to batch, so I used openoffice spreadsheet to generate a script containing 774 lines for the 774 images I had to convert. :-)

Owen
2008-01-17 04:32:24 UTC (over 16 years ago)

convert tiff image to bitonal

Imagemagick does the job.

Command I used was this:

convert -colors 2 -density 600x600 -colorspace gray -compress group4 pg_0015.pdf pg_0015.tif

The tif files generated are bitonal and the djvulibre bitonal algorithm cjb2 works fine on them.

Was not able to batch, so I used openoffice spreadsheet to generate a script containing 774 lines for the 774 images I had to convert. :-)

You could run a bash script something like this

WARNING - UNTESTED

for i in *.tiff; do echo "converting \"$i\"..."; convert "$i" -colors 2 -density 600x600 -colorspace gray -compress group4 "bitonal-$i"; done

Owen

Andrew
2008-01-17 08:58:13 UTC (over 16 years ago)

convert tiff image to bitonal

Owen wrote:

Imagemagick does the job.

Command I used was this:

convert -colors 2 -density 600x600 -colorspace gray -compress group4 pg_0015.pdf pg_0015.tif

The tif files generated are bitonal and the djvulibre bitonal algorithm cjb2 works fine on them.

Was not able to batch, so I used openoffice spreadsheet to generate a script containing 774 lines for the 774 images I had to convert. :-)

You could run a bash script something like this

WARNING - UNTESTED

for i in *.tiff; do echo "converting \"$i\"..."; convert "$i" -colors 2 -density 600x600 -colorspace gray -compress group4 "bitonal-$i"; done

Owen

2021-07-19 17:06:32 UTC (almost 3 years ago)
postings
1

convert tiff image to bitonal

Yes, there are lots of jobs present for transforming files to be bitonal. You can get lots of information about them by simply searching about them on google. I was reading about online essay help on https://www.uk-dissertation.com/thesis_proposal.html,Then I see your post. Hope my suggestion will help you out.