PICTURE DISPLAY METHOD AND APPARATUS
First Claim
1. A method for picture display, comprising:
- receiving, by an electronic device, an instruction to display a target picture, the instruction including an identifier of the target picture;
obtaining, by the electronic device, an original bitmap of the target picture according to the identifier of the target picture;
obtaining, by the electronic device, a first rotation angle corresponding to the target picture; and
adjusting, by the electronic device according to a predetermined resolution associated with the electronic device, a display size of the original bitmap of the target picture to obtain a compressed bitmap of the original bitmap; and
displaying, by the electronic device, the compressed bitmap of the original bitmap according to the first rotation angle.
1 Assignment
0 Petitions
Accused Products
Abstract
The present disclosure provides a picture display method and apparatus that relate to the field of image processing and are increase flexibility of picture display and reducing a memory occupation rate of a terminal on the premise of not modifying an attribute of an original picture. The method and apparatus include receiving an instruction for displaying a picture; obtaining, according to an identifier of a to-be-displayed picture included in the instruction, an original bitmap of the to-be-displayed picture and searching, a database of a current device for a pre-stored first rotation angle corresponding to the to-be-displayed picture; adjusting, according to a resolution of a current screen and/or a current window size, a display size of the original bitmap of the to-be-displayed picture, so as to obtain a compressed bitmap of the original bitmap; and displaying, according to the first rotation angle, a compressed bitmap of the original bitmap.
14 Citations
20 Claims
-
1. A method for picture display, comprising:
-
receiving, by an electronic device, an instruction to display a target picture, the instruction including an identifier of the target picture; obtaining, by the electronic device, an original bitmap of the target picture according to the identifier of the target picture; obtaining, by the electronic device, a first rotation angle corresponding to the target picture; and adjusting, by the electronic device according to a predetermined resolution associated with the electronic device, a display size of the original bitmap of the target picture to obtain a compressed bitmap of the original bitmap; and displaying, by the electronic device, the compressed bitmap of the original bitmap according to the first rotation angle. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. An electronic apparatus for picture display, comprising:
-
an instruction receiving unit, configured to receive an instruction to display a picture, the instruction including an identifier of the target picture; a processing unit, configured to; obtain an original bitmap of the target picture according to the identifier of the target picture; and obtain from a first rotation angle corresponding to the target picture; and an adjusting and displaying unit, configured to adjust, according to a predetermined resolution associated with the electronic device, a display size of the original bitmap of the target picture to obtain a compressed bitmap of the original bitmap; and display, according to the first rotation angle, the compressed bitmap of the original bitmap. - View Dependent Claims (9, 10, 11, 12, 13, 14, 15)
-
-
16. A processor-readable storage medium, comprising a set of instructions for picture display, wherein when executed by a processor of an electronic device, the set of instructions directs the processor to perform actions of:
-
receiving an instruction to display a target picture including an identifier of the target picture; obtaining an original bitmap of the target picture according to the identifier of the target picture; obtaining from a database a pre-stored first rotation angle corresponding to the target picture; and adjusting, according to a predetermined resolution associated with the electronic device, a display size of the original bitmap of the target picture to obtain a compressed bitmap of the original bitmap; and displaying the compressed bitmap of the original bitmap according to the first rotation angle. - View Dependent Claims (17, 18, 19, 20)
-
Specification