Graphics for the web: JPG and PNG Files

Written by Richard Lowe

JPEG (Joint Photographic Experts Group) is a very efficient, true-color, compressed image format. It uses lossy compression, which means that bits are removed fromrepparttar image in order to save space. JPEG files support millions of colors (compared withrepparttar 134639 256 for GIF).

The JPG format is best for images with gradients, blends, and inconsistent color variations such as photographs or paintings. Images which have well separated tones should be saved inrepparttar 134640 GIF or PNG format. For example, if you include text in your image, you will notice a definite fuzzing ofrepparttar 134641 characters when you view it.

You have several options when optimizing JPG images. JPG is a lossy format (which means it throws away bits), so with each generation ofrepparttar 134642 image you save you will loose information, and that will degraderepparttar 134643 quality ofrepparttar 134644 image.

Any good image editor (Photoshop, Paint Shop Pro and others) will allow you to specify a compression percentage when you saverepparttar 134645 file. Before you purchase a graphics editor make sure it has a preview pane onrepparttar 134646 save so you can see whatrepparttar 134647 compressed image looks like when you save it. This is a lot easier than saving a copy, examining it, resaving it and so on.

JPEG supports a concept similar to interlacing in GIF which is called progressive JPEG. This simply means that a rough image is displayed initially, followed by more and more detail as additional bits ofrepparttar 134648 image are received. This is good for displaying large images. Unfortunately, progressive JPEG is a relatively new standard and is not supported by all browsers.


There is a new format which is threateningrepparttar 134649 supremacy of GIF and JPEG. That format is called PNG (Portable Network Graphics).

Putting Sound on your Web Site - Part 3

Written by John Rickey

Making MIDI Files for your site

HTML Code The best way to put auto playing sound on your web site is MIDI. If you'd likerepparttar sound to load automatically and loop inrepparttar 134638 background this isrepparttar 134639 best code to use in for both Netscape and Explorer. <bgsound src="mysong.mid" loop=infinite> If you'd likerepparttar 134640 MIDI file to play on request inrepparttar 134641 foreground, it's just a matter of linking as Click to hear Sometimes your web server may not haverepparttar 134642 mime types configured properly and this will preventrepparttar 134643 MIDI files from playing. In which case you need to contact your server.

Making Midi Files Making your own MIDI files can be a difficult task. To make good sounding midi files takes a background in arranging, music, MIDI sequencing and computers. You can download MIDI files from various MIDI archives butrepparttar 134644 quality can be poor and often not thematically correct for your site. MIDI Design below at http// offer complete customized MIDI Loops for $35 per song. One ofrepparttar 134645 common MIDI sequencing software available with free demos are Cakewalk. This demo works great but doesn't save or print music. I personally like using Logic with its great quantizing features. If you have some musical background, here are some hints to making good midi files.

Hints for Making MIDI The following hints are meant for beginners. An experienced MIDI arranger will usually break these rules for effect. For example, often parts are not quantized for realism andrepparttar 134646 parts are done in a very different order. Nevertheless, here is a template that will work for beginners in MIDI 1) First, play justrepparttar 134647 melody ofrepparttar 134648 song on a track. Be surerepparttar 134649 volume

Cont'd on page 2 ==> © 2005
Terms of Use