[Gimp-user] Python script query

2012-11-12 Thread Lorgach
Hi All,

Thanks again for all the assistance.

I tried out a few variations of the [delete] tags in AnimStack and managed to
get the desired results for editing my Gifs.

I had difficulty getting the [delete] tag to work properly... it deletes the
first two layers and then every second layer after that.
I found that by inserting a duplicate layer of Layer 1 and then changing the
name of this to [delete] and then running 'Process AnimStack Tags' I got the
desired result of  leaving the first one and then deleting every second layer in
the list after that.

In order to delete all the layers, starting at a particular one, I just change
the name of the layer I want to delete from to [delete:2:2] and then run
'Process AnimStack Tags' this deletes all the layers from that one right to the
end.

To delete all the layers from the first one up to a particular one I change the
name of the first one to [delete:1:1:n] and this will delete all the layers up
to ‘n + 1’ one. . .  eg. [delete:1:1:20] will delete all the layers from the
first one up to and including layer 21.

Using AnimStack in this way will enable me to edit my Gifs more efficiently.

-- 
Lorgach (via www.gimpusers.com/forums)
___
gimp-user-list mailing list
gimp-user-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-user-list


[Gimp-user] Tearing my hair out

2012-11-12 Thread Briyanna
>On 11/12/12 15:43, Briyanna wrote:
>I'm still running 2.6 but I think it's the same
>I think you're dragging by the normal window manager header,
>not the gimp dialog header, which is the bar just below it where
>the tool options menu button is along with the tool name.
>Press and hold in the area to the left of the tool options menu button
>(e.g. if it's showing the paintbrush tool, 
>the tool options menu button is the arrow to the right
>of where it says "Paintbrush" at the top;
>press on the tool name or the blank area to the left of the left arrow
>button)
>
>BTW, once it's back where it belongs,
>you can bring up the tool options menu and select "lock to tab to
>dock"
>which should prevent dragging it out in the future.
>
>Gary

I am dragging the icon/text that says "Tool Options", not the window itself.

-- 
Briyanna (via www.gimpusers.com/forums)
___
gimp-user-list mailing list
gimp-user-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-user-list


Re: [Gimp-user] Tearing my hair out

2012-11-12 Thread Gary Aitken
On 11/12/12 15:43, Briyanna wrote:
> I accidentally pulled my Tool Options tab from my Toolbox.  No matter how I 
> drag
> it back to where it says "You can drop dockable dialogs here" it does not 
> return
> to where it came from.  It will drag itself to random places all over my
> display, but it refuses to dock back to the Toolbox.
> 
> I've seen tutorials and help texts and videos show that there should be a blue
> outline when it's in place, or it turns into a hand in some versions, but that
> doesn't happen for me - the top left corner remains a black "arrow" (corner),
> and it will drag maybe halfway to where I tell it to if I am trying to move it
> across the screen, and drop where it feels like dropping.
> 
> Does anyone have any idea how to put the Tool Options tab BACK on the Toolbox
> where it belongs?
> 
> Thanks!
> 
> Using GIMP v 2.8.2 on Windows 7 Home Premium
> 

I'm still running 2.6 but I think it's the same
I think you're dragging by the normal window manager header,
not the gimp dialog header, which is the bar just below it where
the tool options menu button is along with the tool name.
Press and hold in the area to the left of the tool options menu button
(e.g. if it's showing the paintbrush tool, 
the tool options menu button is the arrow to the right
of where it says "Paintbrush" at the top;
press on the tool name or the blank area to the left of the left arrow button)

BTW, once it's back where it belongs,
you can bring up the tool options menu and select "lock to tab to dock"
which should prevent dragging it out in the future.

Gary
___
gimp-user-list mailing list
gimp-user-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-user-list


[Gimp-user] Tearing my hair out

2012-11-12 Thread Briyanna
I accidentally pulled my Tool Options tab from my Toolbox.  No matter how I drag
it back to where it says "You can drop dockable dialogs here" it does not return
to where it came from.  It will drag itself to random places all over my
display, but it refuses to dock back to the Toolbox.

I've seen tutorials and help texts and videos show that there should be a blue
outline when it's in place, or it turns into a hand in some versions, but that
doesn't happen for me - the top left corner remains a black "arrow" (corner),
and it will drag maybe halfway to where I tell it to if I am trying to move it
across the screen, and drop where it feels like dropping.

Does anyone have any idea how to put the Tool Options tab BACK on the Toolbox
where it belongs?

Thanks!

Using GIMP v 2.8.2 on Windows 7 Home Premium

-- 
Briyanna (via www.gimpusers.com/forums)
___
gimp-user-list mailing list
gimp-user-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-user-list


Re: [Gimp-user] Python script query

2012-11-12 Thread Chris Mohler
On Sun, Nov 11, 2012 at 7:13 PM, Lorgach  wrote:
> Thanks a lot for the sugestions guys, I'll probably keep pluging away at 
> trying
> to get some working code as time permits as I'm interested in learning Python.

With one image open, try:

Filters->Python-Fu->Console

Enter:

my_img = gimp.image_list()[0]

Then:

dir(my_img)

Also:

dir(gimp)


I usually have the console open before or during writing a plug-in so
I can mess around first.  The other window I have open is
Help->Procedure Browser.

HTH,
Chris
___
gimp-user-list mailing list
gimp-user-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-user-list


[Gimp-user] Python script query

2012-11-12 Thread Grue
>I have tried out the 'AnimStack' plugin but found that it dosen't
>perform the Delete functions very well or else I'm just not using it
>correctly.

Hi, the author of AnimStack here. I would wager the latter option is correct,
since it clearly does perform the delete functions, and people other than myself
are using it for this specific purpose (i.e.
https://sites.google.com/site/taumox/making-animated-gif-image-from-a-video-scene)

Have you watched the video tutorial for this feature?
http://www.youtube.com/watch?v=49FGgONSduM&t=7m40s

P.S. Consider learning Scheme/Script-Fu as it's much easier to develop/debug
GIMP scripts in it.

-- 
Grue (via www.gimpusers.com/forums)
___
gimp-user-list mailing list
gimp-user-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-user-list


Re: [Gimp-user] create a custom tool or run script at cursor?

2012-11-12 Thread Ofnuts

On 11/11/2012 03:31 AM, Dexter Filmore wrote:

Am Friday 09 November 2012 14:34:17 schrieb Ofnuts:


I don't know any way to get at the pointer coordinates when the script
is called. There are ways to give it coordinates (using a vector), but
this is not as dynamic.

How do you mean by using a vector, and what by "not as dynamic"?


See http://gimp.open-source-solution.org/manual/gimp-tool-path.html

It's not as dynamic because you have to set the path, then switch to the 
script, providing the path. It's not like a tool that uses the mouse 
clicks directly.

___
gimp-user-list mailing list
gimp-user-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-user-list