Page 1 of 1

Can't Resize/Sample from 999 to 1000 pixels

Posted: 2018-07-01T03:59:19-07:00
by dholcomb9711
Greetings,

I know this is a simple question but I cannot find an answer after about 30 minutes of reading the manual.

I have a 1000x999 image that I would like to resample to 1000x1000. It seems I can't do this for some reason. I read about the distort method, is that what I should be using? If so, what exactly do I type for my image to just get one image changed from 1000x999 to 1000x1000? This would help me greatly.


What I have used that doesn't work :

magick image02.gif -sample 1000x1000 image02.gif

Re: Can't Resize/Sample from 999 to 1000 pixels

Posted: 2018-07-01T04:40:17-07:00
by magick
Use `-resize 1000x1000!`. Note the exclamation point.

Re: Can't Resize/Sample from 999 to 1000 pixels

Posted: 2018-07-01T05:34:11-07:00
by dholcomb9711
Thank you! This worked!