Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to resize an image so it's content would stay centered?
#4
Hi Krikor!

Thank you for your response! Smile

Quote:I don't know if I understand correctly, but I think what you want is something like:
https://imgur.com/a/S49WNl8

Just create an image at the desired size (1920x1080), and adjust the crab's magnification to fit that dimension.

Yeah, I'm still trying to figure out the Vegas Pro side of the project so I myself am not really sure what type of crab I'd need...

Anyway, at least the 1920x1080 crab picture might potentially solve the issue of "crab looks too square".


Quote:It is possible to make an animation in Gimp, but I don't know if it would be useful for later editing with your video editor.

https://ibb.co/0nnh0C9

[Image: lYSXXcU.gif]

For me the https://ibb.co/0nnh0C9 isn't loading, but it's just another way to view this gif you've created, right?

YES!
This is exactly what I need! And I can see that you've also used the 16:9 version of the crab!

So in another help-forum a stranger trying to help me made this: (Ignore the black crab)
https://vimeo.com/715191537/5672aa7417

It is the same effect but the square shaped crab has this problem that it doesn't really fill the top part of the screen quickly enough of so if you look closely in the final second of the zoom in it gets centered on the "crabs belly" more.

Anyway, the effect in Vegas Pro might end up taking too many video tracks, so a solid idea now is to make an animation like the one you've made here on gimp. It might even be easier in the end. I already know how the image that would be replaced would look. I might need to slightly adjust the new image that is appearing... wait, you can most likely do basic zoom-ins to adjust the final result in gimp right?

Anyway, here's the images that I would use:
https://imgur.com/a/MXLEXAi

The first image is the old one that is already on the screen from the start. (It might be wise to have like the first 5 or so frames of the animation just be that image with nothing changing so it's easier to integrate into the final video project.)
The 2nd or 3rd image is the one that would appear after the crab zoom in. (It's probably wiser to use the 2nd image & just zoom it in like the 3rd one, incase the zoom-in is too big so it would be easier to re-adjust afterwards.)  (& It also might be wise to have it like that for like an extra 5 or so frames with nothing changing once the transition is done so it's easier to integrate.)

If this ends up looking like I want it to with the addition of sound effects like "are you feeling it now MrKrabs" (from SpongeBob) & a couple of seconds from the 'Crab Rave' song this edit alone would be a banger.

Anyway, how do you do any of this stuff? I only use gimp exclusively to add transparency to images so you might need to explain from scratch.

- guest273.

Hi rich2005!

Thank you for your response! Smile


Quote:edit: nearly forgot. The image is in Indexed Mode change it to RGB.   Image -> Mode -> RGB


Yeah, someone in another forum suggested to me to change the crabs color to white (for easier masking) and I was struggling to figure out why the image was refusing to change colors but I eventually landed on the same conclusion. I'm guessing that indexed mode is a well known headache causer here. Big Grin


Quote:I think for the scaling 512x512 (or any WxH) > 1080x1920

1) scale the to the height.  Image -> Scale
2) Set the canvas size to 1080x1920 Image -> Canvas Size Center it / Set the fill type

example: https://i.imgur.com/jiAApIW.mp4

Ah, so that's how you did it. I was trying to scale directly from 512x512 to 1920x1080.
Oh. There's literally a button that says "center". Now I feel dumb.

Quote:I did not quite get your description for the zoom something like Krikors animation or maybe this

https://i.imgur.com/qkkUSoe.mp4

It's actually like both of your examples combined together.
Where there's already an image on the screen before and a new image has taken the crab outline and expands to fill the whole screen.

The square shaped crab actually has this problem that due to it's shape it takes too long to fill out the whole screen, so that's why I wanted to 16:9 version of the image.

Anyway, I did already respond to Krikor but I'll quote myself for the part that is relevant:


Quote:So in another help-forum a stranger trying to help me made this: (Ignore the black crab)
https://vimeo.com/715191537/5672aa7417

It is the same effect but the square shaped crab has this problem that it doesn't really fill the top part of the screen quickly enough of so if you look closely in the final second of the zoom in it gets centered on the "crabs belly" more.

Anyway, the effect in Vegas Pro might end up taking too many video tracks, so a solid idea now is to make an animation like the one you've made here on gimp. It might even be easier in the end. I already know how the image that would be replaced would look. I might need to slightly adjust the new image that is appearing... wait, you can most likely do basic zoom-ins to adjust the final result in gimp right?

Anyway, here's the images that I would use:
https://imgur.com/a/MXLEXAi

The first image is the old one that is already on the screen from the start. (It might be wise to have like the first 5 or so frames of the animation just be that image with nothing changing so it's easier to integrate into the final video project.)
The 2nd or 3rd image is the one that would appear after the crab zoom in. (It's probably wiser to use the 2nd image & just zoom it in like the 3rd one, incase the zoom-in is too big so it would be easier to re-adjust afterwards.) (& It also might be wise to have it like that for like an extra 5 or so frames with nothing changing once the transition is done so it's easier to integrate.)

If this ends up looking like I want it to with the addition of sound effects like "are you feeling it now MrKrabs" (from SpongeBob) & a couple of seconds from the 'Crab Rave' song this edit alone would be a banger.

Anyway, how do you do any of this stuff? I only use gimp exclusively to add transparency to images (well, plus a couple of minor things here and there) so you might need to explain from scratch.

Anyway, thank you once again.

- guest273.
Reply


Messages In This Thread
RE: How to resize an image so it's content would stay centered? - by guest273 - 05-30-2022, 03:26 PM

Forum Jump: