Bug #18013
closedImage compositing with JPGs results in dithered output
0%
Description
I want to create a dynamic image, where I have a JPG as a background, and want to insert some text in the foreground:
TEASER = IMAGE
TEASER.file = GIFBUILDER
TEASER.file {
XY = 302, 282
format = jpg
quality = 100
10 = IMAGE
10.file = fileadmin/images/teaserbild.jpg
10.file.width = 300
20 = TEXT
20.text = Do it!
20.fontColor = white
20.offset = 190,190
}
The text turns out fine, but the background image suffers from heavy dithering. Looking in the temp folders, there is GIF version of teaserbild.jpg.
This somehow seems to be related to issue 4186. I already applied the latest patch from there, and just scaling an image works fine. But not when doing a composition.
Does anybody have a suggestion on this?
Attached is the original image, and a rendered result.
The problem arouses independet of ImageMagick version; I had a 4 and a 6 on Linux and a 5 on Windows - the images always look the same (they always get converted into a GIF at one step).
(issue imported from #M7194)
Files