distorted image by default

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
Ciro
Posts: 3
Joined: 2016-10-31T05:40:43-07:00
Authentication code: 1151

distorted image by default

Post 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.
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: distorted image by default

Post 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.
snibgo's IM pages: im.snibgo.com
Ciro
Posts: 3
Joined: 2016-10-31T05:40:43-07:00
Authentication code: 1151

Re: distorted image by default

Post 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?
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: distorted image by default

Post by snibgo »

You can upload to anywhere you like such as dropbox.com, and paste the URL here.
snibgo's IM pages: im.snibgo.com
User avatar
GeeMack
Posts: 718
Joined: 2015-12-01T22:09:46-07:00
Authentication code: 1151
Location: Central Illinois, USA

Re: distorted image by default

Post 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".
Ciro
Posts: 3
Joined: 2016-10-31T05:40:43-07:00
Authentication code: 1151

Re: distorted image by default

Post 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.
Post Reply