TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Perceptual Image Compression at Flickr

115 点作者 fahimulhaq超过 9 年前

12 条评论

brianshaler超过 9 年前
What they did was super impressive, and is a fascinating way to figure out the optimal global compression settings. However, I got my hopes up that perceptual image compression might be about computer vision. At scale, analyzing every image would obviously be prohibitively expensive, but it would be amazing to analyze the detail/edges or color usage (e.g. how much red) in a photo, and tune the q & chroma values accordingly. That, or compress with multiple settings and analyze the resulting images for noise introduced by artifacts.
评论 #10290537 未加载
jgrahamc超过 9 年前
This is interesting but would be more interesting if they linked to the software that they are using and gave information about the settings used.
Rifu超过 9 年前
Excellent writeup! I&#x27;m amazed people signed up to play their test game. Does anyone know if the points you get translate to any sort of other reward, or is a place on the leaderboard more than enough of an incentive to keep playing?<p>Personally though, I think the linked article about on-the-fly resizing[0] was a more interesting &quot;technical&quot; read.<p>[0] <a href="http:&#x2F;&#x2F;code.flickr.net&#x2F;2015&#x2F;06&#x2F;25&#x2F;real-time-resizing-of-flickr-images-using-gpus&#x2F;" rel="nofollow">http:&#x2F;&#x2F;code.flickr.net&#x2F;2015&#x2F;06&#x2F;25&#x2F;real-time-resizing-of-flic...</a>
评论 #10289639 未加载
cbr超过 9 年前
I read this looking to see if there was anything we could adapt for mod_pagespeed. Making images smaller without looking worse is, of course, what anyone optimizing images wants. Unfortunately, all they say about how they actually did their perceptual compression is:<p><pre><code> Ideally we’d have an algorithm which automatically tuned all JPEG parameters to make a file smaller, but which would limit perceptible changes to the image. Technology exists that attempts to do this and can decrease image file size by 30-50%. </code></pre> As far as I know, the only practical way to do this is to do a binary search for the quality level that gives a desired SSIM [1], but this is kind of expensive and I was hoping that they had something cool to tell us here.<p>[1] If you&#x27;re interested in getting this kind of improvement and your images are viewed enough that it&#x27;s worth doing more intensive encoding to get things exactly right, you could do this:<p><pre><code> def evaluator(image, candidate_quality): compressed = jpeg_compress(image, candidate_quality) return dssim(image, compressed) best_quality = binary_search( image, desired_dssim, candidate_qualities, evaluator)</code></pre>
评论 #10290709 未加载
评论 #10293576 未加载
评论 #10290372 未加载
TazeTSchnitzel超过 9 年前
Okay, but how is this &quot;perceptual image compression&quot; done?
评论 #10289900 未加载
geon超过 9 年前
I wonder if jbig-style pattern matching and substitution (See the Xerox fail) could be used on photos in jpg format.<p>If the 8x8 tiles in a jpg were lossy deduplicated, the Huffman compression should work better, even if you kept the high frequencies.<p><a href="http:&#x2F;&#x2F;www.dkriesel.com&#x2F;en&#x2F;blog&#x2F;2013&#x2F;0802_xerox-workcentres_are_switching_written_numbers_when_scanning" rel="nofollow">http:&#x2F;&#x2F;www.dkriesel.com&#x2F;en&#x2F;blog&#x2F;2013&#x2F;0802_xerox-workcentres_...</a>
cyberjunkie超过 9 年前
I&#x27;ve been using Flickr for a while now, and am a regular visitor to flickr.com&#x2F;explore. It has always been so painfully slow to load. Moving to the final photo page is even bigger a task. Sometimes, the thumbnails take two minutes to load, but if I get a direct link to the 4MB image, it downloads in literally 5-10 seconds.<p>I&#x27;m waiting to get home to see if they&#x27;ve done to fix this mess.
评论 #10290288 未加载
fsiefken超过 9 年前
Does anyone know what the equivalent imagemagick convert command could be for jpeg and webp? If Firefox supports webp in the near future and IE and Safari support can be done through javascript decompression what could the size reduction with a similar process on webp be compared to jpeg be?
评论 #10290298 未加载
评论 #10290228 未加载
__alexs超过 9 年前
&gt; 15% fewer bytes per image makes for a much more responsive experience.<p>I wonder how they measured this. Seems like perceived speed gains would be sub-linear with file sizes to me. Particularly as actual transfer speed is often too once you factor in network latency patterns.
评论 #10289967 未加载
评论 #10289713 未加载
manaskarekar超过 9 年前
This is all impressive and all, but flickr needs to improve their page load times, a lot. I like flickr a lot, and as a paying customer, I&#x27;m tempted by 500px every time I visit them.
gpmcadam超过 9 年前
Took me far too long to realise the screenshot of the comparison test was not interactive. :(
moneylotion超过 9 年前
does netflix do this too? or does netflix just get like insane raw source files?