9. Embed images for the web HTML Code <img src=“lamp.gif” height= width= align=“right” alt=“lamp”>
10.
11.
12.
13.
Editor's Notes
Bitmap images In a bitmap or raster image, visual data is mapped as spots of color, or pixels . When enlarged on a computer screen, a bitmap image looks like a quilt or mosaic. The more pixels in a bitmap image, the fi ner the detail will be. Because photographs have high levels of detail and a variety of tones and colors, they are best represented as bitmap images. Scanners and digital cameras produce bitmap images, and Photoshop is a bitmap program . Bitmap formats include: PSD, TIFF, JPEG, PNG, GIF, PICT, BMP Vector graphics Vector or object oriented graphics use mathematical formulas to describe outlines and fi lls for image objects. Vector graphics can be enlarged or reduced with no loss of data and no change in image quality. CorelDraw, Illustrator, Freehand, AutoCAD & Flash create vector graphics. Vector graphics are the best choice for creating line drawings, logos, and typography—images that do not have complicated patterns or a large range of continuous tones. Vector fi le formats include: EPS, AI, SVG, DXF, DWG Note: PowerPoint presentations, Web pages and most word processing applications primarily use bitmap images. If the original image is a vector le you may be able to save it in a bitmap format from it’s original application. Some bitmap applications will “rasterize” a vector graphic on import. • • • • Enlarged bitmap image Enlarged vector graphic
Bitmap Images are composed of pixels Quality of image dependent on resolution of pixels. In digital images, resolution typically refers to the number of horizontal and vertical pixels that make up the image. The higher the resolution, the more information the image will contain. For example, 512x768 refers to 512 pixels across by 768 pixels down n part it depends on who will use the scanned image and in what way. A non-specialist may look at a landscape photograph casually, What will happen if we keep the image size, yet, increase the resolution? the more pixels, the more detail is captured
Most computer screens only show 72 dpi or 96 dpi, and higher resolutions enlarge the files without affecting the quality seen on screen.
NG was designed to replace GIF as the standard image format for lossless compression on the internet. It claims better compression than GIF, full alpha transparency, and gamma correction. All common browsers today support PNG, and all except Internet Explorer for Windows claim to support PNG's killer feature -- full Alpha transparency. Photoshop's poor PNG support is a major problem. The GIMP is an excellent program, and free, but ubiquity of Photoshop, and the GIMP's unintuitive interface and lack of native ports in operating systems other than Linux will be a major barrier to its adoption. a project where bandwidth concerns are paramount you may find it useful to switch to PNG. he PNG versions are invariably one-fifth the size of the GIFs One of the biggest advantages that PNG has over GIF is PNG's ability to support full alpha transparency . This would allow you, among other things to create antialiased text or logos and re-use them in different contexts (different background colours and images) without re-cutting the graphics thus reducing bandwidth and labour. can use more than 256 colours - up to 48-bit colour. The PNG format supports alpha transparency: Anybody who has designed images for use online knows the woes of trying to make that image appear smooth on any background. Some designers create different images to be used on different background colours, other designers simply leave the edges jagged, and still others just give their images a solid background. It's a bad way to go, but it's the only choice right now. Using PNG images with alpha transparency would eliminate all of these problems, and make the work of web designers a lot easier. Photoshop doesn't compress PNGs as well as it compress GIFs; PNG images compress more efficiently than GIFs. The smaller file size you can achieve with PNG may be the most important reason to switch to this format. PNG combines (and improves upon) the best qualities of GIF and JPEG s handy as PNG is, it isn't always the correct image format to use. Photo-realistic images are usually best saved as JPEGs. A limitation of PNG (compared to GIF) is that it doesn't handle animation, and it never will. So, if your cartoon involves an animated GIF, it won't work as a PNG file. this TIFF format may be used to store color images, and may be used as an archival file format. With lossless compression, the picture quality of the compressed file is exactly the same as the original, uncompressed file. JPEG - A 24-bit, lossy (some information lost) compression format which is well-suited for screen and web presentation. JPEG is supported by all major computer platforms and by Internet web browsers. With lossy compression, the picture quality of the compressed file is reduced when compared to the original file, and can not be restored, except by going back to the original. The advantage is that the file sizes are much smaller, and image quality is acceptable in most cases. It is not acceptable as an archival file format. GIF - An 8-bit, lossless compression format which is well-suited for low resolution screen display of images. GIF is often used for image thumbnails, screen versions of text documents, and is supported by all major computer platforms and Internet web browsers. Tonality (pixel depth or bit-depth) Bit-depth concerns the number of bits used to convey tonality for each pixel; that is, black and white, gray- scale, or color. In general, the more bits per pixel, the larger the file size. 1-bit or Bi-tonal - a 1-bit pixel has two possible values, black or white. The scanned image has no shading or gray. Bi-tonal scanning produces the smallest file. 8-bit Gray-scale - provides 256 shades of gray ranging from pure white to pure black. 24-bit Color - provides a tonal range of about 16 million different colors. Color scanning produces quite large files. Lossless compression loses none of the image information during compression and decompression. Lossy compression as its name says removes some of the original photographic detail. The advantage with PNG is that it preserves all the colors and yield a much sharper output when compared with JPG.
Most slow Web pages are slow because of too many large graphics.
Most slow Web pages are slow because of too many large graphics.