I have a UTF-8 encoded file and would like to pop an output stream on the image part of the file. Any suggestions on how to filter everything out of the stream except the image data?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Scan the file for the various image file magic numbers, and attempt decoding from that position.