/drive/community?hl=en
/drive/community?hl=en
3/22/14
Original Poster
matteosistisette

BUG: pdf files not displayed properly in Google Drive when editing. Images horribly posterized.

Is this the place to report issues? Why is not there a "report a problem" link like in other google products, or a decent bugtracker? Anyway.
 
A contact of mine shared a pdf file on Google Drive with me.
I received the email notification with the link to edit the pdf file.
 
I followed the link; the pdf contained a few photos. The photos are not displayed properly. The colors look horribly posterized.
If I download the file with the "Download the current version" link and open the saved file locally with the pdf viewer, it looks just fine.
Community content may not be verified or up-to-date. Learn more.
All Replies (3)
Google user
3/22/14
Google user
matteosistisette,

Please feel free to send feedback about this via drive.google.com > help > send feedback.

- Mike
Bas Braams
3/22/14
Bas Braams
<<The photos are not displayed properly.>> That is a known issue with the Docs+Drive pdf viewer and it is good to report it again on this forum. For sure the issue is well known to Docs+Drive staff too, but it is not being addressed. The issue goes back to May 2013 or perhaps earlier. (The drive pdf viewer was introduced early in 2013.)

Let me summarize what we know on the forum about this and related issues. Upload of a pdf file to Drive works fine; the information, including color images, is all there, as can be verified by downloading the file and inspecting it away from the Drive viewer. (The Original Poster has confirmed this.) However, the Drive pdf viewer reduces the color (or grayscale) resolution in images to 5 bits, down from a normal 24 bits. If the image is recognized as color then the 5 bits encode 32 colors, if it is recognized as grayscale then they encode 32 grays, and if the image is a mix of color and grayscale then the 5 bits encode 16 colors and 16 grays.

Other images: Images in Word (*.docx) files appear to be affected in the same way as are images in pdf files. The drive viewer appears to display *.png and *.jpg (*.jpeg) images fine with full color resolution. Tiff (*.tif) images receive a very special treatment: 5 bits are used and then in the resulting code the order of bits (left-to-right versus right-to-left) is inverted.

Here is an example that I've used before to show how color images in a pdf file are displayed by the Drive viewer. I created a pdf file that contains one (composite) image including a mix of color and grayscale. I uploaded that file to my Dropbox space and also to my Drive space, and shared it for public viewing.

GDocsImagesGrayscaleColorComposite.pdf on the Dropbox cloud:

GDocsImagesGrayscaleColorComposite.pdf on the Docs+Drive cloud:

Here are screenshots of the way that this composite image is seen today. On the left is the view that is obtained for the file on the Dropbox cloud (for which the regular browser built-in pdf viewer would be used) and on the right is the view that is obtained for the file on the Drive cloud (for which the Docs+Drive viewer takes control).

For a similar example that involves an image in a Word file please see [1] and for an example that shows the treatment of Tiff files please see [2].


[1] (2014-01-17) Google drive and google docs and Word documents -

/drive/forum/AAAAOxCWsTohXMCgatl6u8?msgid=3EvKXwKND3QJ

[2] (2014-01-26) Google Drive inverting color on picture previews

/drive/forum/AAAAOxCWsToXg6GzMQnZ9s?msgid=gVw88btuH7IJ


3/22/14
Original Poster
matteosistisette
On Saturday, March 22, 2014 8:29:48 AM UTC+1, Tickmc wrote:
> matteosistisette,
> Please feel free to send feedback about this via drive.google.com > help > send feedback.
 
Oh my god, why do they put that in a different place for every damn google product? I've been looking for that like an idiot.
Oh, and I can see why: that is not available when editing the pdf (so I cannot send the screenshot through that, btw).
Were these replies helpful?
How can we improve them?
 
This question is locked and replying has been disabled. Still have questions? Ask the Help Community.

Badges

Some community members might have badges that indicate their identity or level of participation in a community.

 
Expert - Google Employee — Googler guides and community managers
 
Expert - Community Specialist — Google partners who share their expertise
 
Expert - Gold — Trusted members who are knowledgeable and active contributors
 
Expert - Platinum — Seasoned members who contribute beyond providing help through mentoring, creating content, and more
 
Expert - Alumni — Past members who are no longer active, but were previously recognized for their helpfulness
 
Expert - Silver — New members who are developing their product knowledge
Community content may not be verified or up-to-date. Learn more.

Levels

Member levels indicate a user's level of participation in a forum. The greater the participation, the higher the level. Everyone starts at level 1 and can rise to level 10. These activities can increase your level in a forum:

  • Post an answer.
  • Having your answer selected as the best answer.
  • Having your post rated as helpful.
  • Vote up a post.
  • Correctly mark a topic or post as abuse.

Having a post marked and removed as abuse will slow a user's advance in levels.

View profile in forum?

To view this member's profile, you need to leave the current Help page.

Report abuse in forum?

This comment originated in the Google Product Forum. To report abuse, you need to leave the current Help page.

Reply in forum?

This comment originated in the Google Product Forum. To reply, you need to leave the current Help page.