DEV Community

Cover image for Thumbrella dominates image service showdown
Peter Shinners
Peter Shinners

Posted on

Thumbrella dominates image service showdown

My free thumbnailing service, Thumbrella, has been in development for several months. I recently compared it to existing online services like Imgix, Cloudinary, Imageboss, and Cloudflare.

Not only is Thumbrella over 20x faster, I'm surprised to find the limitations and shortcomings from all the other online services I tested. I tested 40 different sample media and collected the results across all services.

Because Thumbrella is focused on thumbnails, it is able to take advantage of optimizations and fast paths not available to general purpose image services. It's rewarding to see all the design, thought, and effort pay off this way.

Most sections start with a graph showing the number of supported formats and the ranges of time needed for the various files for each image service.

Images

The comparison starts with 12 basic images. This includes everything from jpeg to avif and tga. (More complicated formats are tested later)

  • Cloudflare's lack of support for avif, jxl, svg, and even some jpeg images may be a dealbreaker for most.
  • Cloudinary could probably mine bitcoins faster than it can preview svg images. But at least it tries, unlike Imgix or Cloudflare.
  • ImageBoss rendered a solid black background under the transparent png, which is not a good default.
  • Formats that embed thumbnail images are over 500x-1000x faster with Thumberella.
  • Cloudinary's 6 second SVG thumbnail breaks the chart (in the wrong way)
  • I would not consider Imageboss' 2 seconds for theavif acceptable.

Videos

A small sampling of 4 video files with various codecs and formats.

  • Video formats are so common, they should not be treated as second class. Imageboss and Cloudflare ignore them completely.
  • Thumbrella's 1/10 of a second for all these should be blowing your mind. Remember, these images are coming from remote urls, not a local disk.
  • Cloudinary could be a reasonable solution for users that don't need interactive speeds for video thumbnails.

Camera images

This is a separate section than regular images. Camera formats generally deal with high dynamic color ranges and specialty encoding options. Anyone with an online archive of digital photos requires support for these formats.

  • Most image services ignore most of these formats.
  • The common heic format is probably what is coming out of your phone. Thumbrella is 4x faster than Imgix for this, and the other services don't even try.
  • Even the slowest Thumbrella format is faster than the fastest format on other services.

Documents

These 9 document formats cover a variety of software applications. I wouldn't expect image services to handle these, although many of them step up for good pdf support.

  • Only Imgix works with Photoshop files, although 3x slower than Thumbrella.
  • Thumbrella's support for a variety of office formats is exceptional.

Other

Other miscellaneous tests and edge cases.

  • Cloudflare Browser Run was used to compare the browser rendering for html.
  • Thumbrella provides a thumbnail for every possible request. Even placeholders for invalid urls.

Thumbrella

Learn more about Thumbrella from the website. The free online service is the easiest way to get started. But the open source self hosted server gives the most flexibility (and even better performance).

See more details about these sample files and their sources from the Thumbrella Demo Gallery.

Top comments (0)