Actions
Bug #71825
closedimage rendering results in very hight file size
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2015-11-25
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
Hello,
I noticed a very strange behavior of image rendering. The file size of a compressed jpg, which is rendered by graphicsmagick is as much as bmp, but you can see some artefacts as well.
If I change the resulting format to png or gif, the file size is much less than the jpg.
I have done a workaround, but this only helps to fight the symptoms, not knowing the reason.
10 = FILES 10 { references { table = pages fieldName = media } renderObj = IMAGE renderObj { file { quality = 80 import.data = register:imageURL maxW = 150 ext = jpg } } }
This results in bad image quality and very high file size
10 = FILES 10 { references { table = pages fieldName = media } renderObj = COA renderObj { 10 = LOAD_REGISTER 10.imageURL.data = file:current:publicUrl 20 = IMAGE 20 { file = GIFBUILDER file { XY = [10.w],[10.h] format = jpg quality = 80 10 = IMAGE 10 { file { import.data = register:imageURL maxW = 150 } } } } } }
This ist my workaround.
Can anybody comprehend this behaviour?
Files
Actions