frame_edge script not working

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
av01d
Posts: 6
Joined: 2013-10-02T03:24:45-07:00
Authentication code: 6789

frame_edge script not working

Post 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!
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: frame_edge script not working

Post by anthony »

I split your post from the old thread you attached it to

Looking...
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: frame_edge script not working

Post 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.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply