Slice Image into 10×10 pixels?

B
Posted By
Barkster
Mar 30, 2006
Views
369
Replies
5
Status
Closed
I’m trying to slice an image into 10×10 pixels, it is a 1024×768 image. The only way I found to do it was create 10×10 guides on the whole image and use create slices from guides. Well photoshop has been hung for about 30 min now and don’t think it will revive itself. Any ideas on a simpler way to do this or maybe not even using photoshop at all? Thanks

MacBook Pro 16” Mockups 🔥

– in 4 materials (clay versions included)

– 12 scenes

– 48 MacBook Pro 16″ mockups

– 6000 x 4500 px

T
toby
Mar 30, 2006
Barkster wrote:
I’m trying to slice an image into 10×10 pixels, it is a 1024×768 image. The only way I found to do it was create 10×10 guides on the whole image and use create slices from guides. Well photoshop has been hung for about 30 min now and don’t think it will revive itself. Any ideas on a simpler way to do this or maybe not even using photoshop at all? Thanks

The ImageMagick tools can do this automatically:

convert -crop 10×10 source-file tile%d.png

Note the output filename specification includes the tile number (%d) and the format you want (in this case .png). See:
http://www.imagemagick.org/script/convert.php
B
Barkster
Mar 30, 2006
Sweet that worked perfect. Thanks
B
Barkster
Mar 30, 2006
Wow, but it took a 450k image and turned it into 250MB of slices, ouch. Guess I’ll have to compress them with another utility
T
toby
Mar 30, 2006
Barkster wrote:
Wow, but it took a 450k image and turned it into 250MB of slices, ouch. Guess I’ll have to compress them with another utility

Well, different formats have different amounts of overhead (you could try a few and pick that with least). Also, that is probably a large number of small files, so if you are using a conventional filesystem there is considerable allocation overhead there too. Archiving will eliminate the latter by packing them.

I can’t quite imagine what you’re going to do with all these tiny pieces…
B
Barkster
Mar 30, 2006
🙂 top secret project…. Thanks for the help

MacBook Pro 16” Mockups 🔥

– in 4 materials (clay versions included)

– 12 scenes

– 48 MacBook Pro 16″ mockups

– 6000 x 4500 px

Related Discussion Topics

Nice and short text about related topics in discussion sections