Cropping the middle of an image

Hi Everyone,

I am trying to extract the middle of multiple images with preset dimensions or 1/4 of size of the image but couldn’t be successful.
I’ve tried image cropper and image resizer. For the cropper, I guess it is only possible to enter specific coordinates not ratios.

If you have an alternative solution, I would love to hear


@gab1one do you have any solution for that?
Many thanks,

Hi @caceter,

This is correct, you can extract the image dimensions though, using the Image Properties node, calculate the middle e.g. via a Math Formula node and modify the settings of the cropper via flow variables.
If all your images have a different size you will need to use a loop and crop each with it’s individual settings.