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
 dpi scanning

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
pierrotsc Posted - Sep 10 2019 : 12:38:39
Not sure if i am doing that correctly. I am using the scanning demo. When i have the scanner dialog showing up, i can pick the resolution i want to scan with. If i do not use the scanner dialog, i have the automatic acquire set at 300 dpi. That is perfect. now if i use the scanner dialog and pick 200 dpi, i guess the imagenmview has a 200 dpi thumbnail. How can i set a warning that the image scanned should be 300 ?
Is that possible.
Best
8   L A T E S T    R E P L I E S    (Newest First)
pierrotsc Posted - Sep 16 2019 : 10:12:42
Just what i needed. thanks
xequte Posted - Sep 15 2019 : 17:37:47
Oh, sorry, I misunderstood.

The scanning DPI should be applied to the image DPI, so, for example, the DPI of the first image would be:

ImageEnMView1.MIO.Params[ 0 ].Dpi

https://www.imageen.com/help/TIOParams.Dpi.html

Nigel
Xequte Software
www.imageen.com
pierrotsc Posted - Sep 12 2019 : 11:42:35
Nope, i scan with the dialog at 360. i click on the image in imagenmview and it shows 300 and not 360. I wonder why. Advice ?

ShowMessage(FloatToStr(ImageEnMView1.MIO.AcquireParams.XResolution));
pierrotsc Posted - Sep 12 2019 : 10:56:41
Never mind. i reread your message and i think i got it.
Appreciate it
Best
pierrotsc Posted - Sep 12 2019 : 08:56:34
Nigel, let me try to re explain. When i use the demo and i acquire using the showdialog, i get a thumbnail in the imagennmview component. Now when i select this image by clicking on it, i would like a dialog to pop up to show the resolution it was scanned. Is that possible ?
Thanks
xequte Posted - Sep 11 2019 : 21:51:22
Sorry, I may be misunderstanding your requirements.

You can get/set the DPI using ImageEnMView.MIO.AcquireParams.XResolution:

https://www.imageen.com/help/TIEAcquireParams.XResolution.html


Nigel
Xequte Software
www.imageen.com
pierrotsc Posted - Sep 11 2019 : 20:59:12
thank you. i just wanted to know if it would be possible for you select the imageenmview to find out the dpi but it looks like imageenmview does not do that.
xequte Posted - Sep 11 2019 : 16:26:16
Hi

If you are acquiring with the scanner's dialog, then it is not possible to show a warning message (after the dialog), because the whole transaction is handled by the Twain driver.

Nigel
Xequte Software
www.imageen.com