Project

General

Profile

Actions

Bug #18013

closed

Image compositing with JPGs results in dithered output

Added by Rdiger Schulz almost 17 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2008-01-17
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.1
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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

teaserbild.jpg (57.8 KB) teaserbild.jpg Administrator Admin, 2008-01-17 19:21
19816fbbb0.jpg (67.6 KB) 19816fbbb0.jpg Administrator Admin, 2008-01-17 19:23
tt_content-menu-after-cObject.txt (1007 Bytes) tt_content-menu-after-cObject.txt Administrator Admin, 2009-10-27 10:30
tt_content-menu-after-cObject.jpg (17.9 KB) tt_content-menu-after-cObject.jpg Administrator Admin, 2009-10-27 10:33
Actions

Also available in: Atom PDF