Splitting an image into smaller equally shaped pieces

GW
Posted By
Gary_Wicentowich
May 11, 2004
Views
1604
Replies
3
Status
Closed
I’m a beginner, looking to split an image into a number of equally shaped pieces. Something like taking an image and making a matrix of 3 squares by 5 squares. Except I don’t know how to find the right locations of where to split the image, or how to actually go about splitting it. I konw the dimensions, that’s about it. Could someone help me? Thanks

Gary

How to Improve Photoshop Performance

Learn how to optimize Photoshop for maximum speed, troubleshoot common issues, and keep your projects organized so that you can work faster than ever before!

P
Phosphor
May 11, 2004
Place guidelines by percentages, and not absolute pixel locations. Then make selections based on your guidelines.

Understand, though, that if the percentage of one of the physical dimensions doesn’t cause a guideline to fall directly on the border between 2 adjacent pixels, your marquee selection won’t match up exactly with the guidelines.

Example: you have a full image size of 250px wide X 150px high, your guidelines can be placed at exact proper percentages (20% and 33.3333% respectively.) With these guideline placements you can then use them to snap 50px X 50px marquees exactly in place to divide the image up into 15 perfect squares.

BUT!!! If your image can’t be evenly divided by 5 & 3, respectively—with no remainder in the pixel count, you won’t be able to do it.

You can’t split pixels in a raster image.

Soooo….make sure the image you begin with is of a size that can be divided into integer-only values, with no remainders or places to the right of the decimal point.

Does that make sense to you?
DP
Daryl_Pritchard
May 12, 2004
Gary,

Not knowing what your intent is for the split up image pieces, I’ll just offer that one very easy approach to doing this is to use the Slice feature in Image Ready. The limitation is that the slices are generated and saved as part of your Optimized output, for reassembly in a table, via an HTML page. This means your output image format is restricted to web-compatible formats (JPEG, GIF, etc.) rather than perhaps retaining a PSD or TIF format. If that’s an acceptable solution, then the Divide Slices command allows you to specify how many vertical and horizontal slices you wish to make, disregarding any concern for percentage or pixel specifications.

Regards,

Daryl
TT
Toby_Thain
May 13, 2004
Imagemagick <http://imagemagick.org/> can do this easily on the command line (see -crop <http://www.cit.gu.edu.au/~anthony/graphics/imagick6/size/>).

Must-have mockup pack for every graphic designer 🔥🔥🔥

Easy-to-use drag-n-drop Photoshop scene creator with more than 2800 items.

Related Discussion Topics

Nice and short text about related topics in discussion sections