Slice Image into 10x10 pixels?

Discussion in 'Photoshop' started by Barkster, Mar 30, 2006.

  1. Barkster

    Barkster Guest

    I'm trying to slice an image into 10x10 pixels, it is a 1024x768 image.
    The only way I found to do it was create 10x10 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
     
    Barkster, Mar 30, 2006
    #1
    1. Advertisements

  2. Barkster

    toby Guest

    The ImageMagick tools can do this automatically:

    convert -crop 10x10 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
     
    toby, Mar 30, 2006
    #2
    1. Advertisements

  3. Barkster

    Barkster Guest

    Sweet that worked perfect. Thanks
     
    Barkster, Mar 30, 2006
    #3
  4. Barkster

    Barkster Guest

    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
     
    Barkster, Mar 30, 2006
    #4
  5. Barkster

    toby Guest

    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...
     
    toby, Mar 30, 2006
    #5
  6. Barkster

    Barkster Guest

    :) top secret project.... Thanks for the help
     
    Barkster, Mar 30, 2006
    #6
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.