It is currently 07 Mar 2021, 12:26
| ||||
| ||||
|
|

Parallax Animation Script for GIMP

Re: Parallax Animation Script for GIMP
What is an animation frame? How is that different? I keep saving the file as a .gif but it will not play. When called up to open later, it looks like a single layer. I did this several times because initially I thought I forgot to check the animation button but that is not the problem.
Thank you Tin, for such a nice script. You make it so much easier for us to make nice images. You are a "Script Genie".
- tim
- View:
|Posts
- Topic Posts: 8/23 | Posts: 5306
- Joined: 26 Sep 2016, 00:16
- Cash on hand: 77,142.06 GLP
- Bank: 289,236,631.00 GLP
- Gender: Guy
- Location: Canada
- GIMP Version: 2.10.X
- Paint Blotches blog
- Play them songs blog
- Personal Blog
- x 3096
- x 1048
- Contact:
It's the same as before just on a new image now so you don't have to delete your original layers.. you still have to rename layers appropriately and export as animated gif.Pat625 wrote: ↑11 Feb 2017, 02:04What is an animation frame? How is that different? I keep saving the file as a .gif but it will not play. When called up to open later, it looks like a single layer. I did this several times because initially I thought I forgot to check the animation button but that is not the problem.
aka Tin
Thanks for providing your script. I attempted to use it, but found out that Ubuntu is now, after all this time, attempting to get rid of Python 2. So, just to use the script, I had to build Gimp from source. I decided however that I was going to attempt to use the latest Git source, so that means I'm using a bleeding edge 2.99 version of Gimp. In the process, I also found that they don't really support gimpfu any more, and are in the process of trying to convert everything to Python3. That being the case, I converted the script to Python3. Anybody that is using the latest bleeding edge Gimp can try it. I also attempted to add a bug fix into the script. It tended to have those frames that were copied from in the background. So, I turned OFF the original layers, so they weren't visible while it was constructing the video. I'm providing the script here, but it *IS NOT* polished. Negative steps scroll left, positive steps scroll right. For images around 800x600, 10 seems to be good. It creates a NEW image with all of the animation frames. Just export this when its finished. Large images and many frames can generate 1.2GB output. So, ffmpeg is your friend when you really want to view or USE the scene, but this SHOULD be fine for a lot of simple game screen generation.
To use:
1. Create your scene with 4 layers (the bottom most one is non-moving), the one above that is the slowest background, and so on.
2. Navigate to Filters->Animation->Parallax. It should pop up a dialog asking about step size. Click OK and it should create a new image.
3. Export the new image to .gif. Using the time between frames, you can adjust the speed. If you need to adjust the STEP size,
then you'll have to adjust the script (the current default is 10, so moving right. 10 should work for an image size of 800x600, so if your
image is SMALLER, user a smaller step size. If it is LARGER, you might want to go with a larger step size. The minimum is -500, but
that isn't likely very practical. And the maximum of 500 isn't likely very practical either.
AGAIN, this only works with bleeding edge Gimp, so if you try to use it on 2.10.x or something like that, and it doesn't work, well, there's your problem. If you have some other, earlier version, you are likely better off using the above script.

To use:
1. Create your scene with 4 layers (the bottom most one is non-moving), the one above that is the slowest background, and so on.
2. Navigate to Filters->Animation->Parallax. It should pop up a dialog asking about step size. Click OK and it should create a new image.
3. Export the new image to .gif. Using the time between frames, you can adjust the speed. If you need to adjust the STEP size,
then you'll have to adjust the script (the current default is 10, so moving right. 10 should work for an image size of 800x600, so if your
image is SMALLER, user a smaller step size. If it is LARGER, you might want to go with a larger step size. The minimum is -500, but
that isn't likely very practical. And the maximum of 500 isn't likely very practical either.
AGAIN, this only works with bleeding edge Gimp, so if you try to use it on 2.10.x or something like that, and it doesn't work, well, there's your problem. If you have some other, earlier version, you are likely better off using the above script.

Last edited by roboknight on 01 Feb 2021, 22:21, edited 3 times in total.
GIMP Learn rocks...
-
gimpturkey
- View:
|Posts
- Topic Posts: 8/23 | Posts: 156
- Joined: 16 Dec 2020, 11:10
- Cash on hand: 492.91 GLP
- Bank: 0.00 GLP
- Gender: Guy
- Location: turkey
- GIMP Version: 2.10.2
- gimp turkey
- gimp gif
- x 209
- x 62
oh my god parallax When will the number of layers stop constantly increasing?
stop parallax stop

