news.volyx.in

Regressive JPEGs (maurycyz.com)

726 points by vitaut · 41 days ago · 69 comments on HN

Article summary

The article discusses the concept of regressive JPEGs, which allow for progressive decoding of images, enabling a low-resolution preview to be displayed before the full image is loaded. This feature can be exploited to create a single image file that appears to animate as it loads, by concatenating multiple images with the same resolution. The author demonstrates this technique and discusses its limitations, including the lack of control over playback timing. The technique has no practical applications, but can be used for unconventional purposes such as trolling or creating interactive images.

Main themes

  • Regressive JPEGs
  • Progressive decoding
  • Image animation
  • Network delay
  • Steganography
  • Image compression

What commenters say

  • The technique of regressive JPEGs can be used to create animated images, but it has no practical applications due to the lack of control over playback timing.
  • Some commenters suggest that the technique can be used for steganography, hiding data in plain sight by embedding it in the first frame of the image.
  • Others argue that the technique is not useful for steganography, as it can be easily detected by automated image analysis programs.
  • The use of regressive JPEGs for animation is not a new concept, and some commenters point out that there are existing formats, such as Motion JPEG, that can achieve similar results.
  • Some commenters propose using server-side techniques, such as sending data in timed chunks, to control the playback timing of the animated image.
  • Others discuss the potential uses of regressive JPEGs for purposes such as creating interactive images or adding a progress bar to loading animations.