Follow TV Tropes

Following

What's the deal behind the automatic image compression?

Go To

Kan Since: May, 2011
#1: Jan 14th 2019 at 11:11:55 AM

So, I've uploaded a pretty decent amount of character images recently which I've edited myself and all of which have been quite small, usually between 20-50 KB in file size. The problem is that some of them get further compressed once they've been uploaded, while others of the same dimensions and file size remain as-is. One 40 KB 300x300 image remains at 40 KB once uploaded, while another 40 KB 300x300 image gets compressed to 20 KB with the (noticeable) quality drop to match.

It feels completely random, even a very colorful 350x246 image I uploaded which I figured would be hit by this for sure only went down from 66 to 64 KB with no perceptible quality hit. Yet for example this image went from 37 KB to 23 KB which caused some minor but visible artifacting.

I strive to upload images which strike a good balance between file size and image quality but this unpredictable behavior is making it a little tough, so I was wondering if anyone knew what exactly causes this to happen and if I can do something to avoid it.

Primis Since: Nov, 2010
#2: Jan 18th 2019 at 11:06:33 AM

I'm not sure if this is related, but I've noticed that sometimes when I upload an image, an entire row of pixels will be shaved off one of the edges.

This poster for Stargate Universe, and this poster for Armageddon both got one row removed from the right, and this image for Evil Makeover got a row shaved off the bottom.

It seems to be completely random which images get affected (and which edge gets cut off when it does happen), but reuploading them also doesn't fix it: evilpeach.png (the original) and evilpeach2.png (reupload) are both missing the same row of pixels.

Edited by Primis on Jan 18th 2019 at 12:07:13 PM

eroock Since: Sep, 2012
#3: Feb 16th 2019 at 10:23:50 AM

^^ Because of this I decided to only update png. Sites like https://tinypng.com/ let you compress png images with almost no loss. It can be tedious if you upload a lot. That's why I got me the tinypng Photoshop plugin.

^ I'm not sure if this is related, but I've noticed that sometimes when I upload an image, an entire row of pixels will be shaved off one of the edges.

This stopped happening to me since I moved to uploading in the png format. Or it was fixed for jpg also. At least it's not happening to me anymore for a couple of months.

eroock Since: Sep, 2012
#4: Feb 22nd 2019 at 9:31:07 PM

The cropping on upload is back now for me as well for a couple of days.

Discar Since: Jun, 2009
#5: Mar 1st 2019 at 5:16:17 PM

I've been noticing a lot more artifacted images. Usually nothing major, but they're definitely not as sharp as the Image Pickin' threads require. Examples chosen by hitting the random button a couple times: Meganekko, Patchwork Map, Psychological Torment Zone.

Is this a result of image compression or some other problem with the image server?

eroock Since: Sep, 2012
#6: Mar 2nd 2019 at 2:30:22 AM

My monitor is very forgiving and I rarely see things others complain about. For Patchwork Map, compare against a version that wasn't uploaded to our side. I did some fixing for the other two pages.

bwburke94 Friends forevermore from uǝʌɐǝɥ Since: May, 2014 Relationship Status: RelationshipOutOfBoundsException: 1
Friends forevermore
#7: Mar 5th 2019 at 10:13:35 PM

Which file extensions are being compressed? That's the important question here.

If only JPG is affected, that's a fairly good sign that the software is trying to automatically compress JPGs and overdoing it.

I had a dog-themed avatar before it was cool.
eroock Since: Sep, 2012
#8: Mar 17th 2019 at 4:41:28 PM

I noticed that png over 100kb also get compressed now. Not sure if this has always been the case.

Kan Since: May, 2011
#9: Apr 29th 2019 at 2:24:11 AM

A bit late replying to my own topic but, I'm still kinda mystified by how random the whole thing is. I've had some images sit on a page uncompressed for weeks, others get compressed within a day, and none immediately after uploading so it clearly doesn't happen there. If an image isn't actually on a page it doesn't get compressed, and if an image is removed from a page it reverts back to its uncompressed form which is the case for the second example image I used in the OP, that image isn't on a page anymore and it's gone back from low-quality 23 KB to higher-quality 37 KB which is the size I uploaded it at.

So what I can tell is that images don't actually get permanently compressed (they could never revert back to their original size and quality if they did after all) which is what happens with many image uploading sites and such, but rather their presence on a page is what causes the arbitrary-seeming compression at some unpredictable point of time.

And yeah, .pngs don't suffer the same problem to the same degree, but it seems silly that one'd have to upload images that can be 5-10 times the size of a .jpg simply because the automatic compression is so weirdly aggressive. Right now it feels like a total lose-lose scenario, you either get real low-quality .jpgs or real high-filesize .pngs and neither is exactly optimal.

Edited by Kan on Apr 29th 2019 at 2:26:42 AM

Add Post

Total posts: 9
Top