Tiles within an image

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
Mahroun
Posts: 23
Joined: 2011-12-24T02:52:08-07:00
Authentication code: 8675308

Tiles within an image

Post by Mahroun »

Hello,

sorry, couldn't figure it out myself
As you can see in the attachment, I want to crop what is inside the boxes and save to separate images, 6 in this case, I don't want to include the cutting borders.

click on the thumbnail to see the full image

Image

Any help is much appreciated.
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Tiles within an image

Post by snibgo »

What can't you figure out? Have you tried the "-crop" command?
snibgo's IM pages: im.snibgo.com
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Tiles within an image

Post by fmw42 »

The boxes are empty. What is the point?

Shave or crop off the scissors, first, so all you have is the image with the 6 boxes outlined in yellow at the edges of the image. Then use -crop WxH to divide the image into 6 parts, then use -shave 1x1 to remove the yellow borders.

see
http://www.imagemagick.org/Usage/crop/#crop_tile
http://www.imagemagick.org/Usage/crop/#shave
Mahroun
Posts: 23
Joined: 2011-12-24T02:52:08-07:00
Authentication code: 8675308

Re: Tiles within an image

Post by Mahroun »

I posted an edited image, the boxes are not empty, each has an image.
I'm still trying.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Tiles within an image

Post by fmw42 »

The image is unchanged. Nevertheless, follow my comments above.
Post Reply