Farmed encode stuff for PNG into own module