Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Gimp-dog (animation)
#10
(04-20-2021, 05:07 PM)rich2005 Wrote: For an animation ? A bash script. A simple loop, nothing complicated.
A long image long.png in this case 300 px high and 2000 px wide. The script is a moving 'window' 300x500 across that with a spacing set of 15 px. Makes a set of jpegs to load into Gimp.

Code:
#!/bin/bash

count=0
index=0
until [ $count -gt 1500 ]
do
   echo "$count"
   magick  long.png -crop 500x300+$count+0  "%d$index".jpg
   count=$(( $count + 15 ))
   index=$(( $index + 1 ))
done

Interestingly enough, I was just playing around with the  "Offset Layer"  function located in the layers menu, and it appears to offer a GUI "boilerplate" entry screen for  performing very much the same function. And surprisingly the key functionality was activated with fairly simple key combinations.

[Image: MoPyggf.png]


Reply


Messages In This Thread
Gimp-dog (animation) - by rich2005 - 01-11-2021, 01:28 PM
RE: Gimp-dog (animation) - by rickk - 04-15-2021, 08:18 PM
RE: Gimp-dog (animation) - by rich2005 - 04-16-2021, 07:39 AM
RE: Gimp-dog (animation) - by rickk - 04-16-2021, 05:36 PM
RE: Gimp-dog (animation) - by rickk - 04-20-2021, 04:52 PM
RE: Gimp-dog (animation) - by rich2005 - 04-20-2021, 05:07 PM
RE: Gimp-dog (animation) - by rickk - 04-20-2021, 06:13 PM
RE: Gimp-dog (animation) - by Ofnuts - 04-20-2021, 11:12 PM
RE: Gimp-dog (animation) - by rickk - 04-21-2021, 12:47 AM
RE: Gimp-dog (animation) - by rickk - 04-27-2021, 02:28 AM
RE: Gimp-dog (animation) - by Ofnuts - 04-27-2021, 10:33 AM
RE: Gimp-dog (animation) - by rickk - 04-27-2021, 03:01 PM
RE: Gimp-dog (animation) - by rich2005 - 04-27-2021, 12:00 PM
RE: Gimp-dog (animation) - by rickk - 04-27-2021, 04:01 PM
RE: Gimp-dog (animation) - by rich2005 - 04-27-2021, 04:29 PM
RE: Gimp-dog (animation) - by rickk - 04-27-2021, 04:52 PM
RE: Gimp-dog (animation) - by rich2005 - 04-27-2021, 05:28 PM
RE: Gimp-dog (animation) - by rickk - 04-27-2021, 06:36 PM
RE: Gimp-dog (animation) - by rich2005 - 04-28-2021, 11:00 AM
RE: Gimp-dog (animation) - by rickk - 04-28-2021, 02:45 PM
RE: Gimp-dog (animation) - by rickk - 04-28-2021, 04:35 PM
RE: Gimp-dog (animation) - by rich2005 - 05-15-2021, 07:13 PM
RE: Gimp-dog (animation) - by rickk - 05-15-2021, 07:36 PM
RE: Gimp-dog (animation) - by Ofnuts - 05-15-2021, 08:49 PM
RE: Gimp-dog (animation) - by rickk - 05-15-2021, 09:05 PM
RE: Gimp-dog (animation) - by rich2005 - 05-15-2021, 08:36 PM

Forum Jump: