]> git.koha-community.org Git - koha.git/commit
Bug 13954 - Patroncards: images show inadequate rough pixelation
authorMarc Véron <veron@veron.ch>
Mon, 6 Apr 2015 12:06:46 +0000 (14:06 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Wed, 8 Apr 2015 13:44:50 +0000 (10:44 -0300)
commit0700afa7966ac475939c7ca04298e317d4f124b6
tree31b4b239ea00644eeba7eb80d94c3e1a90fca293
parent8905857a47fd52cc5e50694067dc6c9b1db017ff
Bug 13954 - Patroncards: images show inadequate rough pixelation

This patch provides a much better quality of images on patron cards.
It inserts images at a higher resolution into the PDF file and then scales it down internally in PDF.

Additionaly, the patch removes the follwing warning:
"my" variable $template masks earlier declaration in same scope at /usr/share/kohaclone/patroncards/create-pdf.pl line 66

To test:

- Create patron cards, save them as PDF and display them with a PDF viewer, e.g. at 400%
- Without patch, the images are very pixelated.
- Apply patch
- Verify that in the PDF the images now display with a much better quality.

Signed-off-by: Chris Nighswonger <cnighswonger@foundations.edu>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
C4/Patroncards/Patroncard.pm
patroncards/create-pdf.pl