Search found 9 matches
- 2014-02-05T10:48:04-07:00
- Forum: Users
- Topic: Cropping to edge
- Replies: 15
- Views: 4560
Re: Cropping to edge
snibgo wrote: You have "-resize 980x1180". If the input is wider than 980 or taller than 1180 it will be shrunk. If the input is 800x900 it won't change size. It was this bit that confused me because you said 800x900 it won't change the input size, but it looks like it making the original image ...
- 2014-02-05T09:42:03-07:00
- Forum: Users
- Topic: Cropping to edge
- Replies: 15
- Views: 4560
Re: Cropping to edge
Hi, Sorry that's not what I was meaning. The image is starting at 892x844 and finishing at 1000x12000 and on the 1000x1200 even with the border is bigger than the 892x844 - so we're taking that smaller 892x844 and making it larger aren't we? It's adding about 100px to each side etc. So it's ...
- 2014-02-05T07:52:16-07:00
- Forum: Users
- Topic: Cropping to edge
- Replies: 15
- Views: 4560
Re: Cropping to edge
Sorry for all the questions.. Should I have resize and extent set to the same size? Or the resize set to the total canvas size? -resize 1000x1200 -gravity center -extent 980x1180 or -resize 980x1180 -gravity center -extent 980x1180 Either work, just want to be sure I'm using the correct one. Thanks,
- 2014-02-05T07:38:44-07:00
- Forum: Users
- Topic: Cropping to edge
- Replies: 15
- Views: 4560
Re: Cropping to edge
Hi, I'm not complaining, because it's working well, just double checking how it is working. For example this image starts off at 892x844: http://i60.tinypic.com/2vi5uo7.jpg But when I've run it through, it comes out at 1000x1200 and the image is touching the edges, so it's expanded it to fit? http ...
- 2014-02-05T07:26:22-07:00
- Forum: Users
- Topic: Cropping to edge
- Replies: 15
- Views: 4560
Re: Cropping to edge
Thanks for that, seems to have worked.
Can I clarify, as my images are say 800x900 and it's putting them onto a 1000x1200 canvas, is it actually re-sizing the image to fit it on. i.e. isn't just putting the 800x900 onto a 1000x1200 canvas, but actually re-sizing the 800x900 to that size?
Thanks,
Can I clarify, as my images are say 800x900 and it's putting them onto a 1000x1200 canvas, is it actually re-sizing the image to fit it on. i.e. isn't just putting the 800x900 onto a 1000x1200 canvas, but actually re-sizing the 800x900 to that size?
Thanks,
- 2014-02-05T06:54:13-07:00
- Forum: Users
- Topic: Cropping to edge
- Replies: 15
- Views: 4560
Re: Cropping to edge
Hi,
This is better:
Here is one before:

Then it after:

See how it's off centre.
Thanks,
This is better:
Here is one before:

Then it after:

See how it's off centre.
Thanks,
- 2014-02-05T06:50:15-07:00
- Forum: Users
- Topic: Cropping to edge
- Replies: 15
- Views: 4560
Re: Cropping to edge
In fact, ignore that example, it's correct, the image isn't big enough, so that's right.
Let me find a correct example.
Thanks,
Let me find a correct example.
Thanks,
- 2014-02-05T06:24:26-07:00
- Forum: Users
- Topic: Cropping to edge
- Replies: 15
- Views: 4560
Re: Cropping to edge
Hi, Yes they're the only options in my command. I'm using version - ImageMagick-6.8.8-2 This is before: http://i60.tinypic.com/2vi5uo7.jpg This is after: http://i58.tinypic.com/348qbeu.jpg You can see a white outline on the image on the after photo towards the border also, so I suspect that is ...
- 2014-02-05T05:46:48-07:00
- Forum: Users
- Topic: Cropping to edge
- Replies: 15
- Views: 4560
Cropping to edge
Hi, I'm always trying to crop an image to be 1000x1200 regardless of the size, be it smaller or larger. If it's larger put it on a white background. The image needs to be centred / in the middle. I'm currently using: -trim +repage -resize 980x1180 -gravity center -extent 980x1180 -bordercolor White ...