To Diffs
36 lines
from [GM Conjure][1] I can't work out how to invert the colors on an image.
from [GM Conjure][1] I can't work out how to set the blend mode on an image when using composite.
TL:DR:
TL:DR:
I'm trying to create a conjure script to:
I'm trying to create a conjure script to:
- *copy* `base_image` as `copy_image`
- *copy* `base_image` as `copy_image`
- *invert* `copy_image`
- *invert* `copy_image`
- *blur* `copy_image`
- *blur* `copy_image`
- `copy_image` *set blend*: color dodge
- `copy_image` *set blend*: color dodge
- *copy* merged as `merged_image`
- *copy* merged as `merged_image`
- `merged_image` *set blend*: linear burn
- `merged_image` *set blend*: linear burn
```xml
```xml
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<group>
<group>
<image id="base_image">
<image id="base_image">
<read filename="MYIMG.PNG">
<read filename="MYIMG.PNG">
</image>
</image>
<image id="copy_image">
<image id="copy_image">
<read filename="MYIMG.PNG">
<read filename="MYIMG.PNG">
<!-- invert -->
<!-- invert -->
<!-- set blend mode -->
<!-- set blend mode -->
<blur radius="32">
<blur radius="32">
</image>
</image>
<image id="merged_image">
<image id="merged_image">
<composite image="base_image" image="copy_image">
<composite image="base_image" image="copy_image">
<!-- set blend mode -->
<!-- set blend mode -->
</image>
</image>
<image>
<image>
<composite image="base_image" image="copy_image" id="merged_image">
<composite image="base_image" image="copy_image" id="merged_image">
<write filename="">
<write filename="">
</image>
</image>
</group>
</group>
```
```
[1]: http://www.graphicsmagick.org/conjure.html
[1]: http://www.graphicsmagick.org/conjure.html