1

Is there a filter which creates a "scrolling" animation of an image, e.g. shifts the image to the right by so many pixels and wraps pixels that go off the right edge back to the left. I would like the filter to repeat this so that in the end there is a nice scrolling effect when played back via Filter/Animation.

0

3 Answers 3

1

link in xenoid's answer does not wrap. However, I just recently wrote (I meant like 5 minutes ago) one that wraps layer and scrolls only the active/selected layer. https://gimplearn.net/viewtopic.php?desc=Scrolling-and-Wraps-layer-animation-Script-for-GIMP&f=3&t=414

2
  • Thanks. On Ubuntu in /usr/share/gimp/2.0/ there is no plug ins folder... why should I put the .py file ?
    – user9146
    Feb 14, 2017 at 23:09
  • 1
    try in /home/<userName>/.gimp-2.8/plug-ins/
    – Tin Tran
    Feb 14, 2017 at 23:13
1

See https://www.gimplearn.net/viewtopic.php?desc=Scrolling-Animation-Logo-Script-for-GIMP&f=3&t=386

At worst use a transparent layer for the layers you don't need. But the author is likely willing to write a single-layer version.

3
  • 1
    Ok I just did locate *.py | grep gimp and think I found the right plug ins folder. Hmm, still not working.
    – user9146
    Feb 14, 2017 at 23:23
  • 2
    If you are on Linux or OSX make sure the file is executable. It should go into one of the two directories listed in Edit>Preferences>Folders>Plugins (preferably the one in your home directory)
    – xenoid
    Feb 15, 2017 at 0:01
  • Ok, once I found the right folder, copied it there, AND made the file executable chmod +x filename (Linux) it worked !
    – user9146
    Mar 2, 2017 at 15:48
0

There is a filter to do the offset once (scroll and and put pixels exiting on the other side) - but no ready made filter to animate that.

To create the animation you'dhave to write a small script that will:

call "offset" on a layer, copy the result, paste as new layer (on the same or on a new image, containing only the animation).

In my answers here and on stackoverflow regarding GIMP there are some examples and instructions on how to that programaticaly.

https://graphicdesign.stackexchange.com/search?q=user%3A19151+python+is%3Aanswer https://stackoverflow.com/search?q=user%3A108205+is%3Aanswer+gimp+python

5
  • Instead of just providing links why not make your answer better and provide an example? I would upvote this if you had an example.
    – user9447
    Feb 14, 2017 at 18:42
  • time constraints. and repetition. The informatin is there - this is not a duplicate question, but I'd have to rewrite a lot to get an working example. If you do that, I will be pleased to upvote our answer.
    – jsbueno
    Feb 14, 2017 at 18:44
  • Thanks. I should be able to solve the problem from this :-D
    – user9146
    Feb 14, 2017 at 18:48
  • Ok. Don't misinterpret me, I'd really like to write down a more complete example as DarthVader suggests.
    – jsbueno
    Feb 14, 2017 at 19:16
  • If you get time that would be great, but I'm pleased for your direction. Thanks.
    – user9146
    Feb 14, 2017 at 20:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.