remove .DS_store and /tmp
Resize unknown image.