RSS/Atom feed Twitter
Site is read-only, email is disabled

problems scripting plugin-in-dog

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

2 of 2 messages available
Toggle history

Please log in to manage your subscriptions.

problems scripting plugin-in-dog John Storey-Bishoff 02 Aug 18:14
  problems scripting plugin-in-dog Sven Neumann 08 Aug 12:28
John Storey-Bishoff
2006-08-02 18:14:51 UTC (almost 18 years ago)

problems scripting plugin-in-dog

Hello,

I was trying to apply the DoG edge detection plug-in in a script and have been seeing the following errors.

(gimp:5944): Gimp-Core-CRITICAL **: gimp_drawable_mask_bounds: assertion `gimp_item_is_attached (item)' failed

(gimp:5944): Gimp-Core-CRITICAL **: gimp_drawable_mask_bounds: assertion `gimp_item_is_attached (item)' failed

(gimp:5944): Gimp-Core-CRITICAL **: gimp_drawable_shadow: assertion `gimp_item_is_attached (item)' failed

(gimp:5944): Gimp-Base-CRITICAL **: tile_manager_get: assertion `tm != NULL' failed

If you have had success using this plug-in in a script could you let me know.

I am essentially: - loading my image
- creating a new layer
- running the plugin passing in my image and drawable layer.

Here are the commands I'm using.

(file-dicom-load 0 "/home/storeybish/a/scans/mri_july25/links/13526192" "/home/storeybish/a/scans/mri_july25/links/13526192") (gimp-layer-new 1 480 768 2 "layer" 100 0) (plug-in-dog 1 1 3 4.0 12.0 1 1)

This also leaves the undo stack in a bad state.

If I display the image before applying the plug-in-dog I can run the edge detection manually.

Any help appreciated. Thanks,
John




___________________________________________________________ All new Yahoo! Mail "The new Interface is stunning in its simplicity and ease of use." - PC Magazine http://uk.docs.yahoo.com/nowyoucan.html

Sven Neumann
2006-08-08 12:28:48 UTC (almost 18 years ago)

problems scripting plugin-in-dog

Hi,

On Wed, 2006-08-02 at 17:14 +0100, John Storey-Bishoff wrote:

(file-dicom-load 0
"/home/storeybish/a/scans/mri_july25/links/13526192" "/home/storeybish/a/scans/mri_july25/links/13526192") (gimp-layer-new 1 480 768 2 "layer" 100 0) (plug-in-dog 1 1 3 4.0 12.0 1 1)

You need to add the layer to the image before you can manipulate it.

Sven