You are here

Jagged Border

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
Rate this item!
AttachmentSize
script-fu-jagged-border.scm8.91 KB

Creates a white (or black) border around an image that merges in with the image so that on a larger white (or black) background, the image appears to have a ragged border. This is similar to the Gimp's Fuzzy Border, but it adapts its jaggedness to the image. (Also unlike Fuzzy Border, it is deterministic, it does not depend on random number seeds.)

Some examples of what I mean by a jagged border that "adapts" to the image, which also illustrate the difference between a white and black border (it's not just the color), are shown in this triplet of images:

http://www.flickr.com/photos/theilr/4102672801
seaweed -- original no border

http://www.flickr.com/photos/theilr/4103434084
seaweed -- white border white border

http://www.flickr.com/photos/theilr/4103433020
seaweed -- black border black border

An example (with a short animation) that shows how they are created:
http://www.flickr.com/photos/theilr/3644571097

Code License: 
GIMP Version: 
Scripting Engine: 

Comments

What a cool idea. Just left you a comment at your Flickr too. Thanks for the Script-fu. :)

Thanks for a useful script. Just what I needed.

Subscribe to Comments for "Jagged Border"