Using png not dev.copy for images