support png&bmp, fix download naming encoding