Page MenuHomePhabricator

Some elements missing from PDF thumbnails
Closed, ResolvedPublic

Description

The pages in the scanned PDF file http://commons.wikimedia.org/wiki/File:Houston17RailroadsMeetTheSea.pdf (which originally comes from http://www.archive.org/details/houstonwhereseve00farb) appear to consist of high-resolution b&w (well, black-and-transparent, really) images overlaid on top of lower resolution color images. However, in the thumbnails only the low resolution color layer is shown, so that for example page 9 appears completely blank, even though it actually contains a substantial amount of text.


Version: unspecified
Severity: normal
URL: http://commons.wikimedia.org/w/index.php?title=File:Houston17RailroadsMeetTheSea.pdf&page=9

Details

Reference
bz23652

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 11:11 PM
bzimport set Reference to bz23652.
bzimport added a subscriber: Unknown Object (MLST).

The black-and-white version of the same PDF (http://commons.wikimedia.org/wiki/File:Houstonwhereseve00farb_bw.pdf) also breaks, but in a different way: no thumbnails are shown for some pages at all, and viewing the thumbnail URL directly shows the following message:

Error creating thumbnail: GPL Ghostscript 8.61: Unrecoverable error, exit code 1
convert: no decode delegate for this image format `/tmp/magick-XXPAcJW7'.
convert: missing an image filename `/mnt/thumbs/wikipedia/commons/thumb/5/56/Houstonwhereseve00farb_bw.pdf/page1-794px-Houstonwhereseve00farb_bw.pdf.jpg'.

py wrote:

this is referenced by rt 1175 which is now closed.

this can probably be closed, but needs verification.

Only looks partially fixed by the GS upgrade to 8.71 (bug 26388). Looks like it'll likely get solved with an upgrade to GS 9.05 (bug 36580).

(In reply to comment #3)

Only looks partially fixed by the GS upgrade to 8.71 (bug 26388). Looks like
it'll likely get solved with an upgrade to GS 9.05 (bug 36580).

No. https://upload.wikimedia.org/wikipedia/commons/thumb/9/9b/PL_Gallus_Anonymus_-_Kronika_Marcina_Galla.pdf/page1-81px-PL_Gallus_Anonymus_-_Kronika_Marcina_Galla.pdf.jpg

Error generating thumbnail

Error creating thumbnail: GPL Ghostscript 9.05: Unrecoverable error, exit code 1
convert: no decode delegate for this image format `/tmp/magick-18ivK2AC' @ error/constitute.c/ReadImage/532.
convert: missing an image filename `/tmp/transform_5a720eb26b35-1.jpg' @ error/convert.c/ConvertImageCommand/3011.

The PDF has an absurd resolution but works fine in okular.

All of the files linked in the discussion here thumbnail correctly for me now.

Only looks partially fixed by the GS upgrade to 8.71 (bug 26388). Looks like it'll likely get solved with an upgrade to GS 9.05 (bug 36580).

We're running Ghostscript 9.10 these days.

matmarex set Security to None.