Hello friends, and welcome again to our channel, “The Teacher”. In this tutorial, you will learn to remove the gray background from the scanned images. A few days ago, I need to scan hundreds of text assignment pages and what I did wrong at the time of scanning is, I used the Grayscale Color Format at the time of scanning. As those were only the text pages and after a few corrections, I have to reprint all of them. Because of the wrong Color Format choice, all the pages now had the gray background, which I didn’t want.
Even in the printing the gray background was appearing. Before I tell you how to correct and remove the gray background from the scanned images, do note that, whenever the next time, when you need to scan text pages, then don’t use the Grayscale Color Format, instead use Black and White. You can see the difference in this example, where same page has been scanned two times, one with Grayscale and the second with Black and White. You can see that the Black and White page is more clear and does not have any gray background. Now, let’s talk about how to remove the gray background using Adobe Photoshop. First open the picture in Adobe Photoshop and then open the Image menu. Point to Adjustments and then click Levels. Here you have some Preset that you can use and experiment with and what they are doing is setting the predefined Input Levels in the section below. But if none of them is working for you then you can adjust the Input Levels manually. In my case, I adjusted them near to the black area, so the text may appear darker with white background.
On different scanned pages with different color format, you might need to adjust the input levels differently. As I am adjusting the Input Levels, you can see the live preview in the background and I think this setting is fine for me. So, this is how you can manually remove the gray background from a single picture but the another problem was that I have to do this for hundreds on scanned images. But Photoshop makes it easier for you by creating and applying Actions. Action helps you to record and apply certain commands or actions on a single or multiple files at once. To bring the Action menu, open the Windows menu and then click Actions, or alternatively you can press ALT+F9 key to bring the Action box. Before creating a new action, do remember that once the recording gets started, everything you will doing will get recorded and when you will run the same action on another file, all the recorded steps will get applied to that particular file.
So while recording actions, you must be very specific about the actions or commands that you are applying. In my case, I want the same Levels settings to for all the scanned images because all the pictures are in the same format. So, first I click the New Button from the Action box and then type a name for the Action as Remove Gray Background. I don’t need to configure any further settings here, so I click the Record button. As the action recording has begun, I will only use those commands that I would like to record and will avoid to press any unnecessary button or command. So I go to the Image menu, and open Levels window from Adjustments. Here I adjust the Input Levels and as all the scanned images are similar in formatting and contents, so I don’t need to worry and can apply the same Input Levels to almost all the scanned images. After adjusting the Levels, I hit the OK button and then stop the Recording.
The last step is to run the newly created action on all the images that have gray background. As I have placed all those images into a particular folder, so what next I am going to do is to run the Action on that particular folder. To do this, I click the File menu, point to Automate and then click Batch. This command is going to Play the said action to specific files or folders that you are going to define. So, first I choose the Action from the drop down menu, and here you can see the Action name that we had created in the previous step. Next, I choose Folder from the source as I want to apply the above action to all the files of a particular folder and then browse for that particular folder. Make sure to check Suppress File Open Options Dialogs and Suppress Color Profile Warnings, so that no dialog box may appear during the batch process. Reset of settings are OK for me as I want Photoshop to open all the files in that particular folder and then apply Remove Gray Area action and then save and close the files after applying the action without prompting or showing any save or open dialog boxes.
As soon as I hit the OK button, you can see that Photoshop started the Batch Process and is now opening one file in a time and then after applying the action, it automatically saving and closing the files and repeating the same for every file in the same folder. If I open the same folder, you can notice that how quickly Photoshop applying the same action in batch to all the files in that particular folder. On that day, these two commands Level and Actions saved a lot of time and I hope the information in this video will also be useful to you. Don’t forget to hit the thumbs up button and do share this video with your friends. Leave us your valuable comments and subscribe to our channel for more upcoming tutorial videos. Thanks for watching, and have a good day!.