PICTURE DISPLAY METHOD AND APPARATUS
First Claim
1. A method for picture display, comprising:
- loading, by an electronic device comprising a memory and a process in communication with the memory, an original bitmap of a target picture according to information identifying the target picture;
obtaining, by the electronic device, a first rotation angle corresponding to the target picture;
adjusting, by the electronic device according to a predetermined resolution associated with the electronic device and according to the first rotation angle, the original bitmap of the target picture to obtain an adaptive window bitmap of the target picture; and
displaying, by the electronic device, the adaptive window bitmap of the target picture.
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.
14 Citations
18 Claims
-
1. A method for picture display, comprising:
-
loading, by an electronic device comprising a memory and a process in communication with the memory, an original bitmap of a target picture according to information identifying the target picture; obtaining, by the electronic device, a first rotation angle corresponding to the target picture; adjusting, by the electronic device according to a predetermined resolution associated with the electronic device and according to the first rotation angle, the original bitmap of the target picture to obtain an adaptive window bitmap of the target picture; and displaying, by the electronic device, the adaptive window bitmap of the target picture. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. An electronic apparatus for picture display, comprising:
-
a memory storing instructions; and a processor in communication with the memory, wherein, when the processor executes the instructions, the processor is configured to cause the electronic apparatus to; load an original bitmap of a target picture according to information identifying the target picture; obtain a first rotation angle corresponding to the target picture; adjust, according to a predetermined resolution associated with the electronic apparatus and according to the first rotation angle, the original bitmap of the target picture to obtain an adaptive window bitmap of the target picture; and display the adaptive window bitmap of the target picture. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18)
-
Specification