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

Workflow through scripting (Jan Kandziora)

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.

4 of 4 messages available
Toggle history

Please log in to manage your subscriptions.

Workflow through scripting (Jan Kandziora) John Smith 04 Oct 08:12
  Workflow through scripting (Jan Kandziora) Ofnuts 04 Oct 08:47
   Workflow through scripting (Jan Kandziora) Simon Budig 04 Oct 09:01
  Workflow through scripting (Jan Kandziora) Alexandre Prokoudine 04 Oct 08:50
John Smith
2016-10-04 08:12:05 UTC (about 8 years ago)

Workflow through scripting (Jan Kandziora)

Ahhhh!!!! Now you are talking. So I can download the source code and tweak it to my purposes using the C language? Is it that simple? Is it that easy?

Is there a documentation on the source code? Where is what? The architecture? I mean it often takes longer to know where to write the code than actually write it. Is there a way to ease this stage?

I suppose there are many forums dedicated to this subject. Do you have a favorite one?

And many thanks for this answer. It is a big step towards my goal. As you know the first steps are always the most difficult ones.

The problem is when I google let's say "tweaking the source code Gimp" I get a lot of ready made tools but I can't find the people who are actually coding.

Cordialement,

John

http://johnsmithimages.net

2016-10-03 14:00 GMT+02:00 :

Send gimp-user-list mailing list submissions to gimp-user-list@gnome.org

To subscribe or unsubscribe via the World Wide Web, visit https://mail.gnome.org/mailman/listinfo/gimp-user-list or, via email, send a message with subject or body 'help' to gimp-user-list-request@gnome.org

You can reach the person managing the list at gimp-user-list-owner@gnome.org

When replying, please edit your Subject line so it is more specific than "Re: Contents of gimp-user-list digest..."

Today's Topics:

1. Re: Workflow through scripting (Jan Kandziora) 2. Re: Paint tools locked up in Gimp 2.9 (Alexandre Prokoudine) 3. how to do this (perigalacticon) 4. Question About Gif Animation (Silicon_Chipmunk) 5. Re: Question About Gif Animation (achbarrr@gmail.com) 6. Gimp keeps making straight lines when trying to draw (SoundFlare) 7. Gimp keeps making straight lines when trying to draw (SoundFlare) 8. Re: Question About Gif Animation (Jan Kandziora)

----------------------------------------------------------------------

Message: 1 Date: Sun, 2 Oct 2016 14:11:08 +0200 From: Jan Kandziora
To: gimp-user-list@gnome.org
Subject: Re: [Gimp-user] Workflow through scripting Message-ID:
Content-Type: text/plain; charset=utf-8

Am 02.10.2016 um 09:24 schrieb John Smith:

Here is an example of the work-flow I have with Photoshop and I'd like to have with the Gimp. I am NOT afraid of coding.

John, if you aren't afraid of coding, there's NOTHING you cannot add/remove/change in GIMP. It's a free software, sources are available and you can alter them yourself and compile your very own GIMP.

This isn't too simple but still a feasible approach.

The reason why the UI isn't accessible through scripting is because it haven't scratched the itch of anybody yet. The people who want UI changes very badly do patch their GIMP themselves.

Kind regards

Jan

------------------------------

Message: 2 Date: Sun, 2 Oct 2016 21:46:54 +0300 From: Alexandre Prokoudine
To: "gimp-user-list@gnome.org"
Subject: Re: [Gimp-user] Paint tools locked up in Gimp 2.9 Message-ID:

Content-Type: text/plain; charset=UTF-8

On Thu, Sep 29, 2016 at 9:01 PM, dallypost wrote:

I am doing a rather involved layer blending project. I decided to go

with gimp

2.9.5 to take advantage of the extra color depth. I completed the

project and

saved as an XCF file. Later I reopened and tried to paint on the layer

masks to

do a bit of fine tuning. Brush, Pencil, Airbrush and Bucket fill are

having no

effect on layer masks or the layers themselves. I checked to make sure

that I

did not have an active but hidden selection, that pixels were not

locked, that

transparency was not protected.

I tried opening a new image and discovered that the paint tools are also

locked

up for that image as well. I am at a complete loss. Any ideas?

The first two things I would do is:

1. Check brush tools' settings like blend mode and opacity. 2. Check foreground color.

Alex

------------------------------

Message: 3 Date: Sun, 02 Oct 2016 04:31:35 +0200 From: perigalacticon
To: gimp-user-list@gnome.org
Cc: notifications@gimpusers.com
Subject: [Gimp-user] how to do this
Message-ID:
Content-Type: text/plain; charset=UTF-8

