Added a version of gentextures that uses jpeg for the base and output images
(overlay still needs to be png or some other alpha-capable format).