Converts image to static file