When an Image (e.g.,jpg) is converted to byte array, how the byte array is encoded with new line? or how the length and width of the image is represented in the array of bytes.
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.
The image metadata are described by the respective image format specification and stored in the same image file, so you need to examine the respective spec to find out how to determine the image dimensions in that format.
This page goes into detail about how to determine a JPEG image dimensions.