Skip to content

raearnold/vww-images-for-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Images for the Web and Print

Presentation and supporting assets for the Vermont Works for Women Step Up to IT Image Manipulation & Photoshop workshop.

Below is a summary of the slides and all resource links.

View the slides (hosted on github.io)

Image Types

  • Raster Images (JPG, PNG, GIF, etc…)
    • Pixels (a.k.a. bitmaps)
    • Used for most web graphics
    • Cannot be enlarged
    • Each format has specific advantages
  • Vector Images (EPS, SVG, etc…)
    • Math, Paths, XML
    • SVG created for web use, others are mainly print
    • Can be scaled up without losing quality

A Quick SVG Demo

Because SVGs are XML documents, we can style them with CSS and interact with them via JavaScript.

The presentation has a very basic demo (tested in Chrome only). For more advanced interactions, you can let a JS library do the heavy lifting—particularly for cross-browser support.

Raphaël JS is one good JavaScript library for manipulating and transforming SVGs.

Developers have created thousands of proofs of concept on CodePen, to see what else might be out there.

Image Resolution and Quality

Aspect Ratio and Orientation

Regardless of print or web, understanding aspect ratios and orientation is vital to resizing and using images. While you can crop images to different aspect ratios or orientations, you may lose vital parts of the graphics. Portrait orientation-images that won't work for banners, backgrounds, etc. on desktop devices might be well suited for mobile, but you'll often need a way to support both. Likewise, a 4:3 image won't work well if your users all use 16:9 screens.

Web / Screen Resolution

With the rise of high-density displays (e.g. Retina), "standard" screen resolutions are becoming tiered. As Web developers need to support multiple screen densities, vector graphics are playing a larger role so that multiple sizes aren't needed for each image on a website.

Print

Standard minimum quality for printing is 300 DPI (newer printers often use 600 DPI). This means that a 640x480px (.3 Megapixel) image will print at ~2.1x1.6".

You need at least 2 MP (1600x1200px) for a reasonable 4x6" photo print, and double that for a full-page graphic.

Note that DPI (or Document Size) in Photoshop has no effect on screen display size. Screens are all about pixels.

Manipulation Basics: Resizing and Cropping

We're demoing in Photoshop for the sake of the course, but many image editing programs allow you to resize and crop your photos.

Pixlr Editor is a free web-based editor that should look familiar to Photoshop users.

Gimp is a well-known free Photoshop alternative that runs on Windows, Mac, and Linux.

Gimpshop is a Photoshop look-a-like port of Gimp, also free.

Affinity Photo (Beta) is a new photo editing program for OSX. Free in beta.

Pixelmator is one of the best rated Mac alternatives to Photoshop. Free 30-day trial, $29.99 after.

Remember: keep aspect ratio and intended device in mind when resizing or cropping an image.

Optimizing Images for the Web and Print

Lossy: affects the quality of the image. High-levels of compression can be very obvious, causing "artifacts".

Lossless: does not affect the visual quality of the image. Works by using a variety of compression algorithms and strips unneeded metadata.

Web

Demo: Save for Web and Devices in Photoshop

"File > Save…" isn't enough for the web. Photoshop provides handy tools to reduce your file size.

Even Better Image Compression

Photoshop does okay for JPGs, but their PNG compression isn't the best—you should always run these files through a better PNG compression program. Trying additional options for your JPGs can't hurt.

TinyPNG (and TinyJPG) is a great free, online application for PNG and JPG compression. It is lossy, and isn't good for batch processing, but for a few images now and then, it's a good option.

Kraken isn't completely free, but it allows you to choose lossy or lossless, and resize images with a paid subscription. If you're doing a lot of work with images, it could be worth it.

There are a variety of other options for both Windows and Mac. Do a web search for "image compression " and try a few to see what you like.

###Print

Generally, the larger the file resolution, the better, depending on what your printer can handle. But you should consider color profiles, color modes (RGB vs CMYK), and your document size settings before printing.

Placeholders

Sometimes, you need a few basic images while waiting for actual assets. Don't worry, the Web has many resources, including any number of placeholder image APIs.

Lorempixel has a variety of categories and options. Most of the images in this presentation came from here.

Placehold.it is a quick and easy way to get a plain graphic of any size, with text overlay.

… and many others with amusing niches—Fill Murray, {place kitten}, baconmockup, Place Creature

About

Presentation and supporting assets for the Vermont Works for Women SUIT Image Manipulation & Photoshop workshop

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published