Hello,

I want to print a texture from the game Minecraft, the creeper texture. I have
an image file, I attached it.

I want to cut out each section of the texture and print them each at a specific
size/scale on 8.5"x11" paper.

For example I selected and copied the face and pasted in to a new image.

How should I set the image size and canvas size and other options such that the
face will print out on the paper at 5" square?

How should I do this? I want it to be fairly precise.

Thanks!

Attachments: * http://www.gimpusers.com/system/attachments/286/original/creeper.png

-- perigalacticon (via www.gimpusers.com/forums)

------------------------------

Message: 4 Date: Mon, 03 Oct 2016 01:50:58 +0200 From: Silicon_Chipmunk
To: gimp-user-list@gnome.org
Cc: notifications@gimpusers.com
Subject: [Gimp-user] Question About Gif Animation Message-ID:
Content-Type: text/plain; charset=UTF-8

Hi, I hope someone can help.

Sorry if this has already been asked, I couldn't find anything similar in the forums but might have missed something.

Is it possible to make a gif where two different things move at two different
speeds?
For example if I was animating a dragon, is there a way to make its wings to move at one speed (looped) while its eyes blink at a faster speed?

I keep wanting to make two Layer Groups so I can animate things separately, but
know
this won't work since Gimp can't animate layers in Groups. Any advice would be greatly appreciated.

--
Silicon_Chipmunk (via www.gimpusers.com/forums)

------------------------------

Message: 5 Date: Mon, 3 Oct 2016 10:01:50 +0000 (UTC) From: achbarrr@gmail.com
To: Silicon_Chipmunk , gimp-user-list@gnome.org Cc: notifications@gimpusers.com
Subject: Re: [Gimp-user] Question About Gif Animation Message-ID:

Content-Type: text/plain; charset=us-ascii

All you need is in adobe flash or you can try some like that called SYNFIG. this is best way to make great anination if you know

On Mon, Oct 3, 2016 at 6:05 PM +0900, "Silicon_Chipmunk" < forums@gimpusers.com> wrote:

Hi, I hope someone can help.

Sorry if this has already been asked, I couldn't find anything similar in the forums but might have missed something.

Is it possible to make a gif where two different things move at two different
speeds?
For example if I was animating a dragon, is there a way to make its wings to move at one speed (looped) while its eyes blink at a faster speed?

I keep wanting to make two Layer Groups so I can animate things separately, but
know
this won't work since Gimp can't animate layers in Groups. Any advice would be greatly appreciated.

--
Silicon_Chipmunk (via www.gimpusers.com/forums) _______________________________________________ gimp-user-list mailing list
List address: gimp-user-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list List archives: https://mail.gnome.org/archives/gimp-user-list

------------------------------

Message: 6 Date: Mon, 03 Oct 2016 12:12:26 +0200 From: SoundFlare
To: gimp-user-list@gnome.org
Cc: notifications@gimpusers.com
Subject: [Gimp-user] Gimp keeps making straight lines when trying to draw
Message-ID:
Content-Type: text/plain; charset=UTF-8

So I decided I wanted to start using my graphics tablet that I got.

Opened up GIMP, and doodled a little bit. I realized something was off with how
it felt.
I tried writing... and my 'a''s looked weird. They all were straight at the top
where I start writing them.

Is this some kind of setting for graphics tablets? It's rather annoying, especially when trying to write something or sketch and leaves big gaps in the
sketches.

Yes, I made sure I was using the pencil/paintbrush/airbrush tool. I don't even
know if there is a tool for straight lines like in PDN :\

Attachments: * http://www.gimpusers.com/system/attachments/287/original/Untitled.png

-- SoundFlare (via www.gimpusers.com/forums)

------------------------------

Message: 7 Date: Mon, 03 Oct 2016 12:48:29 +0200 From: SoundFlare
To: gimp-user-list@gnome.org
Cc: notifications@gimpusers.com
Subject: [Gimp-user] Gimp keeps making straight lines when trying to draw
Message-ID:
Content-Type: text/plain; charset=UTF-8

Edit: I have noticed that this is occuring with PDN too. Does anyone know how to fix this issue?

-- SoundFlare (via www.gimpusers.com/forums)

------------------------------

Message: 8 Date: Mon, 3 Oct 2016 13:49:05 +0200 From: Jan Kandziora
To: gimp-user-list@gnome.org
Subject: Re: [Gimp-user] Question About Gif Animation Message-ID:
Content-Type: text/plain; charset=windows-1252

