Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ScreenShot Skewed #4

Closed
eclectic-tech opened this issue Aug 28, 2018 · 10 comments
Closed

ScreenShot Skewed #4

eclectic-tech opened this issue Aug 28, 2018 · 10 comments

Comments

@eclectic-tech
Copy link

If I create a simple screenshot, the image is skewed

[MagickMeter_1]
Measure = Plugin
Plugin = MagickMeter
;Take screenshot
Image = File Screenshot | Ignore 1
;Crop blurred screenshot to smaller piece base on skin position.
Image2 = Clone Image | Crop #CURRENTCONFIGX#,#CURRENTCONFIGY#,452,452

[M1]
Meter=Image
MeasureName = MagickMeter_1

Tested in Rainmeter v4.2.0.3111 and v4.3.0.3237 with the same result.
Thanks

@khanhas
Copy link
Owner

khanhas commented Aug 28, 2018

Your code works normally on mine.
How skewed is it?

@khanhas
Copy link
Owner

khanhas commented Aug 28, 2018

Hmm, I just tried with 4.3. Still works normally.
I also did try with different scaling in Windows 10 but it's still fine.

@eclectic-tech
Copy link
Author

eclectic-tech commented Aug 28, 2018

Just realized I have an older version of your plugin... :(
I will download the latest and get back to you...

Windows 10 Pro
Version 1803
OS Build 17738.1000
With V0.3.0.0 of your plugin it looks like this:
image

@khanhas
Copy link
Owner

khanhas commented Aug 28, 2018

Oh my, that's weird.
How about only

Image = File Screenshot

without any effect?
Is it distorted?

@eclectic-tech
Copy link
Author

Updated MagickMeter.dll to V0.5.0.0 but have the same result with the screenshot code.
However, my screen resolution is normally 1366x768...
If I increase my resolution to 1920x1080, the code does not skew the screenshot

Hope this helps point to where there is a problem for me.

@eclectic-tech
Copy link
Author

eclectic-tech commented Aug 28, 2018

Tried:

Image = File Screenshot

Still distorted with 1366x768 @ 100% scale

EDIT: I have unadorned onboard graphics capabilities:
Intel(R) Q45/Q43 Express Chipset (Microsoft Corporation - WDDM 1.1)

@khanhas
Copy link
Owner

khanhas commented Aug 28, 2018

This is really weird. I do not think I know the cause.
It only happens in 1366x768 resolution.
Screenshot's also distorted in ImageMagick commandline program, you can try this if you want:

magick screenshot: D:\lmao.png

I will open an issue in ImageMagick repository.

@eclectic-tech
Copy link
Author

Whoa! Okay, thanks for looking in to this...

I really was looking forward to using your dll in a few skin ideas I have, but I will wait to see what happens from your inquiry to ImageMagick.

Thanks again!

@khanhas
Copy link
Owner

khanhas commented Aug 28, 2018

Thank you too!
At this moment, if you want to work with it, I guess you need to use another resolution for your screen, 1360x768 maybe?

@khanhas
Copy link
Owner

khanhas commented Sep 24, 2018

This bug is fixed in ImageMagick 7.0.8-12
Just download and install latest version in: https://www.imagemagick.org/script/download.php
Thanks @eclectic-tech for the report !

@khanhas khanhas closed this as completed Sep 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants