It will also handle auto-resizing of images for specified pixel
densities. No more fart-arsing about for retina displays, just supply the
largest (highest-density) image. By default, this uses ImageMagick's version of
the Lanczos and Mitchell algorithms, depending on the most appropriate, but you
can specify any of the 20-odd available.

You're not locked in to auto-resampling though, you can supply multiple density
versions of the same image, if you prefer.

Additionally, it will add the relevant cross-browser media queries to the CSS.

Even though ImageMagick uses some pretty decent algorithms for resampling images,
you may not want node-spritesheet to automatically resize your retina versions
for you, you may want to instead keep two copies of each image.

Again, this adds retina/legacy support, but uses a filter function to ascertain
which images are retina and which aren't, meaning you don't have to rely on the
resampling option, if you want finer control.