New Engrave plugin

This plugin is an alternative to the existing Engrave plugin supplied with GIMP. Basically, the plug-in transforms a grayscale image into a series of horizontal lines of varying widths. For example, the following (small) image

can be transformed into:

(stand back 10-20 feet).

Full description at: http://pages.infinit.net/leware/engrave.html .

Average: 5 (3 votes)
AttachmentSize
engrave.scm12.72 KB

Comments

Better as new image

Since the script change the image mode in Greyscale, will be better to output on a new image (at least as extra option, but even then may be a better default )

Or who use risk a bad surprise, to edit 1 layer all the other layers may get screwed up

(well there is always UNDO but if the layer is on top in normal mode problem may went unnoticed till too late )

engrave script

I had "old stamp" effect engraving script. But when I downloaed and installed it with gimp 2.6.6 it doesn't work. The "Old Stamp" gave me the effect I am looking for.

SilllyGhost@yahoo.com

engrave script

reason why could not work is described in the link (see plugin comment) as the way to fix the problem.

I posted this as a plugin,

I posted this as a plugin, but I guess it's really a script (script-fu); the distinction was fuzzy in my mind. Should I delete this registration (can I?), and recreate correctly as a script? I would edit the description at the same time (plugin -> script).

Fails on my Installation

It fails with the error:
"Error: Procedure execution of gimp-context-set-pattern failed on invalid input arguments: Muster »Clipboard« wurde nicht gefunden " (Pattern "Clipboard" could not be found).

I'm using Gimp 2.6.1 on kubuntu linux. Gimp is runing in german translation. I did not activate the hack, but was trying to do the test with the Image that is supplied on the homepage.
The script exits, while the canvas is already scaled up but the image is only scaled to full width but not full height.

I would love to have this script running on my computer.

kruemi

Hacked (not really solved)

This is so hilarious that it is sad!

I searched the script for the line "clipboard" and uncommented the line. Than the script did finish without an error, but also without the desired result.
So i replaced the word "Clipboard" with the german translation "Zwischenablage" and tried again (and activated the hack) and... tadaa.. it runs now.

So it seems, that there is stuff that is language dependant, and this is really ugly. Someone knows a way around this?

kruemi

This is exactly what I was

This is exactly what I was going to suggest. I was a bit surprised, when I developed the script, to find the "clipboard" pattern as just a string like the others. So great, it works for you, I'll add a note to the documentation (assuming there isn't a better way -- I`ll look for one).

Tschüß

Clipboard is always the first

The clipboard is always the first pattern (same as for the clipboard brush).

Instead of (gimp-context-set-pattern "Clipboard")

try:

(gimp-context-set-pattern (list-ref (cadr (gimp-patterns-get-list "")) 0))

-Rob A>

Great, many thanks, this

Great, many thanks, this works. I have uploaded a new version of script with this change (no other, so I didn't bump the version no).