adds jpeg writer