print header(-type => mimetype,-Content_Length =>length(image)),image;