ofn-scroll-layer - Printable Version +- Gimp-Forum.net (https://www.gimp-forum.net) +-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP) +--- Forum: Extending the GIMP (https://www.gimp-forum.net/Forum-Extending-the-GIMP) +--- Thread: ofn-scroll-layer (/Thread-ofn-scroll-layer) Pages:
1
2
|
ofn-scroll-layer - Ofnuts - 04-17-2020 A small script to generate animations by shifting a layer. ofn-scroll-layer is available here. Please read the HTML doc and its magnificent example. RE: ofn-scroll-layer - Krikor - 04-17-2020 First again :-) I was unable to configure the script correctly; I haven't read the manual yet, I just read it quickly. So I didn't know how to limit it to 60 layers, and the script generated an infinite number of layers. I had to work around the situation manually. But ok, it was just to try the script. Sunday night or Monday, I will have time to experiment with the script again. à bientôt RE: ofn-scroll-layer - Ofnuts - 04-18-2020 The manual explains in detail why in some cases you get a huge number of copies. That number of copies has to be a common multiple of the H and V cycles, and the H and V cycles are each a common multiple of the step and the layer dimension. So with random number things can get big. RE: ofn-scroll-layer - Ofnuts - 04-18-2020 Added support for tiled layers, which can reduce the size of the animation. RE: ofn-scroll-layer - Krikor - 04-23-2020 I was playing with this script and as much as I tried different configurations, the result was always a non-constant animation. I varied the number of steps, created a seamless layer, etc. I always got an oscillating gif, as if it stuck in some parts. So I saved the .xcf and decided to check with version 2.10.18 and voilà. In summary, at least with my Samj portable version 2.10.12 I was unable to generate results with continuous transitions and without bumps. With version Samj's Portable 2.10.18 I didn't have a single problem of this type. RE: ofn-scroll-layer - Ofnuts - 04-23-2020 There should be no jumps if your layer is seamless, and I don't thing the Gimp version comes into play. Otherwise please share the XCF (before the animation is generated). RE: ofn-scroll-layer - Krikor - 05-04-2020 [attachment=4316 Wrote:Ofnuts pid='17813' dateline='1587672701']There should be no jumps if your layer is seamless, and I don't thing the Gimp version comes into play. Otherwise please share the XCF (before the animation is generated).►With Gimp 2.10.12 Samj Portable ►With Gimp 2.10.18 Samj Portable RE: ofn-scroll-layer - Ofnuts - 05-04-2020 Taking both pictures, exporting all layers as TGA (PNG includes a timestamp so identical images would produce different files), then taking the MD5 of each file for easy comparison: Code: 0981e9b9c99ce32ba7f0fa516792240a 09-Bubbles-Hang.tga
And of course, I find these identical frames in the pre-animation version your posted. But I still have a very hard time believing that this would be due to the version of Gimp... Do you have the same problem with different steps (-4,-5,-6,-12)? RE: ofn-scroll-layer - Krikor - 05-04-2020 I used the same .xcf to generate both animations. After applying the scroll-layer + interleave layers and generating the animation 01 (Gimp 2.10.12), I opened the .xcf in Gimp 2.10.18, deleted the layers created with the scroll-layers in gimp 2.10.12 and created new layers this time using the scroll-layer with gimp 2.10.18 and then applying the interleave layers. In common both versions had two initial layers: 001 copy Base [attachment=4317] - Scroll-layer With 2.10.12 [attachment=4318] - Scroll-layer With 2.10.18 (05-04-2020, 08:59 PM)Ofnuts Wrote: Taking both pictures, exporting all layers as TGA (PNG includes a timestamp so identical images would produce different files), then taking the MD5 of each file for easy comparison:Sorry, I don't understand what steps that would be (-4, -5, -6, -12). (Some minutes after...) Oops ... do you say steps in the scroll-layer script? (horizontal and vertical) I haven't touched it again for maybe 10 days, but vaguely I remember that I tried several steps and usually always gave this problem, but I have a vague reminder that when the number of layers was quite large I didn't notice the oscillation (dysrhythmia / jumping ) in the animation. RE: ofn-scroll-layer - Ofnuts - 05-05-2020 The problem is visible as soon as your generate the scroll. The identical frames reinforce their image and there are also visible gaps in the "smear".
[attachment=4321]
|