Skip to main content
  • 1603 Product updates

Scanning Clean, Searchable PDFs

When one converts a piece of paper to an electronic document,   all too often they are simply scanned at the "whatever" setting and saved as a JPEG. This is not surprising because JPEG is a format that most people have heard of so it's a "safe" format to select. Some scanners have an option to save as a PDF and that is preferable to a JPEG, but there are two areas this leaves off: a clean scan and a search-able PDF.First off, let me explain what I mean by a clean scan: our eyes are very forgiving. We look at a newspaper and see black text on  paper and we pretty much ignore that the paper is  non-white. The scanner doesn't know the paper is supposed to be white so it records it for what it is: not white. Since newspaper are a worse-case scenario, I will discus and demonstrate with newspaper but just be aware that  all scans will display   paper as being off-white unless you do something to make the paper white.Let me start with the dynamics of a clean scan and how to create a clean scan.The problems with newspapers start with the fact that the paper is not white and the thinness of the paper causes the text and anything else on the back side to show up through the page. Thus, if you just run the scanner on a section of newspaper you'd get something like this:One of the problems here is that there are some color images on the back side of this page and trying to deal with all of the colors is a waste of time. So, the first thing you can do here is to change your settings from Color scan to Black & White scan and that will give you this:While it's still bad shading, at least it's consistent-bad shading.At this point there are two options for the person doing the scanning:You can pre-clean the text prior to the final scan of the page.You can simply go with the gray background as above and get rid of that in a step further down in this articleNeedless to say, both of these have advantages and disadvantages but let's start with pre-cleaning the scan.Any time you are scanning, you need to first do a Prescan. This is done to verify that what you want to scan is on the scanning table and also allows you to crop the scan. This is also where you can make decisions on color or gray-scale scanning, resolution, final output size, create a name, where you are saving the image, etc. As a rule, I never save a scan as a JPEG, rather I always save it as a TIF image (for reasons that are beyond the focus of this blog). Yes, the TIF images will be large in storage size but do not worry, once you've converted them into PDFs (which will be considerably smaller), you can toss the TIF images you had just created.To fix the whiteness of the paper, bring up your scanner software's histogram. Most scanning software of merit has histograms and most of the software that comes with your scanner will have histograms. However, if you tend to use the "Full Auto mode" that some scanning software have, select the Professional mode that should also be available.[Important: Apple's Image Capture is absolutely dreadful for scanning and should be avoided at all cost. I do not know what's available as default on Windows machines but your first choice should be the software that came with your scanner. When first opened, it will probably come up with an Auto mode, do look for any options for Professional control.]When you first bring up the Histogram, it will probably look something like this (the red rectangle is my crop line):A histogram, if you are not familiar with them, is a bar graph of all  256 shades from black to white along the "X" (horizontal) axis where the far right is absolute white while  the far left side is absolute black. The "Y" (vertical) axis is the count of pixels that have that specific shade of gray so that if any given shade has a whole bunch of pixels, it will be tall column, if fewer pixels are of any given shade, it will be shorter. In the case of this scan, we can see that there's a lot of light-medium gray pixels through to some medium dark pixels and no white or light gray and no black or dark gray pixels.What we can do is to tell the scanner that light gray pixels should be considered white and that the medium dark pixels should be considered black. To to this you mouse-down and slide the little arrows on the bottom of the histogram until we see what we want as shown below:If you look at the image above you can see that most of the light gray pixels were too dark for what I wanted, I wanted the pixels that made the page look white. The trick is to maintain  the text remains black. Keep in mind this in entirely subjective. What you do not want to do is to make the gray so white as to cause the text to start losing its shape as shown below on the right side.The good news is that if you are scanning a number of pages, the controls of the histogram are sticky. That means that once you set everything for the first page, all subsequent pages from the same souce should be good to go.After setting the histogram, the final scan look pretty good as shown below:At this point you can either drag these TIFs into Acrobat icon or Open the TIF from the Acrobat's Open window. Acrobat will automatically convert these not only into PDFs but also "Searchable" PDFs. What that means is that Acrobat can "OCR" (Optical Character Recognition) all of the text and convert that into words so you can both search and copy and paste the text. Below is the TIF from above that has now been converted into a PDF and is also search-able You can see that it's search-able because I can select the text in the document.Had I not done that cleaning, Acrobat could still do the conversion to PDF and making it search-able as shown below.But is the text here any better or worse than the other? For those who do OCRing on a regular basis there are known issues that can come to bite you. For example if the letters "r" and "n" appear next to each other in a poor quality scan, they can be interpreted as an "m." One way to test this is to convert the PDF into a Word document and look for underlined text with red lines. The red lines indicate bad spelling that can either beA real word that Word doesn't know about (e.g., someone's surname)A word that was chopped in half (e.g., a hyphenated word, if Word didn't do the hyphenation so it doesn't know it's been hyphenated)A word that was originally misspelled in the documentA word that was badly OCRd.So, here's the cleaned text after converting into Word:And here's the text that was not pre-cleaned and converted into Word:As you can see, there are a significantly greater amount of errors with the text that was not pre-cleaned in the scanner prior to converting to text via OCR. But admittedly, a lot of people do not want to bother pre-cleaning a document, they don't think about it  or are unaware that it can be done.Now, I should point out one important thing here is that what you see in this PDF is not necessarily what the OCR text thinks it is. So for example, while in the PDF you may clearly see "It's raining.." as the first words in the story, the not pre-cleaned text is "It'sraining..." So if you copy and paste this, you may not get exactly what you are expecting.But I continue...However, there is ONE MORE way to clean a scan and make it into a nice looking PDF and that's to delete the background by editing out that background in Acrobat. OK, here's the deal: When text is OCRd in Acrobat, a new layer of text is created ON TOP of the original document. The original document is below and the text is removed from the original document, and any image remains in the lower layer. Any component of that PDF can be deleted at any time. Here's how:First open that original, non pre-cleaned scan in Acrobat, but this time after opening the document, click on "Edit PDF" in the Tools in the Right Hand Panel. If you do not see "Edit PDF..." in the Right Hand Panel, open Tools and click on the drop down below "Edit PDF" to add it to the Shortcuts on the Right Hand Panel. "Edit PDF" is such a valuable tool that if you do not already have it there, it should be for easy and quick access in the future.After adding it to the Right Hand Panel, the tool will default-land on the bottom. If you want to rearrange this you can move it to a higher location by simply dragging it to the location of your choice.Now that you have easy access to "Edit PDF...," click on it with your original scan. When you do so you will see Acrobat doing a variety of processing on the image.You will now see thin rectangle lines around all of the text. The text is now completely editable and if there were any words that the original article had misspelled, you can fix then. But the important thing here is that you can now click on the background and delete the background. As shown below: just click your cursor where there's no text:Now tap the Delete key and all the gray is gone. Then tap the Close Tool by clicking on the "X" in the upper right corner to get out of Edit mode:and you will see a very clean document as shown below [I want to thank Kelly Vaughn for introducing me to this great trick]:Keep in mind that the quality of this OCR is just as bad as it was before, the page just looks better. However, the actual quality of any scan will vary considerably all over the place so do not dismiss this approach out of hand. In addition, the value of an excellent OCR has more to do with the need for quality search-ability. The scan itself will be clean and easy to read and often, that's typically the most critical issue.One other issue  is: what do you do if the background contains important images. As stated earlier, the background contains the background content: both poor scanning debris AND any images that the document may have. The text, after OCRing, resides on a layer above the background. But if you rely upon deleting the back areas of a scan, watch out if there are images on the page.Finally, here is the page above but as a pre-cleaned color image scan that has both the images on the page as well as the text.Scanning a page with the intent of creating a PDF and/or to access the text of that page, one has make choices based on many factors: how clean the original page is, how thin the paper is, how much time do you want to take with the scan, is the quality of the OCR critical, and all of the other issues touched upon in this article. There is software out that that can do an amazing amount in "Auto" mode and I do not think you should avoid those when available. However, if the specific document you have does not provide an acceptable result, this article should provide the information for you to know what went wrong and why, and more importantly, how to get the best possible document to keep for yourself or to send to someone else.

