Page 1 of 1

frame_edge script not working

Posted: 2013-10-02T03:30:12-07:00
by av01d
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!

Re: frame_edge script not working

Posted: 2013-10-02T17:47:41-07:00
by anthony
I split your post from the old thread you attached it to

Looking...

Re: frame_edge script not working

Posted: 2013-10-02T19:27:36-07:00
by anthony
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!

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:
Even this which is closer to what is really being done works fine.

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