Hi.
I made an Image.RES that contain many '.jpg' files. Now I want to Load one of them from Image.RES with LoadFromStreamJpeg() function. I used code below but it doesn't work and gave this error:
Cannot open file "...\Win32\Debug\IMG_1". The system cannot find the file specified.
This is my Code:
procedure LoadMyImage;
var
FileStream: TStream;
Begin
FileStream := TFileStream.Create('IMG_1' , fmOpenRead);
ImageEnView.IO.LoadFromStreamJpeg(FileStream);
ImageEnView.Fit();
ImageEnView.Update;
FileStream.free;
End;