How to slice an image into smaller images - Slicing Images Vertically Into Multiple Segments
   
Home: Graphic Academy
 
Graphics Books
 
Graphics File Formats
  Animation File Formats
Bitmap File Formats
CAD File Formats
Cursor File Formats
Font File Formats
Icon File Formats
Metafile File Formats
Prepress File Formats
Vector File Formats
Video File Formats
Web File Formats
More Graphics File Formats
 
Graphics Software
  Banner Design Software
CAD Software
Diagram Drawing Software
Illustration Software
Photo Editing Software
Video Conversion Software
More Graphics Software
 
Graphics Tutorials
 
  • Adobe Dreamweaver Tutorials
  • Adobe Photoshop Tutorials
  • AutoCAD Tutorials
  • How To Draw Tutorials
    Banner Design Tutorial
    Banner Display Tutorial
    Color Combinations Tutorial
    Color-Safe Conversion Tutorial
    eBook Covers Tutorial
    Favicon Tutorial
    GIF + Photo Tutorial
    Good Web Design
    Image Slice Tutorial
    Image Tiling Tutorial
    Imagemap Tutorial
    Photography Tutorial
    Prevent Copying Tutorial
    Screenshots Tutorial
    Should I Use Flash?
    Text to Images Tutorial
    Web Image File Formats
    More Graphics Tutorials
  •  
    Graphics Glossary

         
    GraphicsAcademy.com  >  Tutorials  >  Slice An Image Into Smaller Images  >  Chapter 2

       

     

    How To Slice An Image Into Smaller Images

    Chapter 2: Slicing Images Vertically Into Multiple Segments

    The technique described in the last chapter is all well and good, but what if we want to vertically slice an image into more than two pieces?

    Easy: Simply slice your original image into two pieces, then keep slicing the pieces again by repeating the same technique on them.

    For example, image that I have a 300 pixel wide image that I want to slice into five pieces that are 40, 50, 60, 70 and 80 pixels wide.

    In other words, I want to get this:


    From this:


    Here's how I would do it:
    1. I'd slice my original image into 220 and 80 pixel wide images:


      • The 80 pixel wide piece (on the right), is the right piece, and is now complete.

      • The 220 pixel wide piece (on the left), contains the four left pieces (40+50+60+70 = 220), let's imagine that I saved it as temp1.gif.

    2. Next I'd start work on temp1.gif and slice that into 150 and 70 pixel wide images:

       

      • The 70 pixel wide piece (on the right), is the second from the right piece, and is now complete.

      • The 150 pixel wide piece (on the left), contains the three left pieces (40+50+60 = 150), let's imagine that I saved it as temp2.gif.

    3. Next I'd start work on temp2.gif and slice that into 90 and 60 pixel wide images:

         

      • The 60 pixel wide piece (on the right), is the middle piece, and is now complete.

      • The 90 pixel wide piece (on the left), contains the two left pieces (40+50 = 90), let's imagine that I saved it as temp3.gif.

    4. Finally, I'd start work on temp3.gif and slice that into 40 and 50 pixel wide images:

           

      • The 50 pixel wide piece (on the right), is the second from the left piece, and is now complete.

      • The 40 pixel wide piece (on the right), is the left most piece, and is now complete.

    5. And if you check back, you'll see I now have all five pieces.

      
    How To Slice An Image Into Smaller Images:
     
     
      << PreviousIntroduction   1   2   3   4   5Next >>  
       


       
     
       
     
       
    Disclosure: Our company's websites' content (including this website's content) includes advertisements for our own company's websites, products, and services, and for other organization's websites, products, and services. In the case of links to other organization's websites, our company may receive a payment, (1) if you purchase products or services, or (2) if you sign-up for third party offers, after following links from this website. Unless specifically otherwise stated, information about other organization's products and services, is based on information provided by that organization, the product/service vendor, and/or publicly available information - and should not be taken to mean that we have used the product/service in question. Additionally, our company's websites contain some adverts which we are paid to display, but whose content is not selected by us, such as Google AdSense ads. For more detailed information, please see Advertising/Endorsements Disclosures

    Our sites use cookies, some of which may already be set on your computer. Use of our site constitutes consent for this. For details, please see Privacy.

    Click privacy for information about our company's privacy, data collection and data retention policies, and your rights.

    Contact Us     Privacy     Terms Of Use     Advertising/Endorsements Disclosures

    Copyright © 2005-2020, Answers 2000 Limited

    In Association With Amazon.com
    Answers 2000 Limited is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com.
    In Association With Amazon.co.uk
    Answers 2000 Limited is a participant in the Amazon EU Associates Programme, an affiliate advertising programme designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.co.uk.
    As an Amazon Associate, our company earns from qualifying purchases. Amazon, the Amazon logo, Endless, and the Endless logo are trademarks of Amazon.com, Inc. or its affiliates.



    CERTAIN CONTENT THAT APPEARS ON THIS SITE COMES FROM AMAZON SERVICES LLC. THIS CONTENT IS PROVIDED 'AS IS' AND IS SUBJECT TO CHANGE OR REMOVAL AT ANY TIME.
    CERTAIN CONTENT THAT APPEARS ON THIS SITE,COMES FROM AMAZON EU S.à r.l. THIS CONTENT IS PROVIDED 'AS IS' AND IS SUBJECT TO CHANGE OR REMOVAL AT ANY TIME.

    All trademarks are property of their respective owners.
    All third party content and adverts are copyright of their respective owners.

    Some graphics on our web sites are Copyright (C) 1997-2000 Hemera Technologies Inc., and used under license. All such pictures are provided for viewing purposes only and are not to be saved or downloaded. All such pictures of recognizable individuals are models and used for illustrative purposes only, and not meant to imply any association or endorsement of said individual with any product or service.