I have a program I wrote in JS that rotates images. The photos are different sizes (some are in landscape format, some in portrait) - also it is difficult to get all the landscape ones to be the same size, esp. after cropping. I have made them all the same width, say 4 inches.
At the moment they display in a fixed size box and so many of them get distorted.
Is there a way to associate the size (L and W) information with each image so they display at the correct aspect ratio and result in no distortion.
Thanks.
At the moment they display in a fixed size box and so many of them get distorted.
Is there a way to associate the size (L and W) information with each image so they display at the correct aspect ratio and result in no distortion.
Thanks.