Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Make an animation template - opacity help
#1
Hi, Long time lurker, new time member (or something)

im currently working on some sprite animations of symbols and wondering if there was a way to speed it up. 

im taking an image 250 x 250 and reducing the opacity by 5% each time and re saving the image.

So images look like:

1 - 100%
2 - 95%
3 - 90% ....etc

*to*


22 - 0%

*to*

39 - 95%
40 - 100% ...etc

im using around 40-50 frames of animation for a smooth transition from solid image to 100% opacity to solid image again.

I use a sprite sheet generator to take all the image and load them up into a 7x7 sprite sheet, but I could do with speeding up the animating process.

I guess my question is, instead of having to manually change to opacity for every image and save it and change it again and save it, 50 times over for each image, is there a way to create a template or use the filters/tools to help me do this to speed up the process? its currently taking around 10-15 minutes per image. And I have hundreds of images to animate. 

I hope all this made sense. 

Appreciate any help or pointers with this.

thanks

RW
Reply
#2
I am not too sure about your requirement but maybe the attached plugin Slideshow.py will go part of the way there.
Unzip. Put in your User plug-ins folder.

   

Find it in the Animation menu. One option is a fade from top layer to bottom layer. I did check layer opacities and it is a linear fade.

Obviously for a fade-back-in reverse the layer order, save and re-open as layers over the (original) image.

https://i.postimg.cc/L8Mpv3FX/temp.webp


Attached Files
.zip   Slideshow.zip (Size: 2.61 KB / Downloads: 12)
Reply
#3
ill give this a try and let you know if its what I need. Seems like it could work

Thats amazing! Thanks so much for your help.

Halved the amount of time taken to animate Smile
Reply
#4
To generate the layers, add two transparent layers to your image layer, , either one above and one below, or two below, depending if you want an appearing or a vanishing effect, and use Filters > Animation > Blend (with "loop" unchecked).  

If you need to export the result as individual images, have look at my ofn-export-layers script.
Reply
#5
(11-14-2022, 05:05 PM)Ofnuts Wrote: To generate the layers, add two transparent layers to your image layer, , either one above and one below, or two below, depending if you want an appearing or a vanishing effect, and use Filters > Animation > Blend (with "loop" unchecked).  

If you need to export the result as individual images, have look at my ofn-export-layers script.

Thanks ill check this out.
Reply
#6
The 2 methods shown here are for fading a single frame. I think fading an animation series (series of frames) would be useful. To do a 'fade-in' or 'fade-out' in Gimp now you have to import a PNG series into a video editor. Then export them as PNG's and re-open them in Gimp.
Reply
#7
(11-16-2022, 08:52 PM)Tas_mania Wrote: The 2 methods shown here are for fading a single frame. I think fading an animation series (series of frames) would be useful. To do a 'fade-in' or 'fade-out' in Gimp now you have to import a PNG series into a video editor. Then export them as PNG's and re-open them in Gimp.

GIF are low-grade videos, so making a good video then making a GIF from it if necessary doesn't look all that wrong to me.
Reply


Forum Jump: