fixed the convert image to format  Resoltuion is optional parameter now.
no message