Does this website support animated gifs for profile icons?
Moderator: Moderators
- Drew Sebastino
- Formerly Espozo
- Posts: 3496
- Joined: Mon Sep 15, 2014 4:35 pm
- Location: Richmond, Virginia
Re: Does this website support animated gifs for profile icon
Better than a live action one...
Anyway, it's all good now. I got an imgur profile for this sole purpose.
Anyway, it's all good now. I got an imgur profile for this sole purpose.
- rainwarrior
- Posts: 8732
- Joined: Sun Jan 22, 2012 12:03 pm
- Location: Canada
- Contact:
Re: Does this website support animated gifs for profile icon
345k for that.
- Drew Sebastino
- Formerly Espozo
- Posts: 3496
- Joined: Mon Sep 15, 2014 4:35 pm
- Location: Richmond, Virginia
Re: Does this website support animated gifs for profile icon
Very little, I know.
...Now that I look at it though, it's a bit distracting...
...Now that I look at it though, it's a bit distracting...
Re: Does this website support animated gifs for profile icon
To follow up with the excavation of my old files, I did not find what my animated GIF would of been without the hack filter but I imagine it was probably about 300KB.
I did however find my image prepossessing program that made the temporal lossyness.
In pseudocode it basically did this to each frame before they were inputed into GIMP for conversion to GIF:
Nate to self: Never again leave your folders and files nameless (like "New Bitmap (2).bmp" in folder "temp5"), it makes them very hard to search for after 10 years.
I did however find my image prepossessing program that made the temporal lossyness.
In pseudocode it basically did this to each frame before they were inputed into GIMP for conversion to GIF:
Code: Select all
gray(pixel) -> (pixel.R*0.299 + pixel.G*0.587 + pixel.B*0.114)
For each pixel in previous and current images:
If abs( gray(previous) - gray(current) ) < 8:
current = previous
else:
current = current
Re: Does this website support animated gifs for profile icon
Yeah, great: Content-Length: 354004. That isn't gonna piss anyone off on a latent connection, mobile, or cellular data. imgur also doesn't support gzip or deflate compression, so it's a full 354KB no matter what:
*double facepalm* At least it's hosted at imgur and not an upload here (I don't think the forum avatar upload would allow such sizes, I forget what we set the limit at).
As for "small-ifying a GIF", ImageMagick has an entire page dedicated to just that. If you have source material in a video format (ex. you want to convert AVI and a codec ImageMagick understands to GIF), there's a page on that too.
Code: Select all
> HEAD /wmxKWiQ.gif HTTP/1.1
> Host: i.imgur.com
> User-Agent: curl/7.48.0
> Accept: */*
> Accept-Encoding: deflate, gzip
< HTTP/1.1 200 OK
< Last-Modified: Sun, 17 Apr 2016 18:57:17 GMT
< ETag: "181eb36f151da7a026dde5aac5281817"
< Content-Type: image/gif
< Fastly-Debug-Digest: eea700f0d6188db8a6c632620373f6a893f364187d2991ba8b1cdbfafd69224f
< cache-control: public, max-age=31536000
< Content-Length: 354004
< Accept-Ranges: bytes
< Date: Sun, 17 Apr 2016 21:21:01 GMT
< Age: 8621
< Connection: keep-alive
< X-Served-By: cache-iad2132-IAD, cache-sjc3124-SJC
< X-Cache: HIT, HIT
< X-Cache-Hits: 1, 1
< X-Timer: S1460928061.191844,VS0,VE0
< Access-Control-Allow-Methods: GET, OPTIONS
< Access-Control-Allow-Origin: *
< Server: cat factory 1.0
As for "small-ifying a GIF", ImageMagick has an entire page dedicated to just that. If you have source material in a video format (ex. you want to convert AVI and a codec ImageMagick understands to GIF), there's a page on that too.
Re: Does this website support animated gifs for profile icon
I already added it to my adblock list....koitsu wrote:Yeah, great: Content-Length: 354004. That isn't gonna piss anyone off on a latent connection, mobile, or cellular data.
To be fair, the image formats hosted by imgur already use compression; there's not going to be much incremental improvement other than compressing GIF's (normally uncompressed) palette.imgur also doesn't support gzip or deflate compression, so it's a full 354KB no matter what:
Re: Does this website support animated gifs for profile icon
You're right, I forgot about that. I'll play tepples for a moment: but not all GIFs (animated or otherwise) use LZ77/LZW compression due to the patent debate. Sure, that patent expired in 2004, but there's really no way to guarantee every GIF file ever created is using compression, or that whatever was used to create a GIF present-day makes use of LZW or not (software being used may be "old" and by default *not* use LZW due to the patent concerns, and user has no idea that they should turn it on).lidnariq wrote:To be fair, the image formats hosted by imgur already use compression; there's not going to be much incremental improvement other than compressing GIF's (normally uncompressed) palette.
That said: use of deflate or gzip on GIFs using LZW can/does help. On Espozo's avatar, the actual transferred payload goes from 345KBytes to 306KBytes (39KB savings) using gzip (and I did turn on DEFLATE/gzip for .gif files in this context). In other words: gzip's compression model seems to work semi-well on this file, despite it using LZW (I checked):
Code: Select all
$ curl --output /dev/null http://www.home.lan/wmxKWiQ.gif
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 345k 100 345k 0 0 48.7M 0 --:--:-- --:--:-- --:--:-- 56.2M
$ curl --compressed --output /dev/null http://www.home.lan/wmxKWiQ.gif
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 306k 0 306k 0 0 9826k 0 --:--:-- --:--:-- --:--:-- 9884k
Code: Select all
D:\downloads\ImageMagick>identify -verbose wmxKWiQ.gif | grep -c "Compression: LZW"
50
Re: Does this website support animated gifs for profile icon
Am I the only one who wish those were banned? I find those to be extremely annoying. In a few cases, like when the animation is really subtle it could be acceptable, but in, say, 85% of cases, animated gifs as avatar really annoys me.Does this website support animated gifs for profile icons?
- rainwarrior
- Posts: 8732
- Joined: Sun Jan 22, 2012 12:03 pm
- Location: Canada
- Contact:
Re: Does this website support animated gifs for profile icon
It's 20k.koitsu wrote:I don't think the forum avatar upload would allow such sizes, I forget what we set the limit at.
Don't worry, though, this ugly distracting animation is worth more than 17 other avatars. Believe me.
- rainwarrior
- Posts: 8732
- Joined: Sun Jan 22, 2012 12:03 pm
- Location: Canada
- Contact:
Re: Does this website support animated gifs for profile icon
Yeah, I've got 200mb on my cell phone, so the thought of an extra 330k just for reading an NesDev thread featuring Espozo doesn't thrill me.koitsu wrote:That isn't gonna piss anyone off on a latent connection, mobile, or cellular data.
Re: Does this website support animated gifs for profile icon
161KB
82KB
There are certainly ways to get it even smaller but... eh.
Edit: Mine's currently 4KB, but it can apparently be 1,273 bytes with absolutely no changes. I think I'd rather just reanimate it at some point if I ever change it.
Edit2: For completeness, here's one that's 300KB and 100% the same visually (I think):
82KB
There are certainly ways to get it even smaller but... eh.
Edit: Mine's currently 4KB, but it can apparently be 1,273 bytes with absolutely no changes. I think I'd rather just reanimate it at some point if I ever change it.
Edit2: For completeness, here's one that's 300KB and 100% the same visually (I think):
- Drew Sebastino
- Formerly Espozo
- Posts: 3496
- Joined: Mon Sep 15, 2014 4:35 pm
- Location: Richmond, Virginia
Re: Does this website support animated gifs for profile icon
That's your problem.rainwarrior wrote:I've got 200mb on my cell phone, so the thought of an extra 330k just for reading an NesDev thread featuring Espozo doesn't thrill me.
lidnariq wrote:I already added it to my adblock list....
koitsu wrote:animated GIFs (especially ones with lots of frames or visuals) are extremely annoying, waste bandwidth, and really bring absolutely nothing to the table.
Bregalad wrote:Am I the only one who wish those were banned? I find those to be extremely annoying.
It's nice to know you guys like it. If it's truly the largest dilemma since WWII, I'll just revert back.rainwarrior wrote:this ugly distracting animation
Re: Does this website support animated gifs for profile icon
I do find your new avatar pretty distracting and slightly annoying. When you asked about animated avatars I imagined you were going to make something original and relevant, not rip a video that wasn't made for small viewports and doesn't even loop. Not looping is a serious offense in an animated avatar, because it constantly draws attention when the animation wraps back to the beginning.
Re: Does this website support animated gifs for profile icon
And unless you're willing to help solve the problem by paying rainwarrior's overage fees, you are part of the problem. Occasionally I tether my laptop to my aunt's phone when we go on long trips, and when I tether, I stick to low-bandwidth sites such as forums.nesdev.com. (I also turn on Firefox's tracking protection for its side effect of blocking advertisers that track users' interests across sites, which has the side effect of blocking the most data-heavy ads.) So with two admitted occasional users of cellular Internet here and a distracting rewind, I may end up taking one representative frame from the GIF to produce a PNG avatar.Espozo wrote:That's your problem.rainwarrior wrote:I've got 200mb on my cell phone, so the thought of an extra 330k just for reading an NesDev thread featuring Espozo doesn't thrill me.
- Drew Sebastino
- Formerly Espozo
- Posts: 3496
- Joined: Mon Sep 15, 2014 4:35 pm
- Location: Richmond, Virginia
Re: Does this website support animated gifs for profile icon
My last avatar wasn't either. Anyway, when I get home, I'll change it. I don't know what else to use though, probably just the other one.I imagined you were going to make something original and relevant