that’s too late (and no need to duplicate that)
you have to check bounds before cropping the image
please also check, if your crop is valid
that’s too late (and no need to duplicate that)
you have to check bounds before cropping the image
please also check, if your crop is valid