Which image filetypes are supported when you pass through a byte[]?
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.
In fact, just anything which matches
image/*. See here for a list. You’re only dependent on the webbrowser/client used whether it supports the image type.By the way and to be sure: you can’t let the value point to a
byte[]. It must point to an URL which returns thebyte[]in question. A servlet is perfectly suitable for this. Here is a basic example.