Page 1 of 1

distorted image by default

Posted: 2016-11-03T05:22:21-07:00
by Ciro
Hello,

I'm creating this screenshot from the windows command line:

convert.exe screenshot: x.png


But the image being generated is distorted and duplicated. I've tried many different options to resize, but I've googled and can't find other cases like this one, so it's not working. Any help would be appreciated.

Re: distorted image by default

Posted: 2016-11-03T05:47:07-07:00
by snibgo
Some more information might help. IM version? Windows version? What do you mean by "distorted and duplicated"? Please link to an example output.

Re: distorted image by default

Posted: 2016-11-03T10:20:28-07:00
by Ciro
Version is ImageMagick-7.0.3-Q16 running on Windows 8.1. I can't upload a file here, not sure how to share the image. The original image ends up split in two different pages. Is there a link where I can upload the file?

Re: distorted image by default

Posted: 2016-11-03T17:45:19-07:00
by snibgo
You can upload to anywhere you like such as dropbox.com, and paste the URL here.

Re: distorted image by default

Posted: 2016-11-03T19:57:43-07:00
by GeeMack
Ciro wrote:Version is ImageMagick-7.0.3-Q16 running on Windows 8.1. I can't upload a file here, not sure how to share the image. The original image ends up split in two different pages.
Do you have a second monitor connected? Do you maybe have a second desktop opened? When I run your command with IM7.0.3 on Windows 10 64 it creates two output images, one image of each monitor I have connected. If your "screenshot:" is grabbing two images, you can choose to keep just one with something like this...

Code: Select all

convert.exe screenshot: -delete 0 x.png
That "-delete 0" will remove the first image in the stack. Use "-delete 1" to remove the second image. Then your output will be a single file "x.png".

Re: distorted image by default

Posted: 2016-11-04T01:25:17-07:00
by Ciro
Hi, I've created a dropbox account but it's not an open one and no specific link, so you can see the file here instead:


http://www.megafileupload.com/gfr0/x.png

GeeMack,

I'm only using one screen, if I use the -delete 0 option I get no file generated and the below messge:

Code: Select all

convert.exe: no images defined `x.png' @ error/convert.c/ConvertImageCommand/3253.
If use -delete 1 the image is generated, but the problem is not fixed.