Author
Topic: switch black and white in tiff files (Read 9982 times)

I'm looking for a simple software to switch colors in b&w tiff files. There are hundreds of pages of documents scanned weirdly, with the background in black, and the text in white. I need to print them, but the black background would make me bleed ink.

So if only I can find an utility to make blacks white, and whites black... In batches preferably.

My memory is not what it used to be, but there may be a flag in tiff files that indicates what is black and what is white. Could it be that the software you are using for viewing the files ignores it? Maybe the files are OK (and maybe not).

My memory is not what it used to be, but there may be a flag in tiff files that indicates what is black and what is white. Could it be that the software you are using for viewing the files ignores it? Maybe the files are OK (and maybe not).

It appears that this is the case. Faststone maxview shows the files with white text on black background. Gimp, on the other hand, shows them as one might expect. I was able to print them correctly from gimp.

Xnview has a batch convert mode, and a function to invert colors. Set your folders, select the files and apply the "Negative" function. I used it all the time when I was scanning images of construction plans and came across the old ones that were purple with white lines. The machine I was using scanned in black and white to tiff, so it was perfect.It can handle multi-page tiffs as well.

Weird, I swear I saw an option for that in the batch processing dialog in plain XnView, but apparently not. It is in XnViewMP though: http://newsgroup.xnv...php?f=60&t=26033From Tools -> Batch Convert, on the 'Output' tab, in the 'Multipage' group box, check the boxes next to "Convert multipage file to multipage file (when possible)" and "Convert all pages from multipage file".

@eleman: If your .tif/.tiff image file contains an image of white text on a black background, and you want it reversed, then I would suggest that you might consider turning the image into a negative (e.g., using irfanview or similar), which can then be saved as an image of black text on a white background.That's what I have usually done in the past anyway.

You can print/output such image files as PDF files, and OCR them in the process, so you will have them as text-searchable and text copyable PDF files, which might be handy for searching/reading on a PCscreen, and could be easily printed as black-on-white hardcopy.

However, I have to ask: Why do you need to print them in hardcopy?It does seem a backwards step.

Some alternatives:

1. Windows 7 search/index: If the .tif/.tiff files were output from document scans, then whether the text is black on white or white on black should make little difference to an OCR scan. If you have any .tif/.tiff files on disk in Windows 7 (Home Premium), and if they are in a Library that the inbuilt index/search service has been assigned to watch, then the files will be automatically OCR scanned, and and any text in the images will be indexed and becomes text-searchable (but not text-copyable) - e.g., from the Start menu Search all programs and files.

2. Google Drive: If you put the .tif/.tiff files into Google Drive, then the files will be automatically OCR scanned, and any text content will be indexed and made text-searchable and text-copyable. I use that facility all the time in Gdrive, and it seems to work very well.

3. Qiqqa: If you output the image files as .PDF files, and if they were not OCR scanned, (or even if they were) then you could use the FREE version of the reference management system Qiqqa, which can automatically OCR scan PDF image files, and outputs indexed text-searchable and text-copyable PDF files. It is a superb information management tool.