uclibs / scholar_uc_legacy

Source code for Scholar@UC up to version 3.x. Replaced by ucrate
Other
5 stars 1 forks source link

Some PDFs have blank/white thumbnails #1932

Closed hortongn closed 5 years ago

hortongn commented 6 years ago

Descriptive summary

See examples below. The thumbnails generate properly in our local environments and on Curly, but not on production, scholar-qa, or scholar-dev

https://scholar.uc.edu/show/9c67wn401 (Has two PDFs, part 1 & 2) https://scholar.uc.edu/show/4q77fr77p (Also has two PDFs, part 1 and 2) https://scholar.uc.edu/show/f4752h21b https://scholar.uc.edu/show/qb98mg04j https://scholar.uc.edu/show/rb68xc45f

May be related to issues resolved in #1735

hortongn commented 6 years ago

Verified that running mogrify -flatten Programschriften_box383_7679_Part1.pdf on scholar-dev converts the PDF into just a single blank page PDF.

So ImageMagick's mogrify command, not ghostscript, is the problem. Looks like when mogrify tries to flatten all the layers of the PDF it just results in a single blank page.

hortongn commented 5 years ago

Move to https://github.com/uclibs/ucrate/issues/452