Search found 5 matches

by tomchambers
2019-04-05T02:10:47-07:00
Forum: Users
Topic: Rolling crop from long image
Replies: 8
Views: 5368

Re: Rolling crop from long image

Thanks both, very helpful!

If I wanted to adjust that so that I only have say a 32px overlap between crops, how would I manage it?

I tried

Code: Select all

magick -size 2000x256 xc: -crop 2000x224+32@ info:
but this results in a command that takes a very long time to run.
by tomchambers
2019-04-03T13:26:18-07:00
Forum: Users
Topic: Rolling crop from long image
Replies: 8
Views: 5368

Re: Rolling crop from long image

Sorry, yes that's correct, shifting by X not Y so +1+0.

Ok, I guess I'll have to do it with a script. I'm not quite sure what you mean by the second part. Could you give an example command? Surely if I do the 256x256 crop and then roll it I will go outside of the newly cropped area?
by tomchambers
2019-04-03T12:16:09-07:00
Forum: Users
Topic: Rolling crop from long image
Replies: 8
Views: 5368

Rolling crop from long image

My image is 30000x256px. I want to create 30k 256x256px images using a crop every 1px horizontally. So first crop is 256x256+0+0 Second crop is 256x256+0+1 ... convert original.png -crop 256x256 segments/segment.png This gets me part of the way there in that it gives me a crop every 256px. But I wan...
by tomchambers
2019-03-31T11:57:01-07:00
Forum: Users
Topic: Trim whitespace from top and bottom of image and distort
Replies: 3
Views: 4559

Re: Trim whitespace from top and bottom of image and distort

The artefacts I mean are the 1px columns that appear every 20px or so and don't fit in the sequence.

But +append has solved it, thank you! I have the full image now.
by tomchambers
2019-03-31T11:38:47-07:00
Forum: Users
Topic: Trim whitespace from top and bottom of image and distort
Replies: 3
Views: 4559

Trim whitespace from top and bottom of image and distort

What I have - image with whitespace at top and bottom https://i.ibb.co/RPd6h4M/Masked-Bayeux-Sample.png What I want - image with no whitespace and content is distorted to fit space. This was done in photoshop https://i.ibb.co/XxwDcbR/Straightened-Output-Rough-Mockup.jpg My method for achieving this...