added image dpi setting