• Resolved betagoo

    (@betagoo)


    I have image with imensions 6000 x 4000 pixels – image sides proportions 1,5.
    Imsanity have set Max Width Height = 2600 pixels.
    After upload and resize, image have dimensions 2600 x 1773 pixels – image sides proportions 1,466. Should have 1,5.
    Deep Scan is selected.
    Why Imsanity change the image sides proportions?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author nosilver4u

    (@nosilver4u)

    I’m not sure why it would do that. There are some quirks where the size won’t be exact, but what you are seeing is a bit more than I’d expect.
    Can you post a link to the original image so I can do some testing?

    Thread Starter betagoo

    (@betagoo)

    There was problems with below file.
    This image NOT contains EXIF info data. Exif was removed into IrfanView by using JPG Looses operations.
    https://www.tcmeble.pl/_seo/a11_without_exif.jpg

    IrfanView remove EXIF data options:
    https://www.tcmeble.pl/_seo/iv1.jpg
    https://www.tcmeble.pl/_seo/iv2.jpg

    This is original file contains EXIF data:
    https://www.tcmeble.pl/_seo/a11_exif.jpg

    Plugin Author nosilver4u

    (@nosilver4u)

    EXIF data should be irrelevant for resizing purposes. All operations are done based on the actual image dimensions. I downloaded both versions and tested it on my site, and I get 1733, which is a ratio of 1.5, so I don’t know how you got it to be 1773 or if you just looked at the number wrong.

    Thread Starter betagoo

    (@betagoo)

    Original image: 6000 / 4000 = 1.5
    Request image size is 2400.
    2400 / 1.5 = 1600.
    Imsanity create image width dimensions 2400 x 1733 px.
    The point is, the image should have dimensions 2400 x 1600 px.
    1600, not 1733.
    That’s what I mean.

    Plugin Author nosilver4u

    (@nosilver4u)

    You keep changing the numbers, you originally said 2600 was the max, which I tested, and got 1733.
    Now you say 2400, I tested that, and I get 1600. It’s working as expected, double-check that you have all the settings at 2400 if that’s what you really want. Imsanity doesn’t even do the math, it uses WP core functions, so if there were ever a bug, it would be upstream. But there isn’t, so just go make your images smaller and stop worrying about it already ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Proportions of image sides’ is closed to new replies.