Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to resize an image so it's content would stay centered?
#7
(05-30-2022, 04:23 PM)Krikor Wrote: I believe that there is no one better than rich2005 to didactically detail any editing process in Gimp.  Wink

(05-30-2022, 09:02 PM)rich2005 Wrote:
Quote:..I believe that there is no one better than rich2005 to didactically detail any editing process in Gimp.  Wink

Now there is a hope an a half Wink

I have broken my procedure into sections, makes it easier to follow, however the end result is a 1.2 second video (meant as a transition)
Half size version looks like this:  https://i.imgur.com/ChyQ7tO.mp4

1. Scale the image to 50 layers using the gimp_gmic_qt plugin. Get the plugin from http://www.gmic.eu

https://youtu.be/X3nCmXBfTjA  duration 4 min 30

2. Merge the 50 layer (scaled) layers with a 50 layer animation. You have to get the animation from somewhere. The merge uses Ofnuts ofn-interleave-layers.py python plugin
see: http://sourceforge.net/projects/gimp-too...es/scripts  ofn-interleave-layers.zip dated 2020-04-25  Unzip read the help notes. The plugin goes in your plug-ins folder.

https://youtu.be/XOnrFITyQJw  duration 3 min 20

3. Exporting the 50 layers to individual files to render into a video. Many video editors will take a sequence of numbered files, Avidemux does and the one shown in the video Openshot. I normally use command line FFmpeg but the particular command is no good in Windows.
Exporting the layers uses a script  export-layers-plus.scm  Zipped and attached. Unzip and put in your Gimp scripts folder.

https://youtu.be/h1fIZKeAq4Q  duration 3 min

So once again thanks to both of you guys!

Quote:Half size version looks like this:  https://i.imgur.com/ChyQ7tO.mp4
LOL. I was expecting to see a lot of things, but not that for sure. Electric boogaloo as they say. Big Grin

Quote:https://youtu.be/X3nCmXBfTjA  duration 4 min 30
I had to update my Gimp from 2.10.8 to 2.10.30 for the plug-in to work.

Afterwards for some reason my PC really struggled to make the 50 crab layers - it took over 2 minutes while for you it looked like it was instantaneous.

Thank you for explaining the shift click layer. That's easy to remember and I can see it being useful in the future.

Quote:see: http://sourceforge.net/projects/gimp-too...es/scripts  ofn-interleave-layers.zip dated 2020-04-25  Unzip read the help notes. The plugin goes in your plug-ins folder.
After some struggling I've finally managed to get this plugin working! (Well, at least it shows up!) So that's where I'll leave it for today.

Quote:You have to get the animation from somewhere.
There must be some easy way to just copy a still image for all 50 layers right?
Reply


Messages In This Thread
RE: How to resize an image so it's content would stay centered? - by guest273 - 05-31-2022, 01:27 AM

Forum Jump: