An R package for creating composite PNGs or JPEGs