ahll
asked on
show an image stored in a database
Hi friends
I have an interbase 6 Ā database. One table has a blob field holding a picture and I need to show it.
The problem is that I don't know in wish format is stored this picture. I ran a routine to show a jpg picture and it failed, I got an JPEG ERROR #52.
How can I know the format of this picture and show it?
thanks in advance
I have an interbase 6 Ā database. One table has a blob field holding a picture and I need to show it.
The problem is that I don't know in wish format is stored this picture. I ran a routine to show a jpg picture and it failed, I got an JPEG ERROR #52.
How can I know the format of this picture and show it?
thanks in advance
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
what is first two bytes of saved file (hex representation)?
ASKER
all the files begin with diferents bytes, I saved some blob fields to the HD and they are all differents
ASKER
please adm, can you delete this quiestion? I think nobody has an answer for my problem
thanks all anyway
thanks all anyway
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks Chris, but I have tha database full of data and I need to retrieve it.
ASKER
I need to delete this quiestion, please
thanks
thanks
ASKER
I saved the file to the HD and it doesn' t look like a jpg. I read the link posted by mnasman and it's very interesting but it didn't help me.
How I need this very much I'll increase my points on this question.
Thanks all