3 ms·
EDIT: I didn't expect this comment to be so popular and feel like I've hijacked the thread a little - sorry. Feel free to continue at https://news.ycombinator.c
by anigbrowl 12y ago
EDIT: I didn't expect this comment to be so popular and feel like I've hijacked the thread a little - sorry. Feel free to continue at https://news.ycombinator.com/item?id=8706850 https://news.ycombinator.com/item?id=8706850
I would much rather someone revived the Fractal Image format, which is now out of patent. It's very expensive to encode, but that's nowhere near as big a problem as it used to be. It's very fast to decode, very small, and the files are resolution independent: http://en.wikipedia.org/wiki/Fractal_compression http://en.wikipedia.org/wiki/Fractal_compression
I was blown away when I encountered it at PC Magazine in the 90s and it seems like it would be very responsive to the needs of today's web.
- bane 12y agohttp://www.verrando.com/pulcini/gp-uw1.html http://www.verrando.com/pulcini/gp-uw1.html They have a 6-minute figure on their page. I wonder what modern hardware could do with it? Anybody care to give it a whirl?
- jason_slack 12y agoThis looks like a fun project!
- ChrisGranger 12y agoI wonder how much that figure would drop if one could optimize the process for modern CPUs...
- tachyonbeam 12y agoEven without optimizations. That page is from 1997. They probably ran this on a 200MHz machine at best. Modern CPUs are 30-50x faster just in terms of instructions per second. Then once you factor in multiple cores, we have desktop machines that are easily 100x faster. In terms of optimizations we have SIMD and GPGPUs to make it even faster. Not unrealistic to think we could bring that 6 minute figure down to one second... And then, of course, there might be algorithmic tweaks that help us even more. Get 100 people looking at that code, and for sure they'd find ways to speed it up.
- TrainedMonkey 12y agoModern images are also much much higher res compared to "320x200 true-color image". Without knowing how this scales with image size there is really no way to speculate about performance on modern hardware.
- Intermernet 12y agoIn the same magazine there is an ad for a $3795 Gateway 2000 workstation. 486DX2 66MHz, 8MB RAM, 500MB SCSI HDD, SVGA graphics with 1MB RAM, 14" CRT. I remember looking at systems like that and drooling. Now the latest CPUs have 8MB L3 cache.
- tachyonbeam 12y agoTheres 8-core i7s with 20MB L3 cache now.
- sp332 12y agoTakes about 20 seconds for a 1280x893 bitmap. But the decoded image always looks blurry no matter what settings I use. The original bitmap is 3,349 kB and the IFS file ranged from 17 kB (looking awful and blocky) to 569 kB (looking about half the resolution of the original but not too bad).
- lbotos 12y agoexcuse my ignorance, but encoding would happen "once" when it was created by the author, right?
- ChrisGranger 12y agoThat's correct. I imagine some websites and applications create images dynamically on-the-fly but most of the time they're done by the author.
- jerf 12y agoI'd like to see a modern implementation and some unbiased testing done before I got too excited. From what I could tell, the tech got more hype than was justified by its ability to perform, and I suspect the fact that it still isn't in much use may have more to do with difficult being better at anything in particular than a current existing solution rather than a lack of people interested in it. (And note my phrasing of "got more hype than was justified by its ability to perform"... it isn't that it has no ability, just that it got more hype than it should have. Same thing happened to "wavelets". Yes, I know about JPEG2000... again, the point isn't that they are "bad" or "can't work" but that they got more hype than their real performance justified.)
- anigbrowl 12y agoIT's not the most competitive in compression or speed terms as far as I know, but the resolution independence is a Big Deal to me. I first saw this technology about 20 years ago and I am still impressed by it because nothing else has delivered that for photographic images. It's like SVG for photography. At the time, encoding required a) an expensive license and (IIRC) b) an accelerator board if you intended to do anything other than leave your CPU churning overnight - obvious disadvantages relative to formats like jpeg.
- spot 12y agothis is 100% BS, it's an illusion. you should read the Talk page of the wikipedia entry, where it's obvious there are some misinformed/deceptive folks took control of the page. See the comp.compression FAQ is a much better resource, as is the paper Brendt Wohlberg and Gerhard de Jager, "A review of the fractal image coding literature", IEEE Transactions on Image Processing, vol. 8, no. 12, pp. 1716--1729, Dec 1999 in particular " purely fractal-based schemes are not competitive with the current state of the art"
- anigbrowl 12y agoI'm not talking about the Wikipedia page, which does not in any case make mild claims about the technology. I'm recounting my personal experience of using it and being impressed by the results.
- kibwen 12y agoHere's the original PC Mag article: http://books.google.com/books?id=RJBJPJvct40C&pg=PA42&lpg=PA42&dq=fractal+compression+resolution+independent&source=bl&ots=fwEreQYWde&sig=vyAwaZ47WR8GWQznzUugL46PtYc&hl=en&sa=X&ei=6hqCVLfkEdKZyASj0YLABA&ved=0CFkQ6AEwBw#v=onepage&q=fractal%20compression%20resolution%20independent&f=false http://books.google.com/books?id=RJBJPJvct40C&pg=PA42&lpg=PA...
- anigbrowl 12y agoGreat find. I worked at PC Mag UK in London at that time. I don't remember if we did a piece on it, but I do remember the oohs and aahs in the office as we zoomed in on pictures of cute dolphins and the like.
- tedunangst 12y agoWow. "It took almost 4 minutes to convert a 1.3MB .TIF file to a 228K .JPG file." Those were the days.
- TD-Linux 12y agoThe following paper explains many of the reasons that engineers lost interest in fractal image compression: http://ieeexplore.ieee.org/xpl/login.jsp?tp=&arnumber=660992&url=http%3A%2F%2Fieeexplore.ieee.org%2Fiel4%2F83%2F14365%2F00660992 http://ieeexplore.ieee.org/xpl/login.jsp?tp=&arnumber=660992... Unfortunately I can't find a free PDF at the moment.
- solarexplorer 12y agoPDF on CiteSeer: http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.41.6711&rep=rep1&type=pdf http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.41....
- tachyonbeam 12y agoI tried something simpler than but similar to fractal compression earlier this year. Got interesting results: http://pointersgonewild.com/2014/01/02/tile-based-image-compression/ http://pointersgonewild.com/2014/01/02/tile-based-image-comp...
- spot 12y agoFractal compression is a scam. The "resolution independent" part especially.
- anigbrowl 12y agohttp://www.ams.org/notices/199606/barnsley.pdf http://www.ams.org/notices/199606/barnsley.pdf
- TazeTSchnitzel 12y agoHow the hell did they reverse entropy on that photo?
- andreasvc 12y agoThat definitely looks like a scam ... Figure 2 absolutely does not contain the level of detail reproduced in the--supposedly--fractal compressed versions in figure 3 and 4.