Einzelnen Beitrag anzeigen

question

Registriert seit: 17. Apr 2013
97 Beiträge
 
#1

save image from database with TblobField

  Alt 29. Aug 2013, 15:57
hi, i have the following query to save image from database, if i save an image which is 300 kb but when i want to save the same image from the database, it always save with a fixed size 33 kb

Code:
Query.SQL.Clear;
   Query.SQL.Add('select Image from TablePic where id =1');
   Query.Open;
BlobField := Query.FieldByName('Image ') As TBlobField;
   BlobField.SaveToFile(FileName);
dont have any idea why its save with fixed 33 kb, do you have any suggestion?
  Mit Zitat antworten Zitat