Picture display method and apparatus
First Claim
1. A method for displaying a target picture, the method comprising:
- loading, by an electronic device, an original bitmap of a target picture;
searching, by the electronic device, a database stored in the electronic device for a first rotation angle corresponding to the target picture, wherein the database is separate from the target picture; and
displaying, by the electronic device, the original bitmap according to the first rotation angle.
0 Assignments
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.
-
Citations
27 Claims
-
1. A method for displaying a target picture, the method comprising:
-
loading, by an electronic device, an original bitmap of a target picture; searching, by the electronic device, a database stored in the electronic device for a first rotation angle corresponding to the target picture, wherein the database is separate from the target picture; and displaying, by the electronic device, the original bitmap according to the first rotation angle. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. An electronic apparatus for displaying a target picture, comprising:
-
a memory storing a set of instructions; and a processor in communication with the memory, wherein, when the processor executes the set of instructions, the processor is configured to cause the electronic apparatus to; load an original bitmap of a target picture; search a database stored in the electronic apparatus for a first rotation angle corresponding to the target picture, wherein the database is separate from the target picture; and display the original bitmap according to the first rotation angle. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. A non-transitory processor-readable storage medium having a set of instructions stored thereon, wherein the set of instructions, when executed by a processor of an electronic device, instructs the processor to cause the electronic device to perform actions comprising:
-
loading an original bitmap of a target picture; searching a database stored in the electronic device for a first rotation angle corresponding to the target picture, wherein the database is separate from the target picture; and displaying the original bitmap according to the first rotation angle. - View Dependent Claims (20, 21, 22, 23, 24, 25, 26, 27)
-
Specification