Answer the question
In order to leave comments, you need to log in
What is the picture format?
Hello uv. Community!
The image is stored in the ms sql database in the format (0xFFD8FFE000104A46494600010100000100010000FFDB ......), please tell me what is the format and what php function can it be converted to base64 or immediately to jpg?
Answer the question
In order to leave comments, you need to log in
Maybe someone needs a solution to this problem:
$img = "FFD8FFE000104A46494600010100000100010000......";
$data = base64_encode(pack('H*',$img));
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question