Reduction in file size leads to reduction in the number of bits required to store it. When data is compressed, it must be decompressed into its original form bit for bit. Compound images are defined as images that contain a combination of text, natural (photo) images and graphic images. Here, compression is the process of reducing the amount of data required to represent information. Image compression is done on the basis of various loss and lossless compression algorithms. This research work deals with the preprocessing and transformations used to compress a compound image to produce a high compression ratio (CR), less compression time and so on. In the compression process the images are considered for preprocessing and discrete wavelet transform with adaptive particle swarm optimization process. The purpose of this optimization technique is to optimize the wavelet coefficient in Harr wavelet for improving the CR value. In the image compression process, run length coding is used to compress the compound images. Based on this technique, it produces minimum CR and less computation time of compound images.