Search found 4 matches

by neekfenwick
2018-08-12T22:05:48-07:00
Forum: IMagick
Topic: Composite image onto image with transparency, ADD and BLEND not right
Replies: 5
Views: 2105

Re: Composite image onto image with transparency causes rainbow colour distortion

Aha! COMPOSITE_OVER does indeed do the trick, if I start with the overlay image, and compose the main image over it. So I start with a different overlay image, this time one that's the same dimensions as the main image (1000x1000 pixels): img_fullsize.png: https://imgur.com/a/5Jf1dEP And compose ove...
by neekfenwick
2018-08-12T00:05:38-07:00
Forum: IMagick
Topic: Composite image onto image with transparency, ADD and BLEND not right
Replies: 5
Views: 2105

Re: Composite image onto image with transparency causes rainbow colour distortion

@snibgo I provided a screenshot. Just create two layers and position the smaller image to be overlaid 'underneath' the main image. However, achieving an effect in a graphics package is a different process to doing it via Imagick, e.g. in the first thread I linked to above, http://www.imagemagick.org...
by neekfenwick
2018-08-11T22:45:26-07:00
Forum: IMagick
Topic: Composite image onto image with transparency, ADD and BLEND not right
Replies: 5
Views: 2105

Re: Composite image onto image with transparency causes rainbow colour distortion

Update: I've a strong feeling I need to create a mask based on the transparency of the main image.. that would give me a mask shaped like the rectangular area but, crucially, with cutouts for the shiny pot on the stove for example. Then I need to crop my overlay image using this mask, to remove bits...
by neekfenwick
2018-08-11T22:11:26-07:00
Forum: IMagick
Topic: Composite image onto image with transparency, ADD and BLEND not right
Replies: 5
Views: 2105

Composite image onto image with transparency, ADD and BLEND not right

PHP 5.6 (yes, I know, it's old) imagick module 3.4.3 (2018-07-24) system: Fedora Linux Linux uberneek.localdomain 4.17.11-100.fc27.x86_64 #1 SMP Mon Jul 30 15:22:33 UTC 2018 x86_64 I have a 'main' image of a kitchen with a roughly rectangular transparency layer, with some faint contents representing...