A fast method of implementing the JPEG compression algorithm on AT91RM9200 is proposed in this paper. Combining with the characteristics of the processor, the method optimized the JPEG algorithm, reduced computing complexity. Experiments have achieved good results.