Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Optimize PDF corrupts some images but not others

Explorer ,
Dec 08, 2021 Dec 08, 2021

Hello! I'd like to optimize some PDF courses and the Acrobat DC optimizer works well for around 90% of the graphics but some graphics are so corrupted that I won't be able to use the optimized file. 

Here's an example of corruption - graphic on left is original, graphic on right is optimized:

Optimize1.gif

For comparison, here's a similar graphic on another slide: original on left, optimized on right looks great:

Optimize2.gif

Any ideas?

I'm using Acrobat Pro DC Version 2021.007.20099.

I tried Tools > Optimize PDF and Save As with Reduce Filesize chosen, same result.

thanks!

Lori

TOPICS
Create PDFs , Edit and convert PDFs , General troubleshooting
2.8K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
1 ACCEPTED SOLUTION
Explorer ,
Dec 10, 2021 Dec 10, 2021
LATEST

Hello all, here's the resolution for this issue:

The Acrobat optimizer (Acrobat Pro DC > Tools > Optimize PDF) worked well on all of my pages except for pages that had a .jpg image anywhere on the page. The reason those pages looked junky was because I was using the default optimizer settings which include a default JPEG Compression Quality setting of Medium. Apparently, if there are any .jpg images on the page, the optimizer attempts to preserve the .jpg quality by processing the entire page as a .jpg. This does not work out well if you have any elements on the page that are not .jpg.

My solution was to go to the Advanced Optmization screen and choose Maximum Quality for JPG Quality Compression. This did result in an increased optimized file size but at least the images looked reasonably ok.

Lori

View solution in original post

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 08, 2021 Dec 08, 2021

Hi Lori,

 

What you're seeing in the first example is a classic case of JPG degradation. The JPG file format is (what is called) a Lossy format, in that when it compresses, it loses data. Since it can't just delete pixels willy nilly, it takes the pixels/information from a near adjacent pixel. When you have a photo of a tree, you'd never see this. But if the tree is adjacent to a clear blue sky, that's what you see. 

 

I "appears" that the blue and gray in that first photo are jpg images but the rest of it very likely is either a PNG format or a GIF format. Both of those are not lossy and display limited color images excellently. However, I've never heard of, nor have seen of a single image that is both. So I'm really not sure what's taking place there without personally examining the document.

 

Meanwhile, when you do an Optomization of a PDF, there's only so much it can do with text to make the document smaller. So it must rely upon any images to optomize the document. If it's important to optomize everything, about the only thing I can think of is to take all of the images and place them in Photoshop (or somethign similar) and save them as either GIF or PNG images. Low color range images like you show can be cut in storage size significantly by such conversion.

 

If that's not an option, one other thing you could do is to bring the document into the Organize Pages, see which images are damaged by the Optomization, and replace those pages with non-Optomized pages/images. This way the ones that can't be affectively optomized will still appear just fine while those that can be optomized will carry the brunt of the size compression. 

 

Yeah, lots of data that is probably not very relevant to you but that's the best explanation I can think of.

 

Good luck!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Dec 08, 2021 Dec 08, 2021

Thanks Gary - so the weird thing is that the graphics in the "bad" optimization slide and the "good" optimization slide  use the exact same background parts (from the PowerPoint template).  The background in both examples is made up of some vector graphics and a .jpg. The little cartoon pictures in both good and bad are also exactly the same format. 

So the question is this: why would the optimizer trash one image and not the other?

Lori

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 08, 2021 Dec 08, 2021

Can you send me via a DM one of the files in question? It's hard to guess when I do not have access to the item I'm guessing about. (But I did say I had never heard of this before.) What I'd be looking for is/are layers in the document and some of that is on one layer and other parts are on another layer.

 

Thanks!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Dec 08, 2021 Dec 08, 2021

Yes will do. I've saved the PowerPoint out to PDF and am trying to optimize that - do you want the PP file or PDF?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 08, 2021 Dec 08, 2021

If you could save out one page of the PP that shows the problem and the compliment PDF of that page, that would probably be fine. Maybe one page and PDF where the problem isn't showing up might be good to have as well.

 

Wish us luck, no promises!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Dec 08, 2021 Dec 08, 2021

Just sent you a private DM. Turns out the backgrounds of the two slides isn't exactly the same :-\. Once we find a solution, we can post back on the forum.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Dec 10, 2021 Dec 10, 2021
LATEST

Hello all, here's the resolution for this issue:

The Acrobat optimizer (Acrobat Pro DC > Tools > Optimize PDF) worked well on all of my pages except for pages that had a .jpg image anywhere on the page. The reason those pages looked junky was because I was using the default optimizer settings which include a default JPEG Compression Quality setting of Medium. Apparently, if there are any .jpg images on the page, the optimizer attempts to preserve the .jpg quality by processing the entire page as a .jpg. This does not work out well if you have any elements on the page that are not .jpg.

My solution was to go to the Advanced Optmization screen and choose Maximum Quality for JPG Quality Compression. This did result in an increased optimized file size but at least the images looked reasonably ok.

Lori

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines