Reading a JPG image ...

Blitz3D Forums/Blitz3D Programming/Reading a JPG image ...

... that is *not* in a JPG file.

Say I have a JPG picture data in a bank, but I dont have the .jpg file (data received by network stream, generated ...).

How can I read that data to view the picture ? The only solution I can think of right now is writing that data as a file then reading the file with loadimage or some other function.
However, as the tool im working on is supposed to read lots of images, think the writefile/loadimage method might not be the best thing.

I did a quick search for jpeg reading dlls but cound only find dll asking for a file name and not directly data.

Any idea ?