Skip to content
HomeVideosBooksBlogs
AllTop postsTopics
Podcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K

    Cloudinary Blog

    cloudinary.com · Company blog · on HN since 2012

    Cloudinary's engineers write about image and video delivery and image codecs, with many posts on JPEG XL and compression comparisons.

    Visit blogHN submissions
    Web DevelopmentDevOps & Cloud
    What HN says

    Commenters mostly recommend the Cloudinary service itself as an image hosting and processing tool, praising its features, free tier and page speed help.

    Stats for nerds
    103HN people shared it
    155linked in comments
    1.7Kstory points
    Nov 2025last shared
    2012people per year2025

    Top posts on HN

    1. 1
      JPEG XL and the Pareto Front
      9 people · 520 points · first shared 2024 · 319 comments on HN
    2. 2
      The case for JPEG XL
      10 people · 391 points · first shared 2022 · 209 comments on HN
    3. 3
      How JPEG XL compares to other image codecs
      13 people · 156 points · first shared 2020 · 71 comments on HN
    4. 4
      JPEG XL: How It Started, How It’s Going
      6 people · 39 points · first shared 2023 · Discussion on HN
    5. 5
      How do various formats (PNG,GIF,JPEG,) compress a blank image?
      2 people · 26 points · first shared 2016 · Discussion on HN
    6. 6
      How many bytes do you need for one single pixel?
      3 people · 22 points · first shared 2016 · 1 comments on HN
    7. 7
      How I used Cloudinary to solve responsive image needs with a Jekyll plugin
      1 person · 13 points · first shared 2016 · Discussion on HN
    8. 8
      FLIF, the new lossless image format that outperforms PNG, WebP and BPG
      3 people · 10 points · first shared 2015 · 1 comments on HN
    9. 9
      A Closer Look at Guetzli
      2 people · 9 points · first shared 2017 · Discussion on HN
    10. 10
      Cellular Automata images compressed to ridiculously small FLIF files
      2 people · 9 points · first shared 2017 · Discussion on HN

    What HN people wrote when they linked it

    • janwasMay 2024

      > PSNR is a terrible measure of quality

      Glad we can agree on that. Unfortunately many evals use that or plain SSIM, which is still L2 at heart.

      > Encoding speed is not really a concern for web uses

      hm, in many discussions with Jon of Cloudinary, I did not get the impression that this is the case. Imagine their enthusiasm about 100x-ing their compute costs.

      > Can you say why it was not included in your 2020 subjective evaluation?

      The paper's comment on this is: "The selection of anchors is based on the general popularity of the codecs and the availability of the software implementations. We only intended to use codecs which are standardized internationally."

      > using an ITU recommend methodology

      While this has some helpful guidance on viewing conditions, it is unfortunately still subjective (what parts are observers looking at, what counts as "annoying") and is more useful for detecting severe artifacts, which less relevant in practice because that's hopefully not the quality range people are using.

      Also, these results are quite old and both encoders have changed since then.

      > need to speculate on the relative quality of AVIF v JPEG XL at web bitrates.

      No need to speculate :) Just to first agree on what are actual web bitrates. From Chrome metrics, IIRC it was over 1bpp. Here's some newer data: https://discuss.httparchive.org/t/what-compression-ratio-ranges-are-used-for-lossy-formats/2464 Even for AVIF, the median is 0.96 and q3 is 1.79(!).

      Jon has written several…

    • rndgermandudeApr 2022

      Comparing compression ratios is tricky. What you usually want is "file size at same visual quality" or "visual quality as same file size" for comparisons. The problem here is that "visual quality" is in the eye of the beholder, Different base images will have different results.

      There are some attempts at such comparisons, e.g. https://cloudinary.com/blog/how_jpeg_xl_compares_to_other_image_codecs (cloudinary might be biased, as they are a major driver behind jpeg-xl)

      My overall impression is that it's roughly on par or a little behind with AVIF, somewhat ahead of HEIC and very ahead of WEBP (and jpeg of course) in quality-per-byte.

      As for encode and decode speed, it's a bit slower than WEBP but beats AVIF and HEIC by a margin (unless these codecs are back by hardware encoders). However, all three codecs are relatively new and there may be a lot of future speed optimizations possible. Especially jpeg-xl, which isn't "backed" by general AV1 (AVIF), vpx (WEBP) or HEVC (HEIC) research, may have a particularly large yet to be tapped potential for (hardware-specific) optimizations. As far as I know, jpeg-xl is also "simpler" than those other codecs (which basically used the iframes of their complex sibling video codecs as a base), so it might be more feasible to have more competing implementations.

      But time will tell, and it will of course also largely depend on the adoption and thus network effects of these formats who much "love" each format receives from open source and…

    • alwillisFeb 2024

      > The argument is: (1) the cost is large -- implementation and maintenance of a complex image codec takes time, and image codecs are high-risk from a security perspective.

      If you look at the history of Google employees created the basis for JPEG XL [1], having it included in beta builds of Chrome and then removing it "for reasons", it's pretty obvious it wasn't pulled for technical or security reasons.

      Obviously Apple didn't think there were significant security and implementation issues preventing them from enabling JPEG XL on over 2 billion devices.

      The Chrome team has proposed a number of web features and APIs that Apple, Mozilla and sometimes Microsoft don't want to implement due to security and privacy reasons. Usually that doesn't stop Chrome from going ahead and shipping them anyway.

      > (2) the benefit is relatively small -- it needs to provide a clear advantage over existing alternatives like jpg, png, webp, avif in some significant general use cases.

      JPEG XL does provide advantages over existing alternatives—The Case for JPEG XL [2]:

      In the past, new image formats have been introduced that brought improvements in some areas while also introducing regressions in others. For example, PNG was a great improvement over GIF, except that it did not support animation. WebP brought compression improvements over JPEG in the low to medium fidelity range but at the cost of losing progressive decoding and high-fidelity 4:4:4 encoding. AVIF…

    • lonjilApr 2024

      > Their claims about Jpegli seem to make WebP obsolete regarding lossy encoding? Similar compression estimates as WebP versus JPEG are brought up.

      I believe Jpegli beats WebP for medium to high quality compression. I would guess that more than half of all WebP images on the net would definitely be smaller as Jpegli-encoded JPEGs of similar quality. And note that Jpegli is actually worse than MozJPEG and libjpeg-turbo at medium-low qualities. Something like libjpeg-turbo q75 is the crossover point I believe.

      > Hell, I question if AVIF is even worth it with Jpegli.

      According to another test [1], for large (like 10+ Mpix) photographs compressed with high quality, Jpegli wins over AVIF. But AVIF seems to win for "web size" images. Though, as for point 2 in your next paragraph, Jpegli is indeed much faster than AVIF.

      > JPEG XL would've still been worth it though because it's just covering so much more ground than JPEG/Jpegli and it has a streaming decoder like a sensible format geared for Internet use, as well as progressive decoding support for mobile networks.

      Indeed. At a minimum, JXL gives you another 20% size reduction just from the better entropy coding.

      [1] https://cloudinary.com/blog/jpeg-xl-and-the-pareto-front

    • cjawdbJun 2023

      I'm confused where you got "it was available for years and ignored in popular software" from? Most of the ISO standard was only published last year, with the last bit being published in October 2022. IIRC AVIF is almost ~4 years old by the same standards and WebP is over a decade old.

      Adobe has partial support (in Camera RAW) with presumably further support coming considering their website recommends JXL alongside AVIF for HDR images. It's also supported by Affinity Photo 2, Krita, Darkroom, GIMP, ffmpeg, ImageMagick, Paint.net, anything Qt/KDE-based via plugin, Pale Moon, libvips, and almost every third-party image viewer that I've ever used or heard of (nomacs, Irfanview, ImageGlass, xnView, etc.). It also has had vocal support from senior engineers at a variety of companies like Facebook, Shopify, Cloudinary, Intel, Flickr, etc.

      My first thought when I heard about JXL several months ago was "oh, a new JPEG-2000?" but I've quickly become a JXL evangelist after reading more about it and then playing around with libjxl myself.

      https://jpegxl.info/why-jxl.html

      https://jpegxl.io/articles/faq/

      https://cloudinary.com/blog/the-case-for-jpeg-xl

    • noacloudinaryJul 2016

      Hi guys, we at Cloudinary provide cloud based end-to-end digital asset management solution and our challenges here are super interesting - from technical, scale, performance, security, high availability and product perspectives.
      Adding to that challenges around real continuous deployment, automation, development process etc.
      We are now managing milliards of images and more than 1000 interactions and transactions in a sec!!
      Our R&D team is super small and super strong - we have CTO's/ people with former startups and they all chose Cloudinary thanks to our interesting challenges.
      From the personal perspective and work life balance, we are one of a kind.

      The company is self funded, profitable with more than tens of thousands of customers and we keep growing!!

      We are now looking for an amazing, brilliant, creative developers to join us in our office in Israel (Located in Petach- Tiqwa) - Backend, Front end, SDK's and Devops (engineer and manager).
      In addition we have open positions in our Customer Success and sales teams.

      To read more about our openings: http://cloudinary.com/jobs
      You can send CV's to jobs@cloudinary.com

    Related

    Dropbox Tech Blogblogs.dropbox.com454 people

    Optimizing web servers for high throughput and low latency

    Dropbox Tech Blog
    Company · last shared 2026
    Flickr Code Blogcode.flickr.net102 people

    Flickr – A Year Without a Byte

    Flickr Code Blog
    Company · last shared 2026
    Netflix Tech Blognetflixtechblog.com363 people

    The Case of the Extra 40ms

    Netflix Tech Blog
    Company · last shared 2026
    Matt Taylormjt.me.uk70 people

    The smallest 256x256 single-color PNG file, and where you've seen it (2015)

    Matt Taylor
    Personal · last shared 2026
    PyPy Blogpypy.org183 people

    PyPy has moved to Git, GitHub

    PyPy Blog
    Company · last shared 2026
    Level Up Codinglevelup.gitconnected.com224 people

    We reduced our server costs by moving away from AWS

    Level Up Coding
    Publication · last shared 2026
    Microsoft Cloud Blogscloudblogs.microsoft.com133 people

    exFAT in the Linux kernel

    Microsoft Cloud Blogs
    Company · last shared 2024
    Google Research Blogresearch.googleblog.com278 people

    Guetzli: A New Open-Source JPEG Encoder

    Google Research Blog
    Company · last shared 2018