I have an image that is too large for what I am trying to do with it (I need images under 1 mega pixel). Is there an easy way to split it into several smaller images? My image is 2646x3058. I would like to split it into 9 images that are all the same size. I realize that I could do this manually for this image, but I would like to find an automatic way to do this as this will be a reoccurring problem for me.
|
it requires the .NET framework but also runs under Mono. |
|||
|
|
|
Install Imagemagick, its free and available for windows and unix. Then:
This will give you files that are <= 1M pixel, so the ones on the border might be smaller than the other ones. If you want them to be all of the same size you need to calculate the size in advance, or use something like:
But this might lead to some tiles that are only one or two pixels wide if the width is not divisible by 4.. |
||||
|
|
|
You can use this online simple tool to split your images - http://imagesplitter.net It allows to process images weight up to 20MB. |
|||
|
|