• Hi there,

    I noticed that the cropped files on the server are often 2 – 3 times the filesize than the originals. For example I upload a file that is 86kb that once cropped to my stipulated size becomes 140kb in size. When you’re trying to put file size restrictions in place this become problematic as user uploading an 800kb file will produce cropped versions over 1 or even 2mb.

    Is this normal behaviour?

    Thanks you

Viewing 1 replies (of 1 total)
  • Plugin Author joppuyo

    (@joppuyo)

    Hey,

    This plugin uses the built-in WordPress image editor to crop the image. You can use the WordPress jpeg_quality hook to change the quality of the cropped image. By default the quality is 82.

    It’s normal behavior that in some cases the cropped image is bigger than the original. For example, if you save the image with quality 50 and then the image is cropped and re-encoded with quality 82, the resulting crop is larger than the original.

Viewing 1 replies (of 1 total)
  • The topic ‘File size of cropped image much larger than original’ is closed to new replies.