Adobe Community Guidelines

The Adobe Community is a place to ask questions, find answers, learn from experts, and share your knowledge. Because we are a community used by people of all ages, cultures, and people at work, we carefully moderate its content. Please help us keep them a safe and welcoming place for all members and abide by our Community Guidelines.   These Guidelines govern your use of Adobe Community and are incorporated by reference into the Adobe General Terms of Use. If you encounter content that violates these Guidelines, please follow the instructions in the 'Report Abuse' section below. We take these to heart and hope that you’ll do the same as well.      1. Be Respectful  The Adobe Community is a platform that helps people deepen their knowledge of Adobe products and services and connects learners to teachers worldwide. To maintain the quality of content and resources on the platform, we don’t allow you to post mature, abusive, or illegal content to Adobe Community, including but not limited to the following: Spam and advertisements Pornographic material & explicit nudity   Hate speech or highly offensive language   Harassment and threats   Graphic violence   Illegal activities or goods   Self-harm or the promotion of self-harm   Depictions of minors in a sexual manner   Promotion of terrorism or violent extremism     2. Be Supportive  We are a community designed to promote and encourage creative expression and a learning environment. Keep your posts, comments, private messages, and other communications on-topic, constructive, and encouraging.    3. Be Safe  Do not share your own or others’ personal information (like full name, home address, phone number, email address, government-issued IDs, or anything else that would let someone locate or contact you in the real world).    Beware of users purporting to be Adobe employees who are requesting your personal information or trying to gain access to your computer. Never share your serial number with anyone.All Adobe employees are required to have a red Adobe logo on their avatar, and the role 'Adobe Employee' under their username. Please use the report button if you detect anything suspicious.    4. Be Authentic  We disable accounts that engage in behavior that undermines the authenticity of our community, including but not limited to, the following deceptive, harmful behaviors:   Using fake profiles  Impersonating other people or entities  Posting false or misleading information  Falsely attributing some else’s work  Using automated or scripting processes (such as bulk or automated uploading of content through a script)  Accepting or offering compensation in exchange for engagement   Engaging in schemes or third-party services to boost account engagement     Uploading other people's work as if it is your own is a copyright infringement and is not tolerated. If you aren’t sure whether your use of someone else’s content or trademark in your own work is legal, you can talk to an attorney or consult publicly available reference materials at the following:  U.S. Copyright Office website  U.S. Patent & Trademark Office website  Lumen    If you want to report the misuse of your own creative work or your own trademark by one of our users, you can do that here: Reporting Infringement on Adobe's Network form.   If you have a contract or other dispute with an Adobe Community user about content they have uploaded to our site, please resolve the issue directly with the user. We can’t moderate contracts, employment, or other disputes between our users and the public.    5. Report Abuse    If you ever believe a user is violating the Adobe Community Guidelines, you can report it by clicking on the ‘Report’ button below each conversation and providing a brief explanation about why the content violates the Community Guidelines. About third-party contentWebsites You may redirect users to a third-party website only when providing relevant context and if:  The information isn’t in our HelpX articles or other Adobe official channels.  The content is directly related to the user’s question.  It’s free content available in a public channel (e.g., online tutorial, non-paying website, etc.).  Non-Adobe Products If you're sharing information about a third-party paid product, please adhere to the following: It must be a service or product not offered already by Adobe, that fixes an issue that Adobe doesn't offer a solution for. Provide relevant context of why you're sharing it, and make sure it's directly related to the user’s question.  Explicitly state that it's a paid product. SignaturesWebsite addresses or links in signatures will be considered spam and a breach of the community guidelines, which could lead to your account being banned.    For more information about what you can and can’t do on our platform, check out our Terms of Use. 

