Get size and position of image (jpg)

Questions, comments and suggestions concerning VintaSoft Imaging .NET SDK.

Moderator: Alex

Post Reply
GHWels
Posts: 33
Joined: Thu Apr 09, 2015 7:57 am

Get size and position of image (jpg)

Post by GHWels » Mon Mar 06, 2017 1:07 pm

Hello!

I want to get the size, the Position, angle of each image
(e.g. passport on white background)
in a jpg file (picture made with the camera suface or a scanfile)
I did not find a sample

Thank you for your help
mfg GH
Best regards, GHWels

Alex
Site Admin
Posts: 1536
Joined: Thu Jul 10, 2008 2:21 pm

Re: Get size and position of image (jpg)

Post by Alex » Tue Mar 07, 2017 10:25 am

Hello Gunther,
I want to get the size, the Position, angle of each image
(e.g. passport on white background)
in a jpg file (picture made with the camera suface or a scanfile)
I did not find a sample
The image rotation angle can be found using the Vintasoft.Imaging.ImageProcessing.Info.GetRotationAngleCommand command:
http://www.vintasoft.com/docs/vsimaging ... mmand.html

The image border rectangle can be found using the Vintasoft.Imaging.ImageProcessing.Info.GetBorderRectCommand command:
http://www.vintasoft.com/docs/vsimaging ... mmand.html

Please send us (to support@vintasoft.com) a sample image and we will provide you an example, which allows to detect the border rectangle around the rectangular object (passport) on white background.

Best regards, Alexander

Post Reply