It is currently 01 Mar 2021, 22:18

Search found 38 matches

by sweeneyMark
19 Jun 2020, 13:21
Forum: GIMP Script Requests
Topic: auto-crop the layer to the mask
Replies: 2
Views: 1801

Re: auto-crop the layer to the mask

pdb.gimp_image_select_item(image,2,mask)
pdb.gimp_selection_grow(image,64)
layer = pdb.gimp_image_get_active_layer(image)
pdb.gimp_selection_invert(image)
pdb.gimp_edit_clear(layer)
pdb.plug_in_autocrop_layer(image,layer)
by sweeneyMark
19 Jun 2020, 13:20
Forum: GIMP Script Requests
Topic: auto-crop the layer to the mask
Replies: 2
Views: 1801

Re: auto-crop the layer to the mask

nevermind, I surprised myself and hacked it out!
by sweeneyMark
19 Jun 2020, 10:38
Forum: GIMP Script Requests
Topic: auto-crop the layer to the mask
Replies: 2
Views: 1801

auto-crop the layer to the mask

Hi,

A script that :

Selects the current layers mask
then converts that mask to a selection
then grows the selection by 30 pixels
then autocrops the layer to that selection.

To produce a layer trimmed to the layer mask size.

Thanks
by sweeneyMark
14 Jun 2020, 19:00
Forum: GIMP Script Requests
Topic: select, feather, copy and paste from random source layer. - Request
Replies: 2
Views: 4714

Re: select, feather, copy and paste from random source layer. - Request

Hi Tin, Could I put in a request for a variation of this script please. At the moment the functionality is: Select a layer Mask - Run Script - it picks a layer at random from a named set and replaces the current mask with that layer This is great for picking random masks from generic watercolour sou...
by sweeneyMark
16 Dec 2019, 13:10
Forum: GIMP Python Fu Scripts/Plug-ins
Topic: Jiggle Visible Layers Plug-in.
Replies: 5
Views: 5342

Re: Jiggle Visible Layers Plug-in.

Thanks, that worked. :)
Although the cancel button doesn't, so it can't be stopped.
It's quite slow on my machine, about 1 letter a second. Thats a 16K image though.
by sweeneyMark
15 Dec 2019, 14:46
Forum: GIMP Python Fu Scripts/Plug-ins
Topic: Jiggle Visible Layers Plug-in.
Replies: 5
Views: 5342

Re: Jiggle Visible Layers Plug-in.

hi,

Anyway of redrawing the image as each letter is jiggled?
Then you can see what your getting as it works it's magic.
by sweeneyMark
15 Dec 2019, 09:14
Forum: GIMP Scheme Fu Scripts
Topic: Custom Font (scheme Script) for GIMP
Replies: 13
Views: 10568

Re: Custom Font (scheme Script) for GIMP

Hello,

Is there a way to increase the height of the text entry field from one line?

Best Regards
by sweeneyMark
14 Dec 2019, 23:04
Forum: GIMP Script Requests
Topic: A font file builder and reorder layers.
Replies: 8
Views: 6086

Re: A font file builder and reorder layers.

Also, what do you use to edit python in?
As soon as I touch one with a text editor they seem to break.

Thanks
by sweeneyMark
14 Dec 2019, 22:55
Forum: GIMP Script Requests
Topic: A font file builder and reorder layers.
Replies: 8
Views: 6086

Re: A font file builder and reorder layers.

perfect for anyone else.
However could you tell me where to put a "line" that'll set all layers to 100% opacity as part of the process?
And what that line would be :)