Audition Crashed. Now what?

Supply General Information about the Crash What were you doing when it crashed? What have you done since you last launched the application? If it crashes with a plug-in or a file, supply information about the plug-in or file. Has anyone else experienced the crash?  Anyone else on the forums, or perhaps a friend that also owns Audition? Was there an error message?  Post a screenshot. Submit a bug report with as much of the above information here for a bug: Post here for a feature request. When asked, send additional information directly to the Adobe Audio team by emailing links to media, projects, crash dumps, or other supporting files here: audbugs@adobe.com Finally, let us know if Audition's Crash Recovery system or automatic session backups worked for you.   Supply Information about your System   Mac OS X Windows    Go to "About This Mac"   Press [ More Info... ] to launch the System Profiler Go to the Start Menu > (All) Programs > Accessories > System Tools > System Information    Save the profile to a file.   Save the System Information to a file.       Supply Information about the Crash Mac OS X Windows Include log files that Audition Creates by choosing Include log files that Audition Creates.​ Help > Reveal Log Files... Include log files that Audition Creates by choosing Include log files that Audition Creates.​ Help > Reveal Log Files... Copy the text from the OSX Crash Log, supply this information with any crash report. Note any additional information from the Windows Error Reporter dialog Go ahead and still submit the crash report through the OSX crash reporter as well as the Adobe Crash Reporter Tool.  Be sure to supply comments that answer the questions mentioned above. Go ahead and still submit the crash report through the Windows Error Reporter.