Welcome to Camera Bits Forums
Can I also ask is it possible to use a variable to indicate the length, in pixels, on the longest side of the image?