multiformat support, and transparent PNG

Images (png,gif,jpg) now maintain their format, and PNGs support
transparency.