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.


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

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

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.

  • 1
    Ok I just did locate *.py | grep gimp and think I found the right plug ins folder. Hmm, still not working. – Pixel Feb 14 '17 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 '17 at 0:01
  • Ok, once I found the right folder, copied it there, AND made the file executable chmod +x filename (Linux) it worked ! – Pixel Mar 2 '17 at 15:48

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

  • Instead of just providing links why not make your answer better and provide an example? I would upvote this if you had an example. – DᴀʀᴛʜVᴀᴅᴇʀ Feb 14 '17 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 '17 at 18:44
  • Thanks. I should be able to solve the problem from this :-D – Pixel Feb 14 '17 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 '17 at 19:16
  • If you get time that would be great, but I'm pleased for your direction. Thanks. – Pixel Feb 14 '17 at 20:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.