Add option for dpi resizing