I am able to view the .bin
image files using display command in ImageMagick.
display -size 512x512 -depth 32 -equalize gray:<filename>
I was able to convert it to jpg format and then display on a webpage. But I need to display the file without converting it to jpg.
Using php exec()
, it was possible to display the file when running the php file on terminal but not on apache web server.
Is there a way to display the .bin
image file on a web page?
Please help me as I have been trying this for many days...