Added size and dpi options