Hi again
i met this problem
when i run it i get the above error..
i use TMemoryStream instead of Tstream but in the saveimage to stream do data is saved...
How can i solve the Tstream.seek error...?
i use the Vampire Image Library..
Thank you...Code:var strm1: Tstream; myImg: TimageData; imgExt: string; InitImage(myImg); LoadImageFromFile(SnapImg,myImg); strm1:= TStream.Create; // strm1.Seek(myImg.Size,soBeginning); imgExt:= ExtractFileExt(SnapImg); SaveImageToStream(imgExt,strm1,myImg);
Bookmarks