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
 Import Resolution

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
stevewagner Posted - Jan 27 2013 : 21:49:24
When importing from files, is there a way to limit the size of the image? Limit the resolution?

Steve Wagner
steve@instamation.com
1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Jan 28 2013 : 01:56:25
If you are loading a JPEG you can reduce the size as follows...

// Fastest way to load a thumbnailed jpeg of about 100x100 pixels
ImageEnView1.IO.Params.Width  := 100;
ImageEnView1.IO.Params.Height := 100;
ImageEnView1.IO.Params.JPEG_Scale := ioJPEG_AUTOCALC;
ImageEnView1.IO.LoadFromFile('my.jpg');


With Raw format you can use:
RAW_HalfSize := True;



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com