Feature #20460

GIFBUILDER support for additional blend-modes

Added by Christian Hennecke about 10 years ago. Updated over 1 year ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Image Generation / GIFBUILDER
Target version:
-
Start date:
2009-05-18
Due date:
% Done:

0%

PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Currently, GIFGUILDER does not support blend-modes other than "over" (gm composite -compose over) for overlaying images. Having modes like "Multiply", "Difference", "Bumpmap", etc. available would greatly enhance the image processing abilities.

(issue imported from #M11130)

History

#1 Updated by Alexander Opitz about 6 years ago

  • Category set to Image Cropping
  • Status changed from New to Needs Feedback
  • Target version deleted (0)
  • TYPO3 Version set to 4.3

As this report is very old, is the handling in newer TYPO3 CMS Versions (like 6.0/6.1) more like you expect it?

#2 Updated by Christian Hennecke about 6 years ago

As far as I can tell from checking the latest TSref, this particular aspect has not changed since then.

#3 Updated by Chris topher about 6 years ago

Which GIFBUILDER property would that affect?

#4 Updated by Christian Hennecke about 6 years ago

I think this would need to be set on the respective IMAGE objects.

#5 Updated by Chris topher about 6 years ago

OK, and which properties of the IMAGE object? Or: How do you set blend-mode "over"? Concerning the structure of TypoScript properties I think the other blend modes should work similarly then?!

#6 Updated by Christian Hennecke about 6 years ago

The blend-mode "over" is currently hard-coded in class.t3lib_stdgraphic.php (at least in TYPO3 4.7, don't know about 6.x). See the function combineExec(). What we need is a new parameter "blendMode" for the IMAGE object that is then used to generate a suitable GraphicsMagick command.

#7 Updated by Chris topher about 6 years ago

The file is GraphicalFunctions.php in 6.x.

However, GraphicalFunctions.php is only the place, where it is hardcoded one time, but when you need the option for the IMAGE object, then you should edit the PHP file, which defines the IMAGE object, add a new option there and remove the hardcoded parameter from combineExec() (as otherwise you would get a command with two blend modes).

#8 Updated by Alexander Opitz almost 6 years ago

  • Status changed from Needs Feedback to New

#9 Updated by Mathias Schreiber over 4 years ago

  • Target version set to 7.2 (Frontend)

#10 Updated by Benni Mack about 4 years ago

  • Target version changed from 7.2 (Frontend) to 7.4 (Backend)

#11 Updated by Susanne Moog almost 4 years ago

  • Target version changed from 7.4 (Backend) to 7.5

#12 Updated by Benni Mack almost 4 years ago

  • Target version deleted (7.5)

#13 Updated by Susanne Moog over 1 year ago

  • Category changed from Image Cropping to Image Generation / GIFBUILDER

Also available in: Atom PDF