Skip to content
This repository was archived by the owner on Jan 7, 2019. It is now read-only.
This repository was archived by the owner on Jan 7, 2019. It is now read-only.

generate_thumbs.py sollte auch JPG und PNG verarbeiten #113

@marians

Description

@marians

Bei Kölner Daten kommen häufiger JPG-Dateien vor. generate_thumbs.py erzeugt einen Fehler, wenn ein derartiges Attachment vorliegt.

Grundsätzlich sollte es kein Problem sein, Thumbs für JPGs zu erzeugen, nur eben nicht über Ghostscript.

Creating thumb - attachment_id=5239d2e444cf2b79a5452b13, filename=4383_2012_Anlage_2_-_Bestand_heute.jpg
Command: /usr/bin/gs -dQUIET -dSAFER -dBATCH -dNOPAUSE -sDisplayHandle=0 -sDEVICE=png16m -r100 -dTextAlphaBits=4 -sOutputFile=/home/ok/offeneskoeln2/offeneskoeln/webapp/static/thumbs/3/1/5239d2e444cf2b79a5452b13/max/%d.png -f /tmp/tmpbcmD2E/4383_2012_Anlage_2_-_Bestand_heute.jpg
Error: GPL Ghostscript 8.71: Unrecoverable error, exit code 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions