Board index » delphi » Storing Jpeg's in a blob field
R. Blaine Whittle
![]() Delphi Developer |
Mon, 24 Dec 2001 03:00:00 GMT
Storing Jpeg's in a blob field
Whats the best way to do this? Personnaly i dont like TDBImage for several
reasons, you can only open a couple file formates, and you can only paste from the clipboard in a couple file formats. I do like using the standard TImage for cut and pasting and file functions. What Im interested in doing is saving the picture in a jpeg format instead of bmp, this will save on compression time when looking at them through a web interface. Does anyone know of a TJpegDBImage component? I cant seem to find one so I tried using loadfromstream and savetostream using a TJpegImage in the hopes of allowing any file format that TImage takes but always storing it as a jpeg in the database. Well I cant seem blob streaming working right. Has anyone else tried this before? Blaine Whittle |