DonationCoder.com Forum

DonationCoder.com Software => Mouser's Zone => Screenshot Captor => Topic started by: Chris Douce on April 17, 2019, 02:30 AM

Title: Grab windows object misfit
Post by: Chris Douce on April 17, 2019, 02:30 AM
Hi all,

When I try to capture a windows object (fe form), the red rectangle around the object is bigger than the actual object.
The resulting capture also.
Other screen captoring tools do not have this problem (fe Snipping tool).
To be able to use screenshot captor, I now take the screenshot in Snipping Tool and save the file.
I then open it in Screenshot Captor to edit.
I am using Windows 10

Is this a known issue?
Thanks

Chris
Title: Re: Grab windows object misfit
Post by: mouser on April 17, 2019, 05:50 AM
Can you make sure you are using the latest version of SC and then give me some more details about how the resulting capture is too big?
Title: Re: Grab windows object misfit
Post by: Chris Douce on April 17, 2019, 12:06 PM
Hi,

Thanks for the reply.
Attached you'll find 2 images.
One from screenshotcaptor. The other from snipping tool.
You can see that around the screenshotcaptor image, there is a border of the underlaying screen.

[ You are not allowed to view attachments ]

Chris
Title: Re: Grab windows object misfit
Post by: Chris Douce on April 17, 2019, 12:08 PM
Additional info:

I use V4.31.2
Title: Re: Grab windows object misfit
Post by: mouser on April 17, 2019, 12:30 PM
Ok, sounds like I might need to look into whether on Windows 10 I need to adjust for the border size of windows..
If you capture a smaller object than a window, like a button or a text box, the size seems correct?
Title: Re: Grab windows object misfit
Post by: Chris Douce on April 17, 2019, 01:59 PM
I cannot select a button or textbox with Snipping tool.
So, I installed Picpick to grab a button.
And the both button are exactly the same size. 123 x 203

Now I tested again on a form and the resulting sizes of the PNG files are different
Screenshot: 1047 x 777 ( one can clearly see the extra border)
picpick: 1027 x 770

See attached files

thx

Chris
Title: Re: Grab windows object misfit
Post by: mouser on April 17, 2019, 03:38 PM
Ok that's helpful -- I'll see if I can't fix this. I seem to remember windows api providing information about window border size based on the theme -- I think that might be the solution.

I thought of another question.  If you select that window and use the ACTIVE WINDOW CAPTURE mode instead of the red box object mode, what does the capture look like in that case?
Title: Re: Grab windows object misfit
Post by: Chris Douce on April 18, 2019, 01:24 AM
Thanks for the reply.

Using the active window grab works fine. The size of the capture is OK
Perhaps, this may be part of the solution to determine the size of the object


Title: Re: Grab windows object misfit
Post by: mouser on April 18, 2019, 12:32 PM
Yes, I was hoping that would be the case.  Should make it fairly easy for me to do a fix for the red box object capture of window forms.
Thanks for your help tracking down the problem -- I should have an update in the next few days.  :up:
Title: Re: Grab windows object misfit
Post by: mouser on April 18, 2019, 03:12 PM
Can you try this beta:
https://www.donationcoder.com/Software/Mouser/screenshotcaptor/downloads/beta/ScreenshotCaptorSetup.exe
or portable (https://www.donationcoder.com/Software/Mouser/screenshotcaptor/downloads/beta/ScreenshotCaptorPortable.zip).
Title: Re: Grab windows object misfit
Post by: Chris Douce on April 19, 2019, 01:27 AM
Yes, this one works fine.

Thanks
Title: Re: Grab windows object misfit
Post by: mouser on April 19, 2019, 01:27 AM
 :up: