ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Save all images from ImageEnMView to hard drive

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

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

Nigel
Xequte Software
www.imageen.com
Amélie Posted - Jul 19 2024 : 18:06:45
Hi Nigel,

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:

http://www.imageen.com/help/TImageEnMView.GetImageToFile.html

Nigel
Xequte Software
www.imageen.com