Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
T O P I C R E V I E W
Amélie
Posted - Jul 19 2024 : 04:44:28 Hi,
I want to save all the images that are in: "ImageEnMView1" under the extension '.png' and '.bmp' in the hard drive. The following code does not work. What is the error in this code please?
if SaveImageEnDialog_PNG.Execute then begin
ImageEnMView1.MIO.SaveToFile(SaveImageEnDialog_PNG.FileName + '.png');
end;
Hello
3 L A T E S T R E P L I E S (Newest First)
xequte
Posted - Jul 20 2024 : 15:04:29 Sorry, I'm not following. With this method it makes no difference how you put the images into the TImageEnMView
Thank you for your reply. In "ImageEnMView1", Images are retrieved from the scanner. So this solution cannot be applied in my case. Is there a solution to this problem please? Thank you !!
Hello
xequte
Posted - Jul 19 2024 : 17:06:53 Hi
Using MIO.SaveToFile will try to save all the images as a single multi-frame format (e.g. a TIFF or GIF). You should iterate the files using: ImageEnMView1.GetImageToFile(). Please see the example at: