If I have an image that is 2550x3300 pixels and another one that is 773x1000 pixels, how would I compare both images aspect-ratios in PHP? Both images should have the same aspect ratio since I resized it in paint.net with the "maintain aspect ratio" box clicked. But I've used various PHP attempts to figure out the aspect-ratio of each image and they come out different.
问问题
245 次