corbosman/this-might-be-offensive — comment on commit 6b2ce5cc8f2c93fbdfdb0ed39334fb66d9a49505
File: offensive/assets/upload.inc line 736
By numist:

What logic from resample? The file type isn't changing, and Imagick should have a default compression level it uses (unless it can get one from the original file?) when you tell it to save a modified JPEG back to disk. The product from resizing should be good enough.