Method for cache image display
A method for cache image display in an electronic apparatus having at least a LCD screen and a storage device, said method being applied when a user performs operations such as shrinking, enlarging, dragging or adjusting the viewing area of a thumbnail image on said screen, said method comprises the steps of determining if a random access memory in said electronics apparatus contains a pre-shrunk cache image and said pre-shrunk image has nearly the same image size as the one demanded by said user; retrieving said cache image upon the determination that said pre-shrunk cache image has nearly the same image size as the one demanded by said user; resizing said cache image with a proper proportion to form a new thumbnail image with the size demanded by said user; and displaying said thumbnail image on said LCD screen.
1 . A method for cache image display in an electronic apparatus having at least a LCD screen and a storage device, said method being applied when a user performs operations such as shrinking, enlarging, dragging or adjusting the viewing area of a thumbnail image on said screen, said method comprises the steps of:
determining if a random access memory in said electronics apparatus contains a pre-shrunk cache image and said pre-shrunk image has nearly the same image size as the one demanded by said user;
retrieving said cache image upon the determination that said pre-shrunk cache image has nearly the same image size as the one demanded by said user;
decoding and resizing said cache image with a proper proportion to form a new thumbnail image with the size demanded by said user; and
displaying said thumbnail image on said LCD screen.
2 . The method for cache image display of claim 1 further includes the steps of:
reading an original image corresponding to said thumbnail image from said storage device;
resizing, according to a pre-determined proportion, said original image to form a new thumbnail image; and
displaying said new thumbnail image on said LCD screen.
3 . A method for cache image display in an electronic apparatus having at least a LCD screen and a storage device, said method being applied when a user performs operations such as shrinking, enlarging, dragging or adjusting the viewing area of a thumbnail image on said screen, said method comprises the steps of:
determining if a random access memory in said electronics apparatus contains a pre-shrunk cache image and said pre-shrunk image has nearly the same image size as the one demanded by said user;
resizing an original image according to a pre-determined proportion to a size near the one demanded by said user upon the determination that said pre-shrunk cache image does not have nearly the same image size as the one demanded by said user;
encoding said resized original image to form a demanded cache image;
storing said cache image into said random access memory; and
decoding and resizing said cache image with a proper proportion to form a new thumbnail image with the size demanded by said user and displaying said thumbnail image on said LCD screen.
4 . The method for cache image display of claim 3 further includes the steps of:
reading an original image corresponding to said thumbnail image from said storage device;
encoding and adjusting according to a pre-determined proportion said original image to form a new thumbnail image; and
displaying said new thumbnail image on said LCD screen.