Search found 10 matches

by neekfenwick
2018-12-22T06:13:25-07:00
Forum: Users
Topic: Centos Imagick readImage for SVG seems to ignore delegates.xml
Replies: 9
Views: 11769

Re: Centos Imagick readImage for SVG seems to ignore delegates.xml

[EDIT: original post claimed this wasn't working, but I noticed I was being a massive tool and missing that of course my attempt to run 'convert' on the command line has nothing to do with the environment of a PHP script running Imagick ] Very good call snigbo .. I actually do have that call before ...
by neekfenwick
2018-12-21T20:46:50-07:00
Forum: Users
Topic: Centos Imagick readImage for SVG seems to ignore delegates.xml
Replies: 9
Views: 11769

Re: Centos Imagick readImage for SVG seems to ignore delegates.xml

Thanks for all the responses! You've reminded me of the '-verbose' command line switch which of course shows exactly how 'convert' is doing the conversion, and it led me to some conclusions. I had thought delegates.xml wasn't being used because I saw differences in the 'convert' output to the raw 'r...
by neekfenwick
2018-12-21T02:54:51-07:00
Forum: Users
Topic: Centos Imagick readImage for SVG seems to ignore delegates.xml
Replies: 9
Views: 11769

Re: Centos Imagick readImage for SVG seems to ignore delegates.xml

FYI, as you might expect, with my new 'blah' entry in delegates.xml I also cannot make command line 'convert' use it, i.e.: $ convert blah:master.svg out.png Gives blank image patterns. $ /usr/local/bin/rsvg-convert master.svg -o out.png Gives good looking image patterns. So it seems as much a probl...
by neekfenwick
2018-12-21T02:49:55-07:00
Forum: Users
Topic: Centos Imagick readImage for SVG seems to ignore delegates.xml
Replies: 9
Views: 11769

Re: Centos Imagick readImage for SVG seems to ignore delegates.xml

Good call fmw42, I should have listed that in my original post. $ convert -list format | grep -i svg MSVG SVG rw+ ImageMagick's own SVG internal renderer SVG SVG rw+ Scalable Vector Graphics (RSVG 2.40.16) SVGZ SVG rw+ Compressed Scalable Vector Graphics (RSVG 2.40.16) So the built-in RSVG delegate ...
by neekfenwick
2018-12-20T21:05:51-07:00
Forum: Users
Topic: Centos Imagick readImage for SVG seems to ignore delegates.xml
Replies: 9
Views: 11769

Re: Centos Imagick readImage for SVG seems to ignore delegates.xml

P.S. Perhaps "Delegates (built-in): [cut] rsvg" indicates that the rsvg delegate is built-in, and as I have found, older versions of rsvg do a poor job of converting my SVG with image pattern fills. So my original question still stands, how do I show exactly what method Imagick is using to...
by neekfenwick
2018-12-20T21:03:08-07:00
Forum: Users
Topic: Centos Imagick readImage for SVG seems to ignore delegates.xml
Replies: 9
Views: 11769

Centos Imagick readImage for SVG seems to ignore delegates.xml

Hi all, I find that even if I corrupt the 'svg' delegates.xml line, so that the delegate binary should not be found, the conversion still happens (badly). I would like to know how to find what my system is using to perform the SVG conversion. # convert -version Version: ImageMagick 6.9.10-16 Q16 x86...
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: 46262

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: 46262

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: 46262

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: 46262

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...