I highly recommend Adobe Photoshop for still images and Adobe Fireworks for animated gif files. There are free alternatives. You want to learn how to crop, resize, and reduce color levels while keeping high enough quality so that it still looks decent.