Method for loading images and electronic device
AssigneeHTC Corporation
InventorChung-Huan Mei
Life of this patent
Estimating the term…
Abstract
An image loading method applied to an electronic device having a display is provided. The method has the following steps. Firstly, an image is decompressed into a second bitmap file. Afterward, a bitmap attribute is obtained according to the second bitmap file. Following, a bitmap attribute is obtained according to the second bitmap file. Then, the bitmap attribute corresponding to an image is accessed. Next, a first bitmap file is generated in a first system memory according to the bitmap attribute. Then, the first bitmap file is outputted to the display.
Claims20
An image loading method applied to an electronic device having a display, wherein the image loading method comprises:
- a. decompressing an image into a second bitmap file;
- b. obtaining a bitmap attribute according to the second bitmap file;
- c. accessing the bitmap attribute corresponding to the image;
- d. generating a first bitmap file in a first system memory according to the bitmap attribute, wherein the first system memory is a volatile memory;
- and
- e. outputting the first bitmap file to the display.
An image loading method applied in a display of an electronic device for displaying a continuous frame, wherein the image loading method comprises:
- a. respectively decompressing each of a plurality of images into a second bitmap file;
- b. obtaining a plurality of corresponding bitmap attributes according to the second bitmap files;
- c. accessing one of the bitmap attributes each corresponding to an image respectively;
- d. generating a first bitmap file in a first system memory according to the accessed bitmap attribute, wherein the first system memory is a volatile memory;
- e. sequentially outputting the first bitmap file to the display according to an order;
- and
- f. accessing another bitmap attribute and repeating the step d and the step e until all the first bitmap files that need to be displayed on the display have been outputted so as to display the continuous frame.
An electronic device, comprising:
- a first system memory;
- a display;
- and
- a processing unit used for accessing a bitmap attribute corresponding to an image, for generating a first bitmap file in the first system memory according to the bitmap attribute, for accessing another bitmap attribute corresponding to another image and further for generating another first bitmap file in the first system memory according to another bitmap attribute so as to display the first bitmap file and the another first bitmap file on the display;
- wherein the processing unit sequentially displays the first bitmap file and the another first bitmap file on the display according to an order;
- wherein the first system memory is a volatile memory.
Dependencies are inferred from the claim text.