Home arrow Photoshop arrow Page 3 - Slicing and Saving Graphics in Photoshop for Use on the Web
PHOTOSHOP

Slicing and Saving Graphics in Photoshop for Use on the Web


Images are the number one leader of average bandwidth usage. Usually itís because the images that load on every single page are typically between a total of 60k and a total of 500k. That can easily make your bandwidth usage add up to beyond your limit per month. So what Iím going to be showing you is how you can cut your imageís file sizes in half, if not more.

Author Info:
By: James Murray
Rating: 4 stars4 stars4 stars4 stars4 stars / 33
July 27, 2004
TABLE OF CONTENTS:
  1. · Slicing and Saving Graphics in Photoshop for Use on the Web
  2. · Butcher your Graphics
  3. · I Like my Graphics Sliced Thin
  4. · Functional Formats
  5. · Please, Save Me!
  6. · Last Words

print this article
SEARCH DEVARTICLES

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.


blog comments powered by Disqus
PHOTOSHOP ARTICLES

- Photoshop Text Techniques: Transformers
- 3D Text in Photoshop
- Photoshop Text Tutorial: Creating Indy Text
- Photoshop Productivity Tips and Tricks
- Photoshop Keyboard Shortcuts
- 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...

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 

Developer Shed Affiliates

 




© 2003-2017 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials