[TYPO3-dev] Is there is a bug in cropscaling of gifbuilder?
Christian Welzel
gawain at camlann.de
Mon Oct 27 13:20:55 CET 2008
Hi there,
there seems to be a bug in cropscaling code of typo3 core.
i had a picture that should be thumbnailed but it does not.
after digging an hour into the code i found this in the
gifbuilder:
this is the dump of the original image:
Array
(
[0] => 2276
[1] => 3416
[2] => jpg
[3] => fileadmin/home/golo_berg_farbe.jpg
)
this is the result of getImageScale():
Array
(
[cropH] => 0
[cropV] => 0
[crs] => 1
[origW] => 100
[origH] => 100
[max] => 1
[0] => 67
[1] => 101
)
this is $cmd from imageMagickExec:
-geometry 67x101! -colorspace RGB -quality 70 -sharpen 1x2 -crop 100x100+-16+0
It seems imagemagick does not generate an image with these settings.
changing the image dimensions of the original image to values where the height
(field [1]) is exactly 100, all thumbnaling works as expected.
Can someony confirm this bug?
--
MfG, Christian Welzel
GPG-Key: http://www.camlann.de/key.asc
Fingerprint: 4F50 19BF 3346 36A6 CFA9 DBDC C268 6D24 70A1 AD15
More information about the TYPO3-dev
mailing list