Am 03.10.2016 um 01:50 schrieb Silicon_Chipmunk:

Hi, I hope someone can help.

Sorry if this has already been asked, I couldn't find anything similar in the forums but might have missed something.

Is it possible to make a gif where two different things move at two

different

speeds?

There is only one frame rate in animated GIFs. When you need different speeds for different parts of an animation, you need to double/triple and so on the "slow" frames, while animating the fast parts in it.

For example if I was animating a dragon, is there a way to make its wings to move at one speed (looped) while its eyes blink at a faster speed?

Basically, do this:

frame 0: wings up - eyes open frame 1: wings up - eyes closed
frame 2: wings down - eyes open
frame 3: wings down - eyes closed
loop

I keep wanting to make two Layer Groups so I can animate things

separately, but

know this won't work since Gimp can't animate layers in Groups. Any

advice would

be greatly appreciated.

Again, I recommend ImageMagick to do that duplication and animation work for you, see this example:

http://www.imagemagick.org/Usage/anim_mods/#composite

It first creates a coalesced_k.gif (a full frame/non-optimizied gif), then makes a shadows_k.gif from the original one -only for demonstration purposes, could be any "background" animation, e.g. your winged dragon-, then compose that background animation with the original coalesced_k.gif to compose_shadow.gif.

(gif_anim_montage is just a script which created the strip at the bottom of the tutorial step)

You are done!

Okay, if you want to do that wing flapping at a slower speed, you first had to double each frame within the gif. That's a bit trickier:

http://www.imagemagick.org/discourse-server/viewtopic.php?p=50325#p41868

Hope that helps.

Kind regards

Jan

------------------------------

Subject: Digest Footer

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

------------------------------

End of gimp-user-list Digest, Vol 61, Issue 5 *********************************************

Ofnuts
2016-10-04 08:47:50 UTC (about 8 years ago)

Workflow through scripting (Jan Kandziora)

On 04/10/16 10:12, John Smith wrote:

Ahhhh!!!! Now you are talking. So I can download the source code and tweak
it to my purposes using the C language? Is it that simple? Is it that easy?

For some definition of "simple" and "easy". The devil is in the details. Do you know glib? GTK? cairo?
The source code of a given version is here:

http://download.gimp.org/pub/gimp/v2.8/

The "live" repo is here:

https://github.com/GNOME/gimp

Is there a documentation on the source code? Where is what? The architecture? I mean it often takes longer to know where to write the code
than actually write it. Is there a way to ease this stage?

Ahah...

I suppose there are many forums dedicated to this subject. Do you have a favorite one?

AFAIK there is no forum for people hacking Gimp at the C level. There is a "gimp-developer" mailing list, an IRC channel (irc://irc.gimp.org/#gimp), and a wiki at http://wiki.gimp.org/wiki/Main_Page

And many thanks for this answer. It is a big step towards my goal. As you know the first steps are always the most difficult ones.

One last note:

- you can hack the "stable" 2.8 version, but all your changes will have to be moved to 2.10 when it comes out (and you'll want that one) - you can hack the "development" 2.9 version (that will become 2.10 when fit for public use), but you can have problems with broken builds, bugs not in your code, etc
- and when you are done with either 2.8 or 2.9/2.10, you learn that the next version is 3.0 and is a essentially a major UI revamp.

Alexandre Prokoudine
2016-10-04 08:50:31 UTC (about 8 years ago)

Workflow through scripting (Jan Kandziora)

On Tue, Oct 4, 2016 at 11:12 AM, John Smith wrote:

Is there a documentation on the source code? Where is what?

http://wiki.gimp.org/wiki/Hacking:Source_Tree

The
architecture? I mean it often takes longer to know where to write the code than actually write it. Is there a way to ease this stage?

Ask us specific questions that you have :)

I suppose there are many forums dedicated to this subject. Do you have a favorite one?

We use IRC for that.

https://www.gimp.org/irc.html

It's #gimp, the 2nd one mentioned there.

Alex

Simon Budig
2016-10-04 09:01:10 UTC (about 8 years ago)

Workflow through scripting (Jan Kandziora)

Ofnuts (ofnuts@gmx.com) wrote:

The "live" repo is here:

https://github.com/GNOME/gimp

Note that this is a mirror of the original "live" repo.

Most notably we don't deal with github style pull-requests etc.

The original repository is the gnome git: https://git.gnome.org/browse/gimp/

Bye, Simon

simon@budig.de              http://simon.budig.de/