GBE-534: avoid double render() call + no dpi metadata for jpeg (does not

work anyhow)