Hi: I have got a paradox table with three information docno line and image. The image will be a blob documents. I am wanting to obtain the blob files ended up saving as jpg ór gif, with éach document provided the name +series of the doctor no. So record 123 collection 4 becomes c:images1234.jpg.![Html image blob Html image blob](http://sbt.blob.core.windows.net/storyboards/rileychristensen/apollos-oracle-at-delphi.png)
I know how to perform it in paradox; is certainly generally there a method of doing it in delphi ? I have always been a beginner to delphi so please end up being soft!
Right here is the objectpal method:
scán tc :
dócno = tc.'dócno'
range = tc.'range'
label = docno + collection
img=tc.'image' ; field containing visual
img.writetofile('M:labelsimages' + brand + '.jpg')
endscan
Thanks a lot!
![Html image blob Html image blob](http://sbt.blob.core.windows.net/storyboards/rileychristensen/apollos-oracle-at-delphi.png)
Store just the bytes of the image in the BLOB. Try to detect the difference between the bmp and jpg file format and act (e.g. Look for magic numbers/specific file formats). Store just the bytes of the image in the BLOB. Use another field in the database to store what kind of data is stored in the BLOB 3. How to load an arbitrary image from a BLOB stream into a TImage? Ask Question 8. If you know what the format is when you put the BLOB into the database you could always include that information as your own private header to the BLOB. Browse other questions tagged delphi stream delphi-2007 detect timage or ask your own question.
I know how to perform it in paradox; is certainly generally there a method of doing it in delphi ? I have always been a beginner to delphi so please end up being soft!
Right here is the objectpal method:
![Html image blob Html image blob](/uploads/1/2/5/8/125836305/280805997.png)
dócno = tc.'dócno'
range = tc.'range'
label = docno + collection
img=tc.'image' ; field containing visual
img.writetofile('M:labelsimages' + brand + '.jpg')
endscan
Thanks a lot!