Hacker News new | past | comments | ask | show | jobs | submit login

Unit economics never works out for gifs. It's historically not worked out well for normal JPG image hosts. It will most definitely not work out for hosting files in a teriibly un-optimized video codec.

I think the whatsapp deal probably works out -- but how many of those will such companies bank against.

One hope could be that disk and network prices become low enough to sustain some small profit, but when that happens a dozen other hosts will pop up. A gif website isn't hard to host.




Despite being called "GIFs" they are actually delivered as videos (as is often the case today) - still, the money obviously is going to have to come from something else than pure hosting.


It's sad we never got a better animated image format. Animated PNGs are vastly superior but Chrome wouldn't adopt them.


APNG support landed in Chrome 59, released in June!


I'm pretty ignorant of A/V codecs. Can you explain why .gifs are bad and animated .pngs would have been better?


If I remember correctly, gifs are palette based and only 256 colors. They also don't have alpha transparency, instead having 1 transparent entry in the palette, so for a gif to smoothly blend into its background it has to be pre-rendered against that background.


In addition to being limited to max. 256 colour palettes and 1-bit alpha (encoded as a palette entry), they only support run-length encoding (Edit: NOT! it's actually LZW) for compression. The combination of RLE (Edit: NOT! It's actually LZW, same point somewhat valid) and dithering (used to overcome the palette colour limitation) results in typical compression ratios which are worse than nothing.

Personally I think a hybrid between a video codec (h.264, VP10, etc.) and a lossless transparent still codec (PNG) would be a good way to go


GIFs use LZW compression, which is the part that was patented. I think the main problem is that the dithering necessary to make 256 colors look good introduces a lot of high-frequency noise, making the compression less effective.


Oh boy, I don't know how I got the impression that it was RLE. Maybe I was mixing it up with older versions of Targa.

Yeah, the noise was more the point I was getting at. IIRC PNG also has the benefit of prefilters which allow it to (and maybe there are other things) compress rectangles as contiguous symbols rather than splitting them across lines, which makes obvious sense for 2D images.


IIUC APNGs compress the delta between frames. So 2 frames in a video have mostly similar pixels, and so will compress very well. And even on still images, PNGs have much better compression. From the same principle that nearby pixels usually have similar values.

Gifs store every frame as a separate image and use very crude compression. Also the very limited color palette as others mentioned.


Supposedly Imgur is profitable and has been since Day 1. So not everyone in this space is destined to crash and burn.


It seems like Imgur was profitable from Day 1, but the early days were profitable through donations!

https://www.neowin.net/news/from-rags-to-riches-the-story-of...

Quote: "Imgur has always been profitable right from the very beginning and the only time I ever had to spend money on it was for the initial domain name because as soon as I released it, people liked it so much that they were donating and so Imgur survived for the first six months just purely on donations."


Right... then they took VC $$$$$, over-hired and now they're not.


I'm pretty sure Imgur wasn't profitable and the creator was taking a hit of a few thousand monthly before it became profitable.


He claims in published interviews that the only time he was out any money was for the cost of the domain name.


Imgur profitable since day 1? Give me a break.

I mean now that they've created a social network and are redirecting all image links to their shitty webpage with the cat paw, ok, I believe it, but since day 1 when they were just hosting images? There's no way they were making money off that


Well, they were.

First donations, then using plain old ad networks.

It was bootstrapped for years.


"a teriibly un-optimized video codec"

Uh, they are using WebP and MP4, how is it terribly un-optimized?




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: