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
 scan all the images of a directory

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
Bill Posted - Oct 25 2016 : 14:40:58
Hello,

I want to scan all the images of a directory and save them later in another directory.

How to do this please? if you have an example, it would be nice.

Thank you for your help.

Best regards.
4   L A T E S T    R E P L I E S    (Newest First)
yogiyang Posted - Nov 08 2016 : 09:05:34
Instead of copying file as suggested by Nigel. I use the following code because when I load and Image in ImageEn and save it the size of image is reduced substantially:

// Copy all photos loaded in ImageEnM to the project folder
ieMain.Clear;
for I := 0 to iemComments.ImageCount - 1 do
begin
  ImageFileName := iemComments.ImageFileName[I];
  ieMain.IO.LoadFromFile(ImageFileName);
  NewImageFileName := NewFolder + ExtractFileName(ImageFileName);
  ieMain.IO.Params.JPEG_Quality := 90;
  ieMain.IO.Params.JPEG_Smooth := 3;
  ieMain.IO.Params.JPEG_Progressive := false;
  ieMain.IO.SaveToFileJpeg(ImageFileName);
  ieMain.Clear;
end;

HTH


Yogi Yang
xequte Posted - Oct 25 2016 : 20:50:29
Why not just copy the files to the new folder?

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Bill Posted - Oct 25 2016 : 18:20:45
hello,
yes save them later in another directory.Save them after ( save image by image scanning after each scan)
w2m Posted - Oct 25 2016 : 16:51:03
What do you mean by "Save them later in another directory"? Save them when?

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development