Photoshop
  Home arrow Photoshop arrow Page 3 - Slicing and Saving Graphics in Photoshop f...
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Moblin 
JMSL Numerical Library 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
PHOTOSHOP

Slicing and Saving Graphics in Photoshop for Use on the Web
By: James Murray
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 24
    2004-07-27

    Table of Contents:
  • Slicing and Saving Graphics in Photoshop for Use on the Web
  • Butcher your Graphics
  • I Like my Graphics Sliced Thin
  • Functional Formats
  • Please, Save Me!
  • Last Words

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Slicing and Saving Graphics in Photoshop for Use on the Web - I Like my Graphics Sliced Thin


    (Page 3 of 6 )

    Now that you know a little more about the slicing tool, it’s time that we go a little farther in-depth with the slicing of our layout. So, let's go ahead and slice our background. The best way to do it is to zoom in to a really good working size at the top left corner then begin to slice.

    After I zoom in, I begin with the slicing the top left corner. Then I continue with a one pixel wide slice of the top “bar” part of the background, and a 1 pixel tall slice of the left “bar”. I make them 1 pixel tall or wide, based on their location, because instead of having an image that’s 158 pixels wide that has a file size that’s about 8k, I get an image that’s 1 pixel wide that is around 20bytes that can be tiled. This is what my view looks like after I’ve made the first three slices.

    Slicing in Photoshop

    After I make those three slices, I then slice the following three corners, and I slice a 1 pixel wide sample of the bottom bar and a 1 pixel tall sample of the right bar. That’s all the images needed to remake the background area at any size needed. Now let's slice the content block.

    The content block is done in the exact same way the background area was sliced, with one small difference. Look at the following image and see that I completely forgot to slice the dark blue boarder in the inner part of the block. I left it out on purpose. Since the inner part is a rectangular area with no complex image in it, this area can be recreated with code, which loads a lot faster than an image.

    Slicing in Photoshop

    Once again I go ahead and get the last three corners, and the other two bars. Then I go to save all my slices with the “save for web” tool that can be found on the file menu of Photoshop.

    More Photoshop Articles
    More By James Murray


       · Why are the 1 pixel tall/wide slices created in the tutorial?
       · because they can be tiled to fill in large areas of the image that are the same. ...
       ·  How do you do that? Good artical. I followed it pretty well.
       · the article was excellent written, it clearly explains the types of images, but it...
     

    PHOTOSHOP ARTICLES

    - The Critically Important Color and Gamma Cal...
    - Using Adobe Photoshop CS, Part 2
    - Using Adobe Photoshop CS, Part 1
    - 20 Things About Photoshop You Have to Know
    - Photoshop Tricks, Part 2
    - Photoshop Tricks, Part 1
    - Keeping Up Appearances: Techniques for Retou...
    - Navigation Menus in Photoshop
    - Slicing and Saving Graphics in Photoshop for...






    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
    Stay green...Green IT