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
 Scanning with Scanner Dialog

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
AndyColmes Posted - Feb 17 2012 : 02:19:29
I am scanning with the Scanner TWAIN Dialog. I set the DPI value from the TWAIN Dialog but somehow the image property is always 300 DPI. Is there a way to set the true DPI value after scanning? I am using the example that uses iemioLoad with the OnAcquireBitmap event.

Thanks.
1   L A T E S T    R E P L I E S    (Newest First)
fab Posted - Feb 17 2012 : 08:01:32
It is only possible to instruct the scanner driver to acquire with a given DPI, with:
ImageEnView.IO.TwainParams.XResolution := DPI;
ImageEnView.IO.TwainParams.YResolution := DPI;

You can also set the DPI informative tag, after scanning, with:

ImageEnView.IO.Params.DPI := DPI;

Of course, the above code doesn't change the actual image resolution, but only the informative DPI tag.