12-12-2013, 05:05 PM
12-12-2013, 05:18 PM
I just posted a screen shot over in the Unicode thread that is 360 pixels wide by 199 pixels tall - much larger than any avatar - yet it's only 4.26KB!
12-12-2013, 05:24 PM
OK I figured out a way. I re saved the .jpg file without the EXIF data. Saved about 8k of file size.
12-12-2013, 06:15 PM
(12-12-2013 05:18 PM)Dave Hicks Wrote: [ -> ]I just posted a screen shot over in the Unicode thread that is 360 pixels wide by 199 pixels tall - much larger than any avatar - yet it's only 4.26KB!
However, that image has a lot of easily compressible white space, whereas a photo does not.
12-12-2013, 07:00 PM
Yeah, I posted that as a GIF since that's a format that does well with "computer generated stuff".
For photos, I would use jpg. I just grabbed a photo of my dog, resized it to avatar size, and output it as jpeg, and with default settings it it came out as 2782 bytes.
With heavy jpeg compression I can get it under a kilobyte, though the compression artifacts really show. At a compression that yields about 1.5K, I can see the difference from the original if I look closely.
I just grabbed another picture of a person, cropped it to his face. scaled it to avatar size, sharpened, and the default jpeg output is 2896 bytes. If I compress it to about 1900 bytes, I start seeing the difference if I look for it.
Grabbed a calculator shot, resized, sharpened, output size with defaults is 2975 bytes.
So I'm not seeing any 10KB limit issues yet.
For photos, I would use jpg. I just grabbed a photo of my dog, resized it to avatar size, and output it as jpeg, and with default settings it it came out as 2782 bytes.
With heavy jpeg compression I can get it under a kilobyte, though the compression artifacts really show. At a compression that yields about 1.5K, I can see the difference from the original if I look closely.
I just grabbed another picture of a person, cropped it to his face. scaled it to avatar size, sharpened, and the default jpeg output is 2896 bytes. If I compress it to about 1900 bytes, I start seeing the difference if I look for it.
Grabbed a calculator shot, resized, sharpened, output size with defaults is 2975 bytes.
So I'm not seeing any 10KB limit issues yet.