Added functionality for images with absolute widths in pixels (necessary
for nicely resolved screenshots).