box / viewer.js

A viewer for documents converted with the Box View API
Apache License 2.0
336 stars 99 forks source link

Boxes become perforated on conversion #60

Closed jda284 closed 10 years ago

jda284 commented 10 years ago

When converting the PDF below (actual file sent to @lakenen) the boxes on the first slide are perforated. This is not in the actual PDF pages. Pages 2 and 3 with same box formats appear to work well.

spl commented 10 years ago

@jda284 I don't know if you're trying to hide the text on the document, but it can still be selected and copied.

jda284 commented 10 years ago

@spl thanks for letting me know. Do you know of a good way to block the text on sensitive PDFs?

spl commented 10 years ago

@jda284 One way may be to open the PDF in a reader program and print it again to a PDF. It's easy enough to do on a Mac, but I'm not sure about Windows. On Linux, I'm sure you can use one of a number of PDF conversion utilities.

For now, you may want to delete the document from the Box server.

lakenen commented 10 years ago

@spl / @jda284 I don't think printing it will necessarily do the trick. In this case, I'd say just don't post it publicly. For future reference, you might have to remove the text from the original .pptx file to be sure that it isn't in the pdf.

jda284 commented 10 years ago

@spl @lakenen thanks Cameron and Sean. The only problem is that oftentimes we don't have access to the PPT, only PDF. In the future I will make sure when I upload to make link expire.

lakenen commented 10 years ago

@jda284 quick update on this: it doesn't look like a conversion issue. There is actually an image being used on the first page that causes the "perforation" effect when the browser resizes and antialiases the image. It just turns out that some PDF viewers and browsers disagree on the final result of down-sampling and antialiasing images.

jda284 commented 10 years ago

@lakenen thanks for the update