Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ofn-brush-strokes-on-path
#9
(04-22-2021, 09:11 AM)denzjos Wrote: Ofnuts, 'ofn-brush-strokes-on-path', a nice script. Two problems : if I animate a scene in gimp, then the moving object is perfect blending out. When I export the animation to a gif file, then the blending out disappeard. What am I doing wrong in the workflow ? Second problem : how can I use a background (picture or photo) in the animation? I just can choose between white, background(colour), foreground(colour), pattern and transparent. I tried some things but I can't figure out how to do it. Thanks in advance for the answer.
The exported gif file :

As seen in the animation in gimp:

Gif export settings I used :

In a GIF (and the color-indexed mode in Gimp) the opacity of pixels in layers/frames is binary so anything under 50% becomes transparent when you export to GIF.

In my own animations, I do the animation in RGB mode, and the object and its fading copies are put on a fully opaque background so all layers are fully opaque when I create the GIF. This isn't much of a problems because  in my animation the layers are in a solid color almost everywhere so they compress well. Over a real picture, I would expect Filters ➤ Animation ➤ Optimize (for GIF) to be quite efficient.

Technically, for a 3-steps fade:

  1. Create the N frames  of the animation, with fully opaque object on transparent background (stack image)
  2. Use  ofn-interleave-layers to copy the frames of Stack at 100% opacity over a solid background, yielding  Image1
  3. In Stack, move the top layer to the bottom
  4. Use ofn-interleave-layers to copy the frames of Stack at 75% opacity over the frames in Image1, yielding Image2. Image1 can be discarded.
  5. In Stack, move the top layer to the bottom
  6. Use ofn-interleave-layers to copy the frames of Stack at 50% opacity over the frames in Image2, yielding Image3. Image2 can be discarded.
  7. In Stack, move the top layer to the bottom
  8. Use ofn-interleave-layers to copy the frames of Stack at 25% opacity over the frames in Image3, yielding Image4. Image3 can be discarded.
  9. Export Image4 as your animation.
Reply


Messages In This Thread
ofn-brush-strokes-on-path - by Ofnuts - 04-13-2021, 09:02 PM
RE: ofn-brush-strokes-on-path - by Krikor - 04-14-2021, 04:30 PM
RE: ofn-brush-strokes-on-path - by Ofnuts - 04-14-2021, 09:08 PM
RE: ofn-brush-strokes-on-path - by Ofnuts - 04-18-2021, 08:18 PM
RE: ofn-brush-strokes-on-path - by Krikor - 04-19-2021, 10:14 PM
RE: ofn-brush-strokes-on-path - by denzjos - 04-22-2021, 09:11 AM
RE: ofn-brush-strokes-on-path - by Ofnuts - 04-22-2021, 02:17 PM
RE: ofn-brush-strokes-on-path - by rich2005 - 04-22-2021, 10:44 AM
RE: ofn-brush-strokes-on-path - by denzjos - 04-22-2021, 10:52 AM
RE: ofn-brush-strokes-on-path - by denzjos - 04-22-2021, 02:56 PM
RE: ofn-brush-strokes-on-path - by Ofnuts - 04-22-2021, 03:00 PM
RE: ofn-brush-strokes-on-path - by denzjos - 04-23-2021, 06:06 PM
RE: ofn-brush-strokes-on-path - by denzjos - 04-24-2021, 04:33 PM
RE: ofn-brush-strokes-on-path - by Ofnuts - 04-24-2021, 05:10 PM
RE: ofn-brush-strokes-on-path - by Krikor - 04-24-2021, 05:12 PM
RE: ofn-brush-strokes-on-path - by Ofnuts - 04-27-2021, 07:19 PM
RE: ofn-brush-strokes-on-path - by rich2005 - 04-24-2021, 06:28 PM
RE: ofn-brush-strokes-on-path - by denzjos - 04-27-2021, 05:21 PM
RE: ofn-brush-strokes-on-path - by teapot - 05-01-2021, 04:09 AM
RE: ofn-brush-strokes-on-path - by teapot - 05-03-2021, 02:50 AM
RE: ofn-brush-strokes-on-path - by Ofnuts - 05-03-2021, 10:01 AM
RE: ofn-brush-strokes-on-path - by teapot - 05-04-2021, 02:41 AM
RE: ofn-brush-strokes-on-path - by teapot - 05-06-2021, 02:17 AM
RE: ofn-brush-strokes-on-path - by Ofnuts - 05-07-2021, 10:35 PM
RE: ofn-brush-strokes-on-path - by Krikor - 05-07-2021, 11:27 PM
RE: ofn-brush-strokes-on-path - by teapot - 05-08-2021, 03:31 AM
RE: ofn-brush-strokes-on-path - by teapot - 05-08-2021, 03:12 PM
RE: ofn-brush-strokes-on-path - by Ofnuts - 05-08-2021, 05:09 PM
RE: ofn-brush-strokes-on-path - by Krikor - 05-08-2021, 06:32 PM
RE: ofn-brush-strokes-on-path - by Ofnuts - 05-08-2021, 07:16 PM
RE: ofn-brush-strokes-on-path - by Krikor - 05-08-2021, 10:55 PM
RE: ofn-brush-strokes-on-path - by Krikor - 05-10-2021, 08:50 PM
RE: ofn-brush-strokes-on-path - by Ofnuts - 05-11-2021, 08:40 AM
RE: ofn-brush-strokes-on-path - by Krikor - 05-11-2021, 12:31 PM
RE: ofn-brush-strokes-on-path - by Ofnuts - 05-11-2021, 03:22 PM

Forum Jump: