It seems that the frame_edges script no longer works on newer versions of ImageMagick.
I recently upgraded from version 6.5.7-5 to 6.8.1-10.
Now the frame_edges shell script generates images with empty borders.
Could someone take a look at the frame_edges script, and hopefully tell me what I need to change to make it work with ImageMagick 6.8.1-10?
Thanks a lot!
frame_edge script not working
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: frame_edge script not working
I split your post from the old thread you attached it to
Looking...
Looking...
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: frame_edge script not working
Looks like
-size ... tile:...
is producing a blank image in the main framing command
But when I try to replicate it with a simpler setup... it works fine!
Even this which is closer to what is really being done works fine.
xc:red and xc:blue prepresent are the PNG 'framing images' and they are being read in correctly,
It is saved in the mpr:horz in-memory image store, as I can pull out and display the image from the MPR before the tiling.
it is the 'tile:mpr:' that produces a blank image from the images stored in MPR in the "frame_edge" script that goes wrong.
I have no idea why, and can not replicate the fault outside the script.
-size ... tile:...
is producing a blank image in the main framing command
But when I try to replicate it with a simpler setup... it works fine!
Code: Select all
convert -size 10x10 xc:red xc:none xc:blue -alpha set -append \
-write mpr:horz +delete -background none -size 30x30 tile:mpr:horz \
show:
Code: Select all
convert -size 10x10 xc:red xc:blue -alpha set \
-append -background none -splice 0x30+0+10 \
-write mpr:horz +delete -size 50x50 tile:mpr:horz \
show:
It is saved in the mpr:horz in-memory image store, as I can pull out and display the image from the MPR before the tiling.
it is the 'tile:mpr:' that produces a blank image from the images stored in MPR in the "frame_edge" script that goes wrong.
I have no idea why, and can not replicate the fault outside the script.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/