GIMP Learn rocks...
-
gimpturkey
- View:
|Posts
- Topic Posts: 8/23 | Posts: 156
- Joined: 16 Dec 2020, 11:10
- Cash on hand: 492.91 GLP
- Bank: 0.00 GLP
- Gender: Guy
- Location: turkey
- GIMP Version: 2.10.2
- gimp turkey
- gimp gif
- x 209
- x 62
This is very nice. I want to learn. Gimp It is very nice to learn in the animation world
GIMP Learn rocks...
-
gimpturkey
- View:
|Posts
- Topic Posts: 8/23 | Posts: 156
- Joined: 16 Dec 2020, 11:10
- Cash on hand: 492.91 GLP
- Bank: 0.00 GLP
- Gender: Guy
- Location: turkey
- GIMP Version: 2.10.2
- gimp turkey
- gimp gif
- x 209
- x 62
GimpDersleriNasılyapılır wrote: ↑02 Feb 2021, 10:58This is very nice. I want to learn. Gimp It is very nice to learn in the animation world
Last edited by gimpturkey on 01 Mar 2021, 19:57, edited 1 time in total.
GIMP Learn rocks...
- tim
- View:
|Posts
- Topic Posts: 8/23 | Posts: 5306
- Joined: 26 Sep 2016, 00:16
- Cash on hand: 77,142.06 GLP
- Bank: 289,236,631.00 GLP
- Gender: Guy
- Location: Canada
- GIMP Version: 2.10.X
- Paint Blotches blog
- Play them songs blog
- Personal Blog
- x 3096
- x 1048
- Contact:
Instructions says "create 3 layers" you have way more that's why it doesn't work.
aka Tin
-
gimpturkey
- View:
|Posts
- Topic Posts: 8/23 | Posts: 156
- Joined: 16 Dec 2020, 11:10
- Cash on hand: 492.91 GLP
- Bank: 0.00 GLP
- Gender: Guy
- Location: turkey
- GIMP Version: 2.10.2
- gimp turkey
- gimp gif
- x 209
- x 62
Sorry. I couldn't. I tried it with 3 layers. but the articles are blurry.I want to learn.
My ears don't hear enough. That's why I had to quit. I used to be a graphic designer in my old job. I decided to learn Gimp at home. I researched a lot and found you. You are giving me very good education. I want to continue.

Last edited by gimpturkey on 01 Mar 2021, 19:58, edited 2 times in total.
GIMP Learn rocks...
-
gimpturkey
- View:
|Posts
- Topic Posts: 8/23 | Posts: 156
- Joined: 16 Dec 2020, 11:10
- Cash on hand: 492.91 GLP
- Bank: 0.00 GLP
- Gender: Guy
- Location: turkey
- GIMP Version: 2.10.2
- gimp turkey
- gimp gif
- x 209
- x 62
Is there anything tutorial about Parallax?GimpDersleriNasılyapılır wrote: ↑02 Feb 2021, 12:14Sorry. I couldn't. I tried it with 3 layers. but the articles are blurry.I want to learn.
My ears don't hear enough. That's why I had to quit. I used to be a graphic designer in my old job. I decided to learn Gimp at home. I researched a lot and found you. You are giving me very good education. I want to continue.![]()
GIMP Learn rocks...
| ||||
| ||||
|
-
- Similar Topics
- Replies
- Views
- Last post
-
- 4 Replies
- 1375 Views
-
Last post by tim
23 Nov 2020, 16:26
-
-
Falling snow animated Scheme Script for Gimp
by JimmyMarco » 03 Apr 2020, 17:35 » in GIMP Scheme Fu Scripts - 30 Replies
- 19352 Views
-
Last post by Lenny
25 Apr 2020, 22:30
-
-
-
Draw A Flower Of Life Symbol With This Script
by gibletsWithShaman » 10 Apr 2020, 22:51 » in GIMP Python Fu Scripts/Plug-ins - 8 Replies
- 4927 Views
-
Last post by Steve Reid
20 Jun 2020, 17:05
-
-
-
First attempt at writing Plugin/Script Combination!
by CtrlAltDel » 28 Apr 2020, 10:25 » in Anything Goes - 1 Replies
- 1728 Views
-
Last post by Pat625
28 Apr 2020, 20:22
-
-
- 2 Replies
- 2215 Views
-
Last post by Pat625
25 May 2020, 01:04
-
- 5 Replies
- 2672 Views
-
Last post by GJL
12 Jun 2020, 09:31
-
- 4 Replies
- 1864 Views
-
Last post by mahvin
13 Jun 2020, 15:43
Who is online
Users browsing this forum: No registered users and 14 guests