摘要 |
A method and apparatus of color image rotation for display and recording using JPEG compression and decompression is provided. The method includes the steps of: setting the operation modes of JPEG encoder and JPEG decoder respectively; waiting until the image data ready for encoding; performing JPEG encoding and reentry information processing; waiting until the compression of one entire frame of image completed; setting the operation mode of JPEG encoder; and then performing JPEG decoding and reentry information updating processing. For displaying the image on an image output device, the method includes the steps of: displaying processing; waiting until JPEG decoding completed; and displaying final image on the display. At this point, the process of one frame display is accomplished. On the other hand, for recording to a mass storage device, the method includes the steps of: standard lossless JEPG encoding; waiting until JPEG encoding completed; and storing final encoded data to the mass storage device. At this point, the process to record one frame image is accomplished.
|