CN106844580B - Thumbnail generation method and device and mobile terminal - Google Patents

Thumbnail generation method and device and mobile terminal Download PDF

Info

Publication number
CN106844580B
CN106844580B CN201710013613.2A CN201710013613A CN106844580B CN 106844580 B CN106844580 B CN 106844580B CN 201710013613 A CN201710013613 A CN 201710013613A CN 106844580 B CN106844580 B CN 106844580B
Authority
CN
China
Prior art keywords
thumbnail
standard
original picture
resolution
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710013613.2A
Other languages
Chinese (zh)
Other versions
CN106844580A (en
Inventor
车继红
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Anyun Century Technology Co Ltd
Original Assignee
Beijing Anyun Century Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Anyun Century Technology Co Ltd filed Critical Beijing Anyun Century Technology Co Ltd
Priority to CN201710013613.2A priority Critical patent/CN106844580B/en
Publication of CN106844580A publication Critical patent/CN106844580A/en
Application granted granted Critical
Publication of CN106844580B publication Critical patent/CN106844580B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/53Querying
    • G06F16/532Query formulation, e.g. graphical querying

Abstract

The embodiment of the invention provides a thumbnail generation method, a thumbnail generation device and a mobile terminal, wherein the method comprises the following steps: generating a standard thumbnail according to the screen resolution and storing the standard thumbnail aiming at each original picture; after a thumbnail display instruction is received for a thumbnail display interface, acquiring a first thumbnail corresponding to the thumbnail resolution from the stored standard thumbnails according to the thumbnail resolution required by the page; and displaying the first thumbnail in the thumbnail display interface. Therefore, the problems of low thumbnail generation efficiency and memory occupation caused by the fact that a plurality of large and small thumbnails are generated from the original image are solved, and the advantages of saving the memory and improving the thumbnail generation efficiency are achieved.

Description

Thumbnail generation method and device and mobile terminal
Technical Field
The invention relates to the technical field of computers, in particular to a thumbnail generation method and device and a mobile terminal.
Background
Today, with the rapid development of the electronic information industry, photographing has become a matter that people can do anytime and anywhere, so that a large number of pictures can be stored on a device with functions of storing and displaying the pictures, such as a computer, a mobile phone and the like. In order to facilitate a user to find a target picture from a large number of pictures, the device often provides a picture preview function for the user in a thumbnail mode.
In the prior art, in order to generate a thumbnail of a picture requested by a user, it is often necessary to perform image processing on an original picture to obtain a corresponding thumbnail. Wherein the image processing comprises: cropping, compressing, etc. Since the thumbnail images required for different pages have different resolutions, in order to improve efficiency, it is necessary to generate and store thumbnail images having a plurality of resolutions from the original image.
However, it is inefficient to generate thumbnails from artwork, and storing thumbnails of multiple resolution sizes takes up memory.
Disclosure of Invention
In view of the above, the present invention is proposed in order to provide a thumbnail generation method, apparatus and mobile terminal that solve the above problems or at least partially solve the above problems.
According to a first aspect of the present invention, there is provided a thumbnail generation method, including: generating a standard thumbnail according to the screen resolution and storing the standard thumbnail aiming at each original picture; after a thumbnail display instruction is received for a thumbnail display interface, acquiring a first thumbnail corresponding to the thumbnail resolution from the stored standard thumbnails according to the thumbnail resolution required by the page; and displaying the first thumbnail in the thumbnail display interface. The method has the advantages of saving the memory and improving the thumbnail generation efficiency.
With reference to the first aspect, in a first implementation manner of the first aspect, after receiving a thumbnail display instruction for a thumbnail display interface, the step of obtaining a first thumbnail corresponding to the thumbnail resolution from the stored standard thumbnails according to the thumbnail resolution required by the page includes: after a thumbnail display instruction is received for a thumbnail display interface, acquiring the thumbnail resolution of the current thumbnail display interface; generating a first thumbnail corresponding to the thumbnail resolution using the stored standard thumbnail. There is an advantageous effect that the resolution at which the thumbnail is displayed can be flexibly determined.
With reference to the first aspect, in a second implementation manner of the first aspect, the generating and storing a standard thumbnail for each original picture according to a screen resolution includes: generating an initial thumbnail according to the screen resolution for each original picture; and performing optimized compression process storage on the initial thumbnail. The thumbnail can be stored in a compressed mode, and therefore the memory can be saved.
With reference to the second implementation manner of the first aspect, in a third implementation manner of the first aspect, the step of performing optimized compression process storage on the initial thumbnail includes: and reserving color parameters in the initial thumbnail aiming at the parameters of each pixel for storage. The method has the advantage that the standard thumbnail can be guaranteed to be consistent with the color of the original image.
With reference to the first aspect, in a fourth implementation manner of the first aspect, after receiving a thumbnail display instruction for a thumbnail display interface, the step of obtaining a first thumbnail corresponding to a thumbnail resolution from the stored standard thumbnails according to the thumbnail resolution required by the page includes: after receiving a thumbnail display instruction for a thumbnail display interface, determining a plurality of standard thumbnails needing to be preloaded; and acquiring a first thumbnail corresponding to the thumbnail resolution from the stored standard thumbnails according to the thumbnail resolution required by the page for the plurality of thumbnails required to be preloaded. The method has the advantage that the display thumbnail can be generated simultaneously according to a plurality of standard thumbnails.
With reference to the first aspect, in a fifth implementation manner of the first aspect, the generating and storing a standard thumbnail for each original picture according to the screen resolution includes: when the photo album application is started, judging whether an original picture without generating a standard thumbnail exists in a gallery; and if so, generating the standard thumbnail according to the screen resolution and storing the standard thumbnail aiming at the original picture without the standard thumbnail. The method has the advantage that the standard thumbnail can be automatically generated when the photo album application is started.
With reference to the first aspect or the fifth implementation manner of the first aspect, in a sixth implementation manner of the first aspect, the generating and storing a standard thumbnail according to a screen resolution for each original picture includes: and after the camera finishes shooting, generating a standard thumbnail from the shot original picture according to the screen resolution and storing the standard thumbnail. The method has the advantage that the standard thumbnail can be automatically generated after shooting is finished.
With reference to the first aspect, in a seventh implementation manner of the first aspect, the generating and storing a standard thumbnail for each original picture according to the screen resolution includes: and acquiring the standard thumbnail of the original picture and storing the standard thumbnail into an appointed cache folder. The method has the beneficial effect of being capable of speaking the temporary storage of the standard thumbnail.
With reference to the seventh implementation manner of the first aspect, in an eighth implementation manner of the first aspect, after receiving a thumbnail display instruction for a thumbnail display interface, the step of obtaining, according to a thumbnail resolution required by the page, a first thumbnail corresponding to the thumbnail resolution from the stored standard thumbnails includes: calling a drawable object interface function to obtain a drawable object of the standard thumbnail by taking the standard thumbnail as a source file; calling a bitmap object interface function to extract a bitmap object from the drawable object; a first thumbnail is created using the bitmap object. There is an advantageous effect that the first thumbnail can be created according to an existing interface.
With reference to the first aspect, in a ninth implementation manner of the first aspect, after the step of displaying the first thumbnail on the thumbnail display interface, the method further includes: receiving a viewing operation on the first thumbnail; and acquiring a standard thumbnail corresponding to the first thumbnail for displaying. There is an advantageous effect that the standard thumbnail can be viewed through the first thumbnail.
With reference to the first aspect, in a tenth implementation manner of the first aspect, after the step of obtaining the standard thumbnail corresponding to the first thumbnail for displaying, the method further includes: and when the management operation is received in the display interface of the standard thumbnail, acquiring the original picture corresponding to the standard thumbnail and executing a corresponding processing action. The method has the advantage that the original picture can be managed through the thumbnail display interface.
With reference to the tenth implementation manner of the first aspect, in an eleventh implementation manner of the first aspect, the managing operation includes: at least one of sharing operation, editing operation and background setting operation. The method has the beneficial effect that the original picture can be subjected to various operations through the thumbnail display interface.
With reference to the eleventh implementation manner of the first aspect, in a twelfth implementation manner of the first aspect, when the management operation is a sharing operation, the step of acquiring an original picture corresponding to the standard thumbnail and executing a corresponding processing action includes: and acquiring an original picture corresponding to the standard thumbnail, and sharing the original picture to a target application pointed by the sharing operation. The method has the beneficial effect that the original picture can be shared through the thumbnail display interface.
With reference to the eleventh implementation manner of the first aspect, in a thirteenth implementation manner of the first aspect, when the management operation is an editing operation, the step of acquiring an original picture corresponding to the standard thumbnail and executing a corresponding processing action includes: acquiring an original picture corresponding to the standard thumbnail and loading the original picture to a picture editor; receiving an editing operation on the original picture in a picture editor. The method has the advantage that the original picture can be edited through the thumbnail display interface.
With reference to the eleventh implementation manner of the first aspect, in a fourteenth implementation manner of the first aspect, when the management operation is a background setting operation, the step of acquiring an original picture corresponding to the standard thumbnail and executing a corresponding processing action includes: acquiring an original picture corresponding to the standard thumbnail and loading the original picture to a background setting interface; receiving a selection operation of selecting a background area from the original picture at a background setting interface; setting the selected background area as the background. The method has the beneficial effect that the original picture can be shared through the thumbnail display interface.
With reference to the fourteenth implementation manner of the first aspect, in a fifteenth implementation manner of the first aspect, the background includes a desktop wallpaper background and/or a lock screen wallpaper background.
According to a second aspect of the present invention, there is provided a thumbnail generation apparatus including:
the standard thumbnail generation module is used for generating and storing a standard thumbnail according to the screen resolution for each original picture;
the first thumbnail obtaining module is used for obtaining a first thumbnail corresponding to the thumbnail resolution from the stored standard thumbnails according to the thumbnail resolution required by the page after receiving a thumbnail display instruction for a thumbnail display interface;
and the thumbnail display module is used for displaying the first thumbnail in the thumbnail display interface.
With reference to the second aspect, in a first implementation manner of the second aspect, the first thumbnail obtaining module includes: the resolution acquisition sub-module is used for acquiring the thumbnail resolution of the current thumbnail display interface after receiving a thumbnail display instruction for a thumbnail display interface; and the first thumbnail generation sub-module is used for generating a first thumbnail corresponding to the resolution of the thumbnail by using the stored standard thumbnail. There is an advantageous effect that the resolution at which the thumbnail is displayed can be flexibly determined.
With reference to the second aspect, in a second implementation manner of the second aspect, the standard thumbnail generation module includes: the initial thumbnail generation sub-module is used for generating an initial thumbnail according to the screen resolution ratio aiming at each original picture; and the initial thumbnail storage submodule is used for performing optimized compression process storage on the initial thumbnail. The thumbnail can be stored in a compressed mode, and therefore the memory can be saved.
With reference to the second implementation manner of the second aspect, in a third implementation manner of the second aspect, the present invention provides that the initial thumbnail storage sub-module includes: and the initial thumbnail storage unit is used for storing the initial thumbnail by reserving color parameters in the parameters of each pixel. The method has the advantage that the standard thumbnail can be guaranteed to be consistent with the color of the original image.
With reference to the second aspect, in a fourth implementation manner of the second aspect, the first thumbnail obtaining module includes: the standard thumbnail determining sub-module is used for determining a plurality of standard thumbnails needing to be preloaded after receiving a thumbnail displaying instruction aiming at a thumbnail displaying interface; and the first thumbnail obtaining sub-module is used for obtaining the first thumbnail corresponding to the thumbnail resolution from the stored standard thumbnails according to the thumbnail resolution required by the page. The method has the advantage that the display thumbnail can be generated simultaneously according to a plurality of standard thumbnails.
With reference to the second aspect, in a fifth implementation manner of the second aspect, the standard thumbnail generation module includes: the standard thumbnail generation completion judgment sub-module is used for judging whether an original picture without generating the standard thumbnail exists in the gallery when the album application is started; and the residual standard thumbnail generation sub-module is used for generating and storing the standard thumbnail according to the screen resolution ratio aiming at the original picture of which the standard thumbnail is not generated if the residual standard thumbnail is generated. The method has the advantage that the standard thumbnail can be automatically generated when the photo album application is started.
With reference to the second aspect or the fifth implementation manner of the second aspect, in a sixth implementation manner of the second aspect, the standard thumbnail generation module includes: and the standard thumbnail generation sub-module is used for generating and storing the standard thumbnail of the original picture obtained by shooting according to the screen resolution after the camera finishes shooting. The method has the advantage that the standard thumbnail can be automatically generated after shooting is finished.
With reference to the second aspect, in a seventh implementation manner of the second aspect, the standard thumbnail generation module includes: and the standard thumbnail storage sub-module is used for acquiring the standard thumbnail of the original picture and storing the standard thumbnail into the designated cache folder. The method has the beneficial effect of being capable of speaking the temporary storage of the standard thumbnail.
With reference to the seventh implementation manner of the second aspect, in an eighth implementation manner of the second aspect, the first thumbnail obtaining module includes: the drawable object acquisition submodule is used for calling a drawable object interface function to take the standard thumbnail as a source file and acquiring the drawable object of the standard thumbnail; the bitmap object extraction submodule is used for calling a bitmap object interface function to extract a bitmap object from the drawable object; and the first thumbnail creating sub-module is used for creating a first thumbnail by using the bitmap object. There is an advantageous effect that the first thumbnail can be created according to an existing interface.
With reference to the second aspect, in a ninth implementation manner of the second aspect, after the thumbnail display module, the method further includes: the viewing operation receiving module is used for receiving the viewing operation of the first thumbnail; and the standard thumbnail display module is used for acquiring the standard thumbnail corresponding to the first thumbnail to display. There is an advantageous effect that the standard thumbnail can be viewed through the first thumbnail.
With reference to the second aspect, in a tenth implementation manner of the second aspect, after the standard thumbnail display module, the method further includes: and the processing action execution module is used for acquiring the original picture corresponding to the standard thumbnail and executing a corresponding processing action when the management operation is received in the display interface of the standard thumbnail. The method has the advantage that the original picture can be managed through the thumbnail display interface.
With reference to the tenth implementation manner of the second aspect, in an eleventh implementation manner of the second aspect, the management operation includes: at least one of sharing operation, editing operation and background setting operation. The method has the beneficial effect that the original picture can be subjected to various operations through the thumbnail display interface.
With reference to the eleventh implementation manner of the second aspect, in a twelfth implementation manner of the second aspect, when the management operation is a sharing operation, the processing action execution module includes: and the sharing sub-module is used for acquiring the original picture corresponding to the standard thumbnail and sharing the original picture to the target application pointed by the sharing operation. The method has the beneficial effect that the original picture can be shared through the thumbnail display interface.
With reference to the eleventh implementation manner of the second aspect, in a thirteenth implementation manner of the second aspect, when the management operation is an editing operation, the processing action execution module includes: the first original picture loading sub-module is used for acquiring an original picture corresponding to the standard thumbnail and loading the original picture to a picture editor; and the editing submodule is used for receiving the editing operation of the original picture in a picture editor. The method has the advantage that the original picture can be edited through the thumbnail display interface.
With reference to the eleventh implementation manner of the second aspect, in a fourteenth implementation manner of the second aspect, when the management operation is a background setting operation, the processing action execution module includes: the second original picture loading sub-module is used for acquiring an original picture corresponding to the standard thumbnail and loading the original picture to a background setting interface; the background selection submodule is used for receiving a selection operation of selecting a background area from the original picture in a background setting interface; and the background setting submodule is used for setting the selected background area as the background. The method has the beneficial effect that the original picture can be shared through the thumbnail display interface.
With reference to the fourteenth implementation manner of the second aspect, in a fifteenth implementation manner of the second aspect, the background includes a desktop wallpaper background and/or a lock screen wallpaper background.
According to a third aspect of the present invention, there is also disclosed a mobile terminal, comprising a processor and a memory,
the memory is used for storing a program for executing the thumbnail generation method;
the processor is configured to execute programs stored in the memory.
According to a fourth aspect of the present invention, there is also disclosed a computer storage medium for storing computer software instructions for use by the above-described thumbnail generation apparatus, comprising a program for executing the above-described aspect designed for the thumbnail generation apparatus.
According to the thumbnail generation method, the thumbnail generation device and the mobile terminal, the standard thumbnail can be generated and stored according to the screen resolution for each original picture; after a thumbnail display instruction is received for a thumbnail display interface, acquiring a first thumbnail corresponding to the thumbnail resolution from the stored standard thumbnails according to the thumbnail resolution required by the page; and displaying the first thumbnail in the thumbnail display interface. Therefore, the problems of low thumbnail generation efficiency and memory occupation caused by the fact that a plurality of large and small thumbnails are generated from the original image are solved, and the advantages of saving the memory and improving the thumbnail generation efficiency are achieved.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 illustrates a flow chart of steps of one embodiment of a thumbnail generation method in accordance with the present invention;
FIG. 2 is a flow chart illustrating steps of another embodiment of a method for thumbnail generation in accordance with the present invention;
FIG. 3 is a block diagram illustrating an embodiment of an apparatus for generating a thumbnail according to the present invention;
FIG. 4 is a block diagram of another embodiment of a thumbnail generation apparatus according to the present invention;
fig. 5 is a block diagram illustrating a partial structure of a cellular phone related to a mobile terminal provided by an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Referring to fig. 1, a flowchart illustrating steps of an embodiment of a thumbnail generation method according to the present invention is shown, which may specifically include the following steps:
and step 101, generating a standard thumbnail according to the screen resolution and storing the standard thumbnail aiming at each original picture.
The screen resolution is the number of pixels displayed on the screen of the current display, and is usually represented by the number of pixels in the horizontal direction and the number of pixels in the vertical direction. For example, 1024 × 768 indicates that the horizontal direction on the screen includes 1024 pixels, and the vertical direction includes 768 pixels. The screen resolution may be obtained from the system configuration.
In the embodiment of the invention, the original picture can be cut into the size of the screen resolution as the standard thumbnail. For example, when the screen resolution is 1024 × 768, the original picture is cut into standard thumbnails including 1024 pixels in the horizontal direction and 768 pixels in the vertical direction.
In the embodiment of the invention, for the convenience of subsequent use, the standard thumbnail needs to be stored in the cache of the album application. When the standard thumbnail needs to be used, the standard thumbnail is read from the cache through the file identification.
And step 102, after a thumbnail display instruction is received for a thumbnail display interface, acquiring a first thumbnail corresponding to the thumbnail resolution from the stored standard thumbnails according to the thumbnail resolution required by the page.
Wherein the thumbnail expansion instruction comprises: the instruction corresponding to the operation of opening the photo album application by the user and the instruction of requesting the thumbnail of the next page by the user through the sliding operation.
The thumbnail resolution required for the page is the thumbnail resolution required by the interface displaying the thumbnail, for example, the thumbnail resolution determined by the browser interface displaying the thumbnail. Different display interfaces require different thumbnail resolutions, but typically the interface is smaller than the screen size, so that the thumbnail resolution required for a page is less than or equal to the resolution of a standard thumbnail.
Specifically, the step of acquiring a first thumbnail corresponding to the thumbnail resolution from the stored standard thumbnails includes: firstly, acquiring a standard thumbnail from a cache corresponding to an album application; and then, cutting the standard thumbnail into the thumbnail resolution required by the page to obtain a first thumbnail. For example, if the standard thumbnail obtained from the cache corresponding to the album application is 1024 × 768, and the resolution of the thumbnail required by the page is 700 × 600, the standard thumbnail with the size of 1024 × 768 is cut into the first thumbnail with the size of 700 × 600.
And 103, displaying the first thumbnail in the thumbnail display interface.
Wherein, the thumbnail display interface can include: thumbnail interface for album applications, browser interface, etc. A plurality of first thumbnails can be displayed in the thumbnail display interface at the same time, and it can be understood that the first thumbnails can be displayed in the storage order of the original pictures.
In the embodiment of the invention, a standard thumbnail can be generated and stored according to the screen resolution for each original picture; after a thumbnail display instruction is received for a thumbnail display interface, acquiring a first thumbnail corresponding to the thumbnail resolution from the stored standard thumbnails according to the thumbnail resolution required by the page; and displaying the first thumbnail in the thumbnail display interface. Therefore, the problems of low thumbnail generation efficiency and memory occupation caused by the fact that thumbnails of different sizes are generated from the original image are solved, and the advantages of saving the memory and improving the thumbnail generation efficiency are achieved.
Referring to fig. 2, a flowchart illustrating steps of another embodiment of a thumbnail generation method according to the present invention is shown, which may specifically include the following steps:
step 201, generating a standard thumbnail according to the screen resolution and storing the standard thumbnail for each original picture.
For this step, reference may be made to the detailed description of step 101, which is not described herein again.
Optionally, in another embodiment of the present invention, step 201 comprises sub-steps 2011 to 2012: sub-step 2011, for each original picture, generates an initial thumbnail at the screen resolution.
For this step, reference may be made to the detailed description of step 101, which is not described herein again.
And a substep 2012 of performing an optimized compression process storage on the initial thumbnail.
In practical applications, the storage of pictures is achieved by compression coding. Firstly, carrying out compression coding on an initial thumbnail and removing redundant information between adjacent pixel points in a picture so as to reduce the space occupied by storing the thumbnail; and then, storing the code stream file obtained by encoding in a cache of the album application or a system cache.
Optionally, in another embodiment of the present invention, sub-step 2012 includes sub-step 20121:
a substep 20121 of storing the initial thumbnail by reserving color parameters for each pixel.
The color parameters are determined according to different color modes, and the color parameters corresponding to the different color modes are different. The color modes include: RGB mode, CMYK mode, HSB mode, LAB color mode, bitmap mode, grayscale mode, index color mode, bi-tone mode, and multi-channel mode.
Wherein, R represents Red Red, G represents Green Green, and B represents Blue in RGB mode. So that the color parameters corresponding to the RGB mode include: and red, green and blue account for corresponding parameters.
C in CMYK mode stands for Cyan Cyan, M for Magenta, Y for Yellow, and K for registration sleeve color Key Plate. Thus the color parameters for the CMYK mode include: cyan, magenta, yellow, and registration process color ratios.
In the HSB mode, H represents hue, S represents saturation saturrate, and B represents brightness. Thus the color parameters for HSB mode include: color parameter, saturation parameter, brightness parameter. In the LAB mode, L stands for luminance Lightness, and A and B are two color channels, respectively.
The embodiment of the invention can ensure that the thumbnail and the original picture have the same color.
Optionally, in another embodiment of the present invention, step 201 includes sub-steps 2013 to 2014:
and a substep 2013 of judging whether the gallery has an original picture without generating a standard thumbnail when the photo album application is started.
Specifically, whether an original picture without generating the standard thumbnail exists can be judged through the number of the standard thumbnails and the number of the original pictures; if the number of the standard thumbnails is smaller than that of the original pictures, the original pictures without the standard thumbnails are generated; otherwise, no original picture without the standard thumbnail is generated.
The embodiment of the invention can generate the standard thumbnail for the newly added original picture when the album application is started.
And a substep 2014, if so, generating the standard thumbnail according to the screen resolution and storing the standard thumbnail aiming at the original picture without the standard thumbnail.
Specifically, the file identifier of the thumbnail and the file identifier of the standard thumbnail may be compared to obtain an original picture without generating the standard thumbnail.
In addition, the original picture with the standard thumbnail generated can be marked, so that whether the original picture does not generate the standard thumbnail can be judged through the mark.
It can be understood that if the standard thumbnail is being generated when exiting the album application, the user is prompted whether to exit the album application, or the process can continue in the background. When the user selects to exit the album application, the generation process of the standard thumbnail is terminated.
Optionally, in another embodiment of the present invention, step 201 comprises sub-step 2015:
and a sub-step 2015 of generating a standard thumbnail from the shot original picture according to the screen resolution and storing the standard thumbnail after the camera finishes shooting.
Specifically, when the camera continuously takes a plurality of pictures, standard thumbnails are generated in the order of creation of the original pictures.
It can be understood that if the standard thumbnail is being generated when the shooting interface is exited, the user is prompted whether to exit the shooting interface, and the process can also be continued in the background. When the user selects to exit the shooting interface, the generation process of the standard thumbnail is terminated.
The sub-steps 2011 to 2012 are standard processes for generating standard thumbnails, the sub-steps 2013 to 2014 are processes for generating standard thumbnails when the album is started, and the sub-step 2015 is a process for generating standard thumbnails after the camera finishes shooting. At least one of them may be used in practical applications.
Optionally, in another embodiment of the present invention, step 201 includes sub-step 2016:
and a substep 2016 of obtaining the standard thumbnail of the original picture and storing the standard thumbnail into a designated cache folder.
Wherein the specified cache folder may be a thumb folder.
Step 202, after a thumbnail display instruction is received for a thumbnail display interface, according to the thumbnail resolution required by the page, obtaining a first thumbnail corresponding to the thumbnail resolution from the stored standard thumbnails.
This step can be described in detail in step 102, and is not described herein again.
Optionally, in another embodiment of the present invention, step 202 comprises sub-steps 2021 to 2022:
in sub-step 2021, after receiving a thumbnail display instruction for a thumbnail display interface, the thumbnail resolution of the current thumbnail display interface is obtained.
Specifically, the thumbnail resolution may be obtained from the configuration information of the current thumbnail display interface.
Sub-step 2022, using said stored standard thumbnail, generates a first thumbnail corresponding to said thumbnail resolution.
Specifically, the standard thumbnail is cropped to the first thumbnail at the thumbnail resolution.
Optionally, in another embodiment of the present invention, step 202 comprises sub-steps 2023 to 2024:
substep 2023, after receiving the thumbnail display instruction for a thumbnail display interface, determining a plurality of standard thumbnails that need to be preloaded.
Specifically, a plurality of standard thumbnails to be preloaded are determined according to the corresponding relationship between the original picture and the file identifier of the standard thumbnail.
In practical application, the corresponding relationship between the original picture and the file identifier of the standard thumbnail can be set according to a specific application scene. For example, the file identifiers of the original picture and the standard thumbnail are the same, but are stored in different paths; or the file identification of the standard thumbnail comprises the file identification of the original picture.
Substep 2024, acquiring a first thumbnail corresponding to the thumbnail resolution from the stored standard thumbnails according to the thumbnail resolution required by the page for the plurality of thumbnails required to be preloaded.
Wherein sub-steps 2021 to 2022 are standard processes for generating a first thumbnail and sub-steps 2023 to 2024 are processes for generating a plurality of first thumbnails. Either of these may be used in practical applications.
Optionally, in another embodiment of the present invention, step 202 comprises sub-steps 2025 to 2027:
substep 2025, calling a drawable object interface function to obtain the drawable object of the standard thumbnail by using the standard thumbnail as a source file.
In practical applications, when a drawable object is obtained, a file corresponding to an original picture is often required to be compressed.
In the android system, the Drawable object interface function, such as the getResources (). getDrawable () function, then obtains the Drawable object of the source file, such as a Drawable object.
Sub-step 2026, call bitmap object interface function to extract bitmap object from said drawable object.
In the android system, the Drawable object interface function, such as the getblitmap () function, takes as input a Drawable object from which a Bitmap object, such as a Bitmap object, is extracted.
Bitmap objects represent pictures using pixels, each pixel being assigned a particular position and color value.
The bitmap object is related to resolution, and the bitmap object contains a fixed number of pixels. Therefore, if the bitmap object is scaled at a high scaling rate on the screen or printed at a lower resolution than when created, picture details are lost and jaggies appear.
Sub-step 2027, creating a first thumbnail using the bitmap object.
Specifically, the first thumbnail needs to be created according to the width and height of the first thumbnail. Where width and height are both expressed in terms of the number of pixel values.
In the android system, a thumbnail generation interface function such as thumbnail utility, extractthumbnail (bitmap, x, y) may be called to generate a thumbnail, where bitmap is a bitmap object, and x and y are the width and height of the thumbnail.
And step 203, displaying the first thumbnail in the thumbnail display interface.
This step can refer to the detailed description of step 103, which is not repeated herein.
And step 204, receiving a viewing operation of the first thumbnail.
Wherein the viewing operation may include: click operation, continuous press manipulation, and the like. The embodiments of the present invention do not limit them.
And step 205, acquiring a standard thumbnail corresponding to the first thumbnail for displaying.
In the embodiment of the invention, when the size of the standard thumbnail is the screen size, the standard thumbnail corresponding to the first thumbnail is directly displayed on the screen.
In practical applications, a selection button may also be provided for the user to select to display the original picture or the standard thumbnail.
And step 206, when the management operation is received in the display interface of the standard thumbnail, acquiring the original picture corresponding to the standard thumbnail and executing a corresponding processing action.
Specifically, the management operation may be performed on both the standard thumbnail and the original thumbnail, or only the standard thumbnail or the original thumbnail may be operated. The embodiments of the present invention do not limit them.
Optionally, in another embodiment of the present invention, the management operation includes: at least one of sharing operation, editing operation and background setting operation.
The sharing operation shares the pictures to the designated application, designated contacts in the address book in the designated application or all the contacts and the like.
The editing operation performs picture processing operations such as clipping, rotation angle, dimming, color mixing and the like on the picture.
Optionally, in another embodiment of the present invention, when the management operation is a sharing operation, step 206 includes a sub-step 2061:
and a substep 2061, obtaining an original picture corresponding to the standard thumbnail, and sharing the original picture to the target application pointed by the sharing operation.
In practical application, an application selection interface can be provided for a user to select a target application. Specifically, after the target application is selected, the address book of the target application can be called, so that the user can select the target contact.
It is to be understood that the target contact may be one, more or all contacts in the address book.
Optionally, in another embodiment of the present invention, when the management operation is an editing operation, step 206 includes sub-steps 2062 to 2063:
substep 2062, obtaining the original picture corresponding to the standard thumbnail and loading the original picture to a picture editor;
the picture editor may be a system-owned editor or a downloaded picture editor. When a plurality of picture editors exist in the mobile terminal, a selection interface can be provided for a user to select the picture editors. It will be appreciated that the system's own picture editor may be turned on by default.
Sub-step 2063, receiving an editing operation on the original picture in the picture editor.
Specifically, the original picture after editing can be saved so as not to affect the original picture.
Alternatively, in another embodiment of the present invention, when the management operation is a background setting operation, step 206 includes sub-steps 2064 to 2066:
and a substep 2064 of obtaining the original picture corresponding to the standard thumbnail and loading the original picture to a background setting interface.
Specifically, simpler picture editing operations of enlarging/reducing an original picture, moving a picture position, adjusting brightness, adjusting an angle, and the like can also be provided in the background setting interface. After at least one of the above-described picture editing operations is performed in the background setting interface, a background region is selected.
It is understood that the above-described picture editing operation is not saved to the original picture.
Sub-step 2065, receiving the selection operation of selecting the background area from the original picture in the background setting interface.
The background area may be a rectangle, a circle, etc., which is not limited in the embodiments of the present invention. The user can draw a background area on the original picture.
In practical applications, when the original picture is too large, the user may select a part of the original picture as a background; when the original picture is small, the user can select the beijing area after enlarging the original picture.
And a sub-step 2066 of setting the selected background region as the background.
In practical application, when the selected background areas are all areas of the original picture, the original picture is taken as the background;
optionally, in another embodiment of the present invention, the background comprises a desktop wallpaper background and/or a lock screen wallpaper background.
In practical applications, after the background area is determined, an interface for selecting a desktop wallpaper background or a lock screen wallpaper background may be provided. It will be appreciated that the option of selecting both a desktop wallpaper background and a lock screen wallpaper background should also be provided on the selection interface described above.
In the embodiment of the invention, a standard thumbnail can be generated and stored according to the screen resolution for each original picture; after a thumbnail display instruction is received for a thumbnail display interface, acquiring a first thumbnail corresponding to the thumbnail resolution from the stored standard thumbnails according to the thumbnail resolution required by the page; and displaying the first thumbnail in the thumbnail display interface. Therefore, the problems of low thumbnail generation efficiency and memory occupation caused by the fact that thumbnails of different sizes are generated from the original image are solved, and the advantages of saving the memory and improving the thumbnail generation efficiency are achieved. In addition, standard thumbnails can be automatically generated, so that the thumbnail generation speed is further improved.
For simplicity of explanation, the method embodiments are described as a series of acts or combinations, but those skilled in the art will appreciate that the embodiments are not limited by the order of acts described, as some steps may occur in other orders or concurrently with other steps in accordance with the embodiments of the invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 3, a block diagram of an embodiment of a thumbnail generation apparatus according to the present invention is shown, which may specifically include the following modules:
and a standard thumbnail generation module 301, configured to generate and store a standard thumbnail according to a screen resolution for each original picture.
The first thumbnail obtaining module 302 is configured to, after receiving a thumbnail displaying instruction for a thumbnail displaying interface, obtain a first thumbnail corresponding to a thumbnail resolution from the stored standard thumbnails according to the thumbnail resolution required by the page.
A thumbnail display module 303, configured to display the first thumbnail in the thumbnail display interface.
In the embodiment of the invention, a standard thumbnail can be generated and stored according to the screen resolution for each original picture; after a thumbnail display instruction is received for a thumbnail display interface, acquiring a first thumbnail corresponding to the thumbnail resolution from the stored standard thumbnails according to the thumbnail resolution required by the page; and displaying the first thumbnail in the thumbnail display interface. Therefore, the problems of low thumbnail generation efficiency and memory occupation caused by the fact that thumbnails of different sizes are generated from the original image are solved, and the advantages of saving the memory and improving the thumbnail generation efficiency are achieved.
Referring to fig. 4, a block diagram of another embodiment of a thumbnail generation apparatus according to the present invention is shown, and may specifically include the following modules:
and a standard thumbnail generation module 401, configured to generate and store a standard thumbnail according to a screen resolution for each original picture.
The first thumbnail obtaining module 402 is configured to, after receiving a thumbnail displaying instruction for a thumbnail displaying interface, obtain a first thumbnail corresponding to a thumbnail resolution from the stored standard thumbnails according to the thumbnail resolution required by the page.
A thumbnail display module 403, configured to display the first thumbnail in the thumbnail display interface.
A viewing operation receiving module 404, configured to receive a viewing operation on the first thumbnail.
And a standard thumbnail display module 405, configured to obtain a standard thumbnail corresponding to the first thumbnail for display.
And a processing action executing module 406, configured to, when a management operation is received in the display interface of the standard thumbnail, obtain an original picture corresponding to the standard thumbnail and execute a corresponding processing action.
Optionally, in another embodiment of the present invention, the standard thumbnail generating module 401 includes:
and the initial thumbnail generation sub-module is used for generating an initial thumbnail according to the screen resolution ratio for each original picture.
And the initial thumbnail storage submodule is used for performing optimized compression process storage on the initial thumbnail.
Optionally, in another embodiment of the present invention, the standard thumbnail generating module 401 includes:
and the standard thumbnail generation completion judgment sub-module is used for judging whether the original picture without generating the standard thumbnail exists in the gallery when the album application is started.
And the residual standard thumbnail generation sub-module is used for generating and storing the standard thumbnail according to the screen resolution ratio aiming at the original picture of which the standard thumbnail is not generated if the residual standard thumbnail is generated.
Optionally, in another embodiment of the present invention, the standard thumbnail generating module 401 includes:
and the standard thumbnail generation sub-module is used for generating and storing the standard thumbnail of the original picture obtained by shooting according to the screen resolution after the camera finishes shooting.
Optionally, in another embodiment of the present invention, the initial thumbnail storage sub-module includes:
and the initial thumbnail storage unit is used for storing the initial thumbnail by reserving color parameters in the parameters of each pixel.
Optionally, in another embodiment of the present invention, the standard thumbnail generating module 401 includes:
and the standard thumbnail storage sub-module is used for acquiring the standard thumbnail of the original picture and storing the standard thumbnail into the designated cache folder.
Optionally, in another embodiment of the present invention, the first thumbnail obtaining module 402 includes:
and the resolution acquisition sub-module is used for acquiring the thumbnail resolution of the current thumbnail display interface after receiving the thumbnail display instruction aiming at the thumbnail display interface.
And the first thumbnail generation sub-module is used for generating a first thumbnail corresponding to the resolution of the thumbnail by using the stored standard thumbnail.
Optionally, in another embodiment of the present invention, the first thumbnail obtaining module 402 includes:
and the standard thumbnail determining sub-module is used for determining a plurality of standard thumbnails needing to be preloaded after receiving a thumbnail displaying instruction aiming at a thumbnail displaying interface.
And the first thumbnail obtaining sub-module is used for obtaining the first thumbnail corresponding to the thumbnail resolution from the stored standard thumbnails according to the thumbnail resolution required by the page.
Optionally, in another embodiment of the present invention, the first thumbnail obtaining module 402 includes:
and the drawable object acquisition submodule is used for calling a drawable object interface function to acquire the drawable object of the standard thumbnail by taking the standard thumbnail as a source file.
And the bitmap object extraction submodule is used for calling a bitmap object interface function to extract the bitmap object from the drawable object.
And the first thumbnail creating sub-module is used for creating a first thumbnail by using the bitmap object.
Optionally, in another embodiment of the present invention, the management operation includes: at least one of sharing operation, editing operation and background setting operation.
Optionally, in another embodiment of the present invention, when the management operation is a sharing operation, the processing action executing module 406 includes:
and the sharing sub-module is used for acquiring the original picture corresponding to the standard thumbnail and sharing the original picture to the target application pointed by the sharing operation.
Optionally, in another embodiment of the present invention, when the management operation is an editing operation, the processing action executing module 406 includes:
and the first original picture loading sub-module is used for acquiring the original picture corresponding to the standard thumbnail and loading the original picture to a picture editor.
And the editing submodule is used for receiving the editing operation of the original picture in a picture editor.
Optionally, in another embodiment of the present invention, when the management operation is a background setting operation, the processing action executing module 406 includes:
and the second original picture loading sub-module is used for acquiring an original picture corresponding to the standard thumbnail and loading the original picture to a background setting interface.
And the background selection sub-module is used for receiving a selection operation of selecting a background area from the original picture in a background setting interface.
And the background setting submodule is used for setting the selected background area as the background.
Optionally, in another embodiment of the present invention, the background includes a desktop wallpaper background and/or a lock screen wallpaper background.
In the embodiment of the invention, a standard thumbnail can be generated and stored according to the screen resolution for each original picture; after a thumbnail display instruction is received for a thumbnail display interface, acquiring a first thumbnail corresponding to the thumbnail resolution from the stored standard thumbnails according to the thumbnail resolution required by the page; and displaying the first thumbnail in the thumbnail display interface. Therefore, the problems of low thumbnail generation efficiency and memory occupation caused by the fact that thumbnails of different sizes are generated from the original image are solved, and the advantages of saving the memory and improving the thumbnail generation efficiency are achieved. In addition, standard thumbnails can be automatically generated, so that the thumbnail generation speed is further improved.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
Fig. 5 shows only a portion related to the embodiment of the present invention for convenience of description, and please refer to the method portion in the embodiment of the present invention for details that are not disclosed. The terminal may be any terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), a vehicle-mounted computer, etc., taking the terminal as the mobile phone as an example:
fig. 5 is a block diagram illustrating a partial structure of a mobile phone related to a mobile terminal according to an embodiment of the present invention. Referring to fig. 5, the handset includes: radio Frequency (RF) circuit 510, memory 520, input unit 530, display unit 540, sensor 550, audio circuit 560, wireless fidelity (WiFi) module 570, processor 580, and power supply 590. Those skilled in the art will appreciate that the handset configuration shown in fig. 5 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile phone in detail with reference to fig. 5:
RF circuit 510 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, for processing downlink information of a base station after receiving the downlink information to processor 580; in addition, the data for designing uplink is transmitted to the base station. In general, RF circuit 510 includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, RF circuit 510 may also communicate with networks and other devices via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), and the like.
The memory 520 may be used to store software programs and modules, and the processor 580 executes various functional applications and data processing of the mobile phone by operating the software programs and modules stored in the memory 520. The memory 520 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 520 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 530 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone. Specifically, the input unit 530 may include a touch panel 531 and other input devices 532. The touch panel 531, also called a touch screen, can collect touch operations of a user on or near the touch panel 531 (for example, operations of the user on or near the touch panel 531 by using any suitable object or accessory such as a finger or a stylus pen), and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 531 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, and sends the touch point coordinates to the processor 580, and can receive and execute commands sent by the processor 580. In addition, the touch panel 531 may be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The input unit 530 may include other input devices 532 in addition to the touch panel 531. In particular, other input devices 532 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 540 may be used to display information input by the user or information provided to the user and various menus of the mobile phone. The Display unit 540 may include a Display panel 541, and optionally, the Display panel 541 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch panel 531 may cover the display panel 541, and when the touch panel 531 detects a touch operation on or near the touch panel 531, the touch panel is transmitted to the processor 580 to determine the type of the touch event, and then the processor 580 provides a corresponding visual output on the display panel 541 according to the type of the touch event. Although the touch panel 531 and the display panel 541 are shown as two separate components in fig. 5 to implement the input and output functions of the mobile phone, in some embodiments, the touch panel 531 and the display panel 541 may be integrated to implement the input and output functions of the mobile phone.
The handset may also include at least one sensor 550, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 541 according to the brightness of ambient light, and the proximity sensor may turn off the display panel 541 and/or the backlight when the mobile phone is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
Audio circuitry 560, speaker 561, and microphone 562 may provide an audio interface between a user and a cell phone. The audio circuit 560 may transmit the electrical signal converted from the received audio data to the speaker 561, and convert the electrical signal into a sound signal by the speaker 561 for output; on the other hand, the microphone 562 converts the collected sound signals into electrical signals, which are received by the audio circuit 560 and converted into audio data, which are then processed by the audio data output processor 580, and then passed through the RF circuit 510 to be sent to, for example, another cellular phone, or output to the memory 520 for further processing.
WiFi belongs to short distance wireless transmission technology, and the mobile phone can help the user to send and receive e-mail, browse web pages, access streaming media, etc. through the WiFi module 570, which provides wireless broadband internet access for the user. Although fig. 5 shows the WiFi module 570, it is understood that it does not belong to the essential constitution of the handset, and can be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 580 is a control center of the mobile phone, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 520 and calling data stored in the memory 520, thereby performing overall monitoring of the mobile phone. Alternatively, processor 580 may include one or more processing units; preferably, the processor 580 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 580.
The handset also includes a power supply 590 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 580 via a power management system, such that the power management system may be used to manage charging, discharging, and power consumption.
Although not shown, the mobile phone may further include a camera, a bluetooth module, etc., which are not described herein.
In the embodiment of the present invention, the processor 580 included in the terminal further has the following functions: generating a standard thumbnail according to the screen resolution and storing the standard thumbnail aiming at each original picture; after a thumbnail display instruction is received for a thumbnail display interface, acquiring a first thumbnail corresponding to the thumbnail resolution from the stored standard thumbnails according to the thumbnail resolution required by the page; and displaying the first thumbnail in the thumbnail display interface.
Optionally, the processor 580 also has the following functions: after a thumbnail display instruction is received for a thumbnail display interface, acquiring the thumbnail resolution of the current thumbnail display interface; generating a first thumbnail corresponding to the thumbnail resolution using the stored standard thumbnail.
Optionally, the processor 580 also has the following functions: generating an initial thumbnail according to the screen resolution for each original picture; and performing optimized compression process storage on the initial thumbnail.
Optionally, the processor 580 also has the following functions: and reserving color parameters in the initial thumbnail aiming at the parameters of each pixel for storage.
Optionally, the processor 580 also has the following functions: after receiving a thumbnail display instruction for a thumbnail display interface, determining a plurality of standard thumbnails needing to be preloaded; and acquiring a first thumbnail corresponding to the thumbnail resolution from the stored standard thumbnails according to the thumbnail resolution required by the page for the plurality of thumbnails required to be preloaded.
Optionally, the processor 580 also has the following functions: when the photo album application is started, judging whether an original picture without generating a standard thumbnail exists in a gallery; and if so, generating the standard thumbnail according to the screen resolution and storing the standard thumbnail aiming at the original picture without the standard thumbnail.
Optionally, the processor 580 also has the following functions: and after the camera finishes shooting, generating a standard thumbnail from the shot original picture according to the screen resolution and storing the standard thumbnail.
Optionally, the processor 580 also has the following functions: and acquiring the standard thumbnail of the original picture and storing the standard thumbnail into an appointed cache folder.
Optionally, the processor 580 also has the following functions: calling a drawable object interface function to obtain a drawable object of the standard thumbnail by taking the standard thumbnail as a source file; calling a bitmap object interface function to extract a bitmap object from the drawable object; a first thumbnail is created using the bitmap object.
Optionally, the processor 580 also has the following functions: receiving a viewing operation on the first thumbnail; and acquiring a standard thumbnail corresponding to the first thumbnail for displaying.
Optionally, the processor 580 also has the following functions: and when the management operation is received in the display interface of the standard thumbnail, acquiring the original picture corresponding to the standard thumbnail and executing a corresponding processing action. The management operation comprises: at least one of sharing operation, editing operation and background setting operation.
Optionally, the processor 580 also has the following functions: and acquiring an original picture corresponding to the standard thumbnail, and sharing the original picture to a target application pointed by the sharing operation.
Optionally, the processor 580 also has the following functions: acquiring an original picture corresponding to the standard thumbnail and loading the original picture to a picture editor; receiving an editing operation on the original picture in a picture editor.
Optionally, the processor 580 also has the following functions: acquiring an original picture corresponding to the standard thumbnail and loading the original picture to a background setting interface; receiving a selection operation of selecting a background area from the original picture at a background setting interface; setting the selected background area as the background. The background comprises a desktop wallpaper background and/or a lock screen wallpaper background.
According to the method, the standard thumbnail can be generated firstly, and the display thumbnail is generated according to the standard thumbnail, so that the problems of low thumbnail generation efficiency and memory occupation caused by the fact that a plurality of large and small thumbnails are generated from the original image are solved, and the advantages of saving the memory and improving the thumbnail generation efficiency are achieved.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable storage medium, and the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
It will be understood by those skilled in the art that all or part of the steps in the method for implementing the above embodiments may be implemented by hardware that is instructed to implement by a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
While the method, the apparatus and the mobile terminal for generating a thumbnail provided by the present invention have been described in detail, for those skilled in the art, according to the idea of the embodiment of the present invention, the specific implementation manner and the application scope may be changed, and in summary, the content of the present description should not be construed as limiting the present invention.
The invention discloses a method for generating an A1 thumbnail, which comprises the following steps:
generating a standard thumbnail according to the screen resolution and storing the standard thumbnail aiming at each original picture;
after a thumbnail display instruction is received for a thumbnail display interface, acquiring a first thumbnail corresponding to the thumbnail resolution from the stored standard thumbnails according to the thumbnail resolution required by the page;
and displaying the first thumbnail in the thumbnail display interface.
A2, the method according to a1, wherein after receiving a thumbnail display instruction for a thumbnail display interface, the step of obtaining a first thumbnail corresponding to the thumbnail resolution from the stored standard thumbnails according to the thumbnail resolution required by the page includes:
after a thumbnail display instruction is received for a thumbnail display interface, acquiring the thumbnail resolution of the current thumbnail display interface;
generating a first thumbnail corresponding to the thumbnail resolution using the stored standard thumbnail.
A3, the method as in a1, wherein the step of generating and storing standard thumbnails at the screen resolution for each original picture comprises:
generating an initial thumbnail according to the screen resolution for each original picture;
and performing optimized compression process storage on the initial thumbnail.
A4, the method of A3, the step of storing the initial thumbnail in an optimized compression process includes:
and reserving color parameters in the initial thumbnail aiming at the parameters of each pixel for storage.
A5, the method according to a1, wherein after receiving a thumbnail display instruction for a thumbnail display interface, the step of obtaining a first thumbnail corresponding to the thumbnail resolution from the stored standard thumbnails according to the thumbnail resolution required by the page includes:
after receiving a thumbnail display instruction for a thumbnail display interface, determining a plurality of standard thumbnails needing to be preloaded;
and acquiring a first thumbnail corresponding to the thumbnail resolution from the stored standard thumbnails according to the thumbnail resolution required by the page for the plurality of thumbnails required to be preloaded.
A6, the method as in a1, wherein the step of generating and storing standard thumbnails at the screen resolution for each original picture comprises:
when the photo album application is started, judging whether an original picture without generating a standard thumbnail exists in a gallery;
and if so, generating the standard thumbnail according to the screen resolution and storing the standard thumbnail aiming at the original picture without the standard thumbnail.
A7, the method as in a1 or a6, wherein the step of generating and storing a standard thumbnail at a screen resolution for each original picture comprises:
and after the camera finishes shooting, generating a standard thumbnail from the shot original picture according to the screen resolution and storing the standard thumbnail.
A8, the method as in a1, wherein the step of generating and storing standard thumbnails at the screen resolution for each original picture comprises:
and acquiring the standard thumbnail of the original picture and storing the standard thumbnail into an appointed cache folder.
A9, the method according to A8, wherein after receiving a thumbnail display instruction for a thumbnail display interface, the step of obtaining a first thumbnail corresponding to the thumbnail resolution from the stored standard thumbnails according to the thumbnail resolution required by the page includes:
calling a drawable object interface function to obtain a drawable object of the standard thumbnail by taking the standard thumbnail as a source file;
calling a bitmap object interface function to extract a bitmap object from the drawable object;
a first thumbnail is created using the bitmap object.
A10, the method as in A1, further comprising, after the step of displaying the first thumbnail in the thumbnail display interface:
receiving a viewing operation on the first thumbnail;
and acquiring a standard thumbnail corresponding to the first thumbnail for displaying.
A11, the method as in A1, further comprising, after the step of obtaining the standard thumbnail corresponding to the first thumbnail for presentation:
and when the management operation is received in the display interface of the standard thumbnail, acquiring the original picture corresponding to the standard thumbnail and executing a corresponding processing action.
A12, the method of A11, the managing comprising: at least one of sharing operation, editing operation and background setting operation.
A13, the method according to a12, wherein when the management operation is a sharing operation, the step of acquiring the original picture corresponding to the standard thumbnail and executing the corresponding processing action includes:
and acquiring an original picture corresponding to the standard thumbnail, and sharing the original picture to a target application pointed by the sharing operation.
A14, the method as in a12, wherein when the managing operation is an editing operation, the step of acquiring the original picture corresponding to the standard thumbnail and executing the corresponding processing action includes:
acquiring an original picture corresponding to the standard thumbnail and loading the original picture to a picture editor;
receiving an editing operation on the original picture in a picture editor.
A15, the method according to a12, wherein when the management operation is a background setting operation, the step of acquiring the original picture corresponding to the standard thumbnail and executing the corresponding processing action includes:
acquiring an original picture corresponding to the standard thumbnail and loading the original picture to a background setting interface;
receiving a selection operation of selecting a background area from the original picture at a background setting interface;
setting the selected background area as the background.
A16, the method as in A15, the background comprising a desktop wallpaper background and/or a lock screen wallpaper background.
The invention also discloses B1, a thumbnail generating device, comprising:
the standard thumbnail generation module is used for generating and storing a standard thumbnail according to the screen resolution for each original picture;
the first thumbnail obtaining module is used for obtaining a first thumbnail corresponding to the thumbnail resolution from the stored standard thumbnails according to the thumbnail resolution required by the page after receiving a thumbnail display instruction for a thumbnail display interface;
and the thumbnail display module is used for displaying the first thumbnail in the thumbnail display interface.
B2, the apparatus as described in B1, the first thumbnail obtaining module comprising:
the resolution acquisition sub-module is used for acquiring the thumbnail resolution of the current thumbnail display interface after receiving a thumbnail display instruction for a thumbnail display interface;
and the first thumbnail generation sub-module is used for generating a first thumbnail corresponding to the resolution of the thumbnail by using the stored standard thumbnail.
B3, the apparatus as in B1, the standard thumbnail generation module comprising:
the initial thumbnail generation sub-module is used for generating an initial thumbnail according to the screen resolution ratio aiming at each original picture;
and the initial thumbnail storage submodule is used for performing optimized compression process storage on the initial thumbnail.
B4, the apparatus as in B3, the initial thumbnail storing sub-module comprising:
and the initial thumbnail storage unit is used for storing the initial thumbnail by reserving color parameters in the parameters of each pixel.
B5, the apparatus as described in B1, the first thumbnail obtaining module comprising:
the standard thumbnail determining sub-module is used for determining a plurality of standard thumbnails needing to be preloaded after receiving a thumbnail displaying instruction aiming at a thumbnail displaying interface;
and the first thumbnail obtaining sub-module is used for obtaining the first thumbnail corresponding to the thumbnail resolution from the stored standard thumbnails according to the thumbnail resolution required by the page.
B6, the apparatus as in B1, the standard thumbnail generation module comprising:
the standard thumbnail generation completion judgment sub-module is used for judging whether an original picture without generating the standard thumbnail exists in the gallery when the album application is started;
and the residual standard thumbnail generation sub-module is used for generating and storing the standard thumbnail according to the screen resolution ratio aiming at the original picture of which the standard thumbnail is not generated if the residual standard thumbnail is generated.
B7, the apparatus as described in B1 or B6, the standard thumbnail generation module comprising:
and the standard thumbnail generation sub-module is used for generating and storing the standard thumbnail of the original picture obtained by shooting according to the screen resolution after the camera finishes shooting.
B8, the apparatus as in B1, the standard thumbnail generation module comprising:
and the standard thumbnail storage sub-module is used for acquiring the standard thumbnail of the original picture and storing the standard thumbnail into the designated cache folder.
B9, the apparatus as described in B8, the first thumbnail obtaining module comprising:
the drawable object acquisition submodule is used for calling a drawable object interface function to take the standard thumbnail as a source file and acquiring the drawable object of the standard thumbnail;
the bitmap object extraction submodule is used for calling a bitmap object interface function to extract a bitmap object from the drawable object;
and the first thumbnail creating sub-module is used for creating a first thumbnail by using the bitmap object.
B10, the apparatus as in B1, further comprising, after the thumbnail display module:
the viewing operation receiving module is used for receiving the viewing operation of the first thumbnail;
and the standard thumbnail display module is used for acquiring the standard thumbnail corresponding to the first thumbnail to display.
B11, the apparatus as in B1, after the standard thumbnail presentation module, further comprising:
and the processing action execution module is used for acquiring the original picture corresponding to the standard thumbnail and executing a corresponding processing action when the management operation is received in the display interface of the standard thumbnail.
B12, the apparatus as described in B11, the management operations comprising: at least one of sharing operation, editing operation and background setting operation.
B13, the apparatus according to B12, wherein when the management operation is a sharing operation, the processing action executing module includes:
and the sharing sub-module is used for acquiring the original picture corresponding to the standard thumbnail and sharing the original picture to the target application pointed by the sharing operation.
B14, the apparatus of B12, when the management operation is an editing operation, the processing action performing module includes:
the first original picture loading sub-module is used for acquiring an original picture corresponding to the standard thumbnail and loading the original picture to a picture editor;
and the editing submodule is used for receiving the editing operation of the original picture in a picture editor.
B15, the apparatus of B12, when the management operation is a background setting operation, the processing action performing module includes:
the second original picture loading sub-module is used for acquiring an original picture corresponding to the standard thumbnail and loading the original picture to a background setting interface;
the background selection submodule is used for receiving a selection operation of selecting a background area from the original picture in a background setting interface;
and the background setting submodule is used for setting the selected background area as the background.
B16, the device as in B15, the background comprising a desktop wallpaper background and/or a lock screen wallpaper background.
The invention also discloses C1, a mobile terminal, comprising a processor and a memory,
the memory is for storing a program for executing the thumbnail generation method of any one of a1 through a 16;
the processor is configured to execute programs stored in the memory.

Claims (31)

1. A thumbnail generation method, comprising:
generating a standard thumbnail according to the screen resolution and storing the standard thumbnail aiming at each original picture;
after a thumbnail display instruction is received for a thumbnail display interface, acquiring a first thumbnail corresponding to the thumbnail resolution from the stored standard thumbnails according to the thumbnail resolution required by a page;
displaying the first thumbnail in the thumbnail display interface;
after receiving a thumbnail display instruction for a thumbnail display interface, according to the thumbnail resolution required by a page, acquiring a first thumbnail corresponding to the thumbnail resolution from the stored standard thumbnails, including:
after a thumbnail display instruction is received for a thumbnail display interface, acquiring the thumbnail resolution of the current thumbnail display interface;
generating a first thumbnail corresponding to the thumbnail resolution using the stored standard thumbnail.
2. The method of claim 1, wherein the step of generating and storing a standard thumbnail at a screen resolution for each original picture comprises:
generating an initial thumbnail according to the screen resolution for each original picture;
and performing optimized compression process storage on the initial thumbnail.
3. The method of claim 2, wherein the step of storing the initial thumbnail for an optimized compression process comprises:
and reserving color parameters in the initial thumbnail aiming at the parameters of each pixel for storage.
4. The method according to claim 1, wherein the step of obtaining a first thumbnail corresponding to the thumbnail resolution from the stored standard thumbnails according to the thumbnail resolution required by the page after receiving the thumbnail display instruction for a thumbnail display interface comprises:
after receiving a thumbnail display instruction for a thumbnail display interface, determining a plurality of standard thumbnails needing to be preloaded;
and acquiring a first thumbnail corresponding to the thumbnail resolution from the stored standard thumbnails according to the thumbnail resolution required by the page for the plurality of thumbnails required to be preloaded.
5. The method of claim 1, wherein the step of generating and storing a standard thumbnail at a screen resolution for each original picture comprises:
when the photo album application is started, judging whether an original picture without generating a standard thumbnail exists in a gallery;
and if so, generating the standard thumbnail according to the screen resolution and storing the standard thumbnail aiming at the original picture without the standard thumbnail.
6. The method according to claim 1 or 5, wherein the step of generating and storing a standard thumbnail at a screen resolution for each original picture comprises:
and after the camera finishes shooting, generating a standard thumbnail from the shot original picture according to the screen resolution and storing the standard thumbnail.
7. The method of claim 1, wherein the step of generating and storing a standard thumbnail at a screen resolution for each original picture comprises:
and acquiring the standard thumbnail of the original picture and storing the standard thumbnail into an appointed cache folder.
8. The method according to claim 7, wherein the step of obtaining a first thumbnail corresponding to the thumbnail resolution from the stored standard thumbnails according to the thumbnail resolution required by the page after receiving the thumbnail display instruction for a thumbnail display interface comprises:
calling a drawable object interface function to obtain a drawable object of the standard thumbnail by taking the standard thumbnail as a source file;
calling a bitmap object interface function to extract a bitmap object from the drawable object;
a first thumbnail is created using the bitmap object.
9. The method of claim 1, further comprising, after the step of displaying the first thumbnail in the thumbnail presentation interface:
receiving a viewing operation on the first thumbnail;
and acquiring a standard thumbnail corresponding to the first thumbnail for displaying.
10. The method according to claim 9, wherein after the step of obtaining the standard thumbnail corresponding to the first thumbnail for presentation, the method further comprises:
and when the management operation is received in the display interface of the standard thumbnail, acquiring the original picture corresponding to the standard thumbnail and executing a corresponding processing action.
11. The method of claim 10, wherein the managing operation comprises: at least one of sharing operation, editing operation and background setting operation.
12. The method according to claim 11, wherein when the management operation is a sharing operation, the step of acquiring the original picture corresponding to the standard thumbnail and performing a corresponding processing action includes:
and acquiring an original picture corresponding to the standard thumbnail, and sharing the original picture to a target application pointed by the sharing operation.
13. The method according to claim 11, wherein when the management operation is an editing operation, the step of acquiring the original picture corresponding to the standard thumbnail and performing a corresponding processing action comprises:
acquiring an original picture corresponding to the standard thumbnail and loading the original picture to a picture editor;
receiving an editing operation on the original picture in a picture editor.
14. The method according to claim 11, wherein when the management operation is a background setting operation, the step of acquiring the original picture corresponding to the standard thumbnail and performing a corresponding processing action includes:
acquiring an original picture corresponding to the standard thumbnail and loading the original picture to a background setting interface;
receiving a selection operation of selecting a background area from the original picture at a background setting interface;
setting the selected background area as the background.
15. The method of claim 14, wherein the background comprises a desktop wallpaper background and/or a lock screen wallpaper background.
16. An apparatus for thumbnail generation, comprising:
the standard thumbnail generation module is used for generating and storing a standard thumbnail according to the screen resolution for each original picture;
the first thumbnail obtaining module is used for obtaining a first thumbnail corresponding to the thumbnail resolution from the stored standard thumbnails according to the thumbnail resolution required by a page after receiving a thumbnail display instruction for a thumbnail display interface;
the thumbnail display module is used for displaying the first thumbnail in the thumbnail display interface;
the first thumbnail acquisition module includes:
the resolution acquisition sub-module is used for acquiring the thumbnail resolution of the current thumbnail display interface after receiving a thumbnail display instruction for a thumbnail display interface;
and the first thumbnail generation sub-module is used for generating a first thumbnail corresponding to the resolution of the thumbnail by using the stored standard thumbnail.
17. The apparatus of claim 16, wherein the standard thumbnail generation module comprises:
the initial thumbnail generation sub-module is used for generating an initial thumbnail according to the screen resolution ratio aiming at each original picture;
and the initial thumbnail storage submodule is used for performing optimized compression process storage on the initial thumbnail.
18. The apparatus of claim 17, wherein the initial thumbnail storage sub-module comprises:
and the initial thumbnail storage unit is used for storing the initial thumbnail by reserving color parameters in the parameters of each pixel.
19. The apparatus of claim 16, wherein the first thumbnail obtaining module comprises:
the standard thumbnail determining sub-module is used for determining a plurality of standard thumbnails needing to be preloaded after receiving a thumbnail displaying instruction aiming at a thumbnail displaying interface;
and the first thumbnail obtaining sub-module is used for obtaining the first thumbnail corresponding to the thumbnail resolution from the stored standard thumbnails according to the thumbnail resolution required by the page.
20. The apparatus of claim 16, wherein the standard thumbnail generation module comprises:
the standard thumbnail generation completion judgment sub-module is used for judging whether an original picture without generating the standard thumbnail exists in the gallery when the album application is started;
and the residual standard thumbnail generation sub-module is used for generating and storing the standard thumbnail according to the screen resolution ratio aiming at the original picture of which the standard thumbnail is not generated if the residual standard thumbnail is generated.
21. The apparatus according to claim 16 or 20, wherein the standard thumbnail generation module comprises:
and the standard thumbnail generation sub-module is used for generating and storing the standard thumbnail of the original picture obtained by shooting according to the screen resolution after the camera finishes shooting.
22. The apparatus of claim 16, wherein the standard thumbnail generation module comprises:
and the standard thumbnail storage sub-module is used for acquiring the standard thumbnail of the original picture and storing the standard thumbnail into the designated cache folder.
23. The apparatus of claim 22, wherein the first thumbnail obtaining module comprises:
the drawable object acquisition submodule is used for calling a drawable object interface function to take the standard thumbnail as a source file and acquiring the drawable object of the standard thumbnail;
the bitmap object extraction submodule is used for calling a bitmap object interface function to extract a bitmap object from the drawable object;
and the first thumbnail creating sub-module is used for creating a first thumbnail by using the bitmap object.
24. The apparatus of claim 16, further comprising, after the thumbnail display module:
the viewing operation receiving module is used for receiving the viewing operation of the first thumbnail;
and the standard thumbnail display module is used for acquiring the standard thumbnail corresponding to the first thumbnail to display.
25. The apparatus of claim 24, further comprising, after the standard thumbnail presentation module:
and the processing action execution module is used for acquiring the original picture corresponding to the standard thumbnail and executing a corresponding processing action when the management operation is received in the display interface of the standard thumbnail.
26. The apparatus of claim 25, wherein the management operation comprises: at least one of sharing operation, editing operation and background setting operation.
27. The apparatus of claim 26, wherein when the management operation is a share operation, the processing action performing module comprises:
and the sharing sub-module is used for acquiring the original picture corresponding to the standard thumbnail and sharing the original picture to the target application pointed by the sharing operation.
28. The apparatus of claim 26, wherein when the management operation is an editing operation, the processing action performing module comprises:
the first original picture loading sub-module is used for acquiring an original picture corresponding to the standard thumbnail and loading the original picture to a picture editor;
and the editing submodule is used for receiving the editing operation of the original picture in a picture editor.
29. The apparatus of claim 26, wherein when the management operation is a context setting operation, the processing action performing module comprises:
the second original picture loading sub-module is used for acquiring an original picture corresponding to the standard thumbnail and loading the original picture to a background setting interface;
the background selection submodule is used for receiving a selection operation of selecting a background area from the original picture in a background setting interface;
and the background setting submodule is used for setting the selected background area as the background.
30. The apparatus of claim 29, wherein the background comprises a desktop wallpaper background and/or a lock screen wallpaper background.
31. A mobile terminal comprising a processor and a memory,
the memory is used for storing a program for executing the thumbnail generation method of any one of claim 1 to claim 15;
the processor is configured to execute programs stored in the memory.
CN201710013613.2A 2017-01-09 2017-01-09 Thumbnail generation method and device and mobile terminal Active CN106844580B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710013613.2A CN106844580B (en) 2017-01-09 2017-01-09 Thumbnail generation method and device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710013613.2A CN106844580B (en) 2017-01-09 2017-01-09 Thumbnail generation method and device and mobile terminal

Publications (2)

Publication Number Publication Date
CN106844580A CN106844580A (en) 2017-06-13
CN106844580B true CN106844580B (en) 2020-12-04

Family

ID=59118078

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710013613.2A Active CN106844580B (en) 2017-01-09 2017-01-09 Thumbnail generation method and device and mobile terminal

Country Status (1)

Country Link
CN (1) CN106844580B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107528897A (en) * 2017-08-22 2017-12-29 上海斐讯数据通信技术有限公司 A kind of cloud disk reduced graph generating method and device
CN108958580B (en) * 2018-06-28 2021-07-23 维沃移动通信有限公司 Display control method and terminal equipment
CN109272449A (en) * 2018-08-20 2019-01-25 中国平安人寿保险股份有限公司 Image display method and device, computer installation and readable storage medium storing program for executing
CN110852946A (en) * 2019-10-30 2020-02-28 北京字节跳动网络技术有限公司 Picture display method and device and electronic equipment
CN110910470B (en) * 2019-11-11 2023-07-07 广联达科技股份有限公司 Method and device for generating high-quality thumbnail
CN111147954A (en) * 2019-12-30 2020-05-12 北京奇艺世纪科技有限公司 Thumbnail extraction method and device
CN117648142A (en) * 2022-08-18 2024-03-05 华为技术有限公司 Image acquisition method and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102113306A (en) * 2008-03-20 2011-06-29 惠普开发有限公司 Thumbnail based image quality inspection
CN103390034A (en) * 2013-07-12 2013-11-13 北京小米科技有限责任公司 Image display method, device, terminal and server
CN103425699A (en) * 2012-05-24 2013-12-04 腾讯科技(深圳)有限公司 Method, equipment and system for acquiring web pages
CN105447034A (en) * 2014-08-29 2016-03-30 富泰华工业(深圳)有限公司 Method and system for generating picture thumbnail
CN106101868A (en) * 2016-07-18 2016-11-09 乐视控股(北京)有限公司 Reduced graph generating method and generating means

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102113306A (en) * 2008-03-20 2011-06-29 惠普开发有限公司 Thumbnail based image quality inspection
CN103425699A (en) * 2012-05-24 2013-12-04 腾讯科技(深圳)有限公司 Method, equipment and system for acquiring web pages
CN103390034A (en) * 2013-07-12 2013-11-13 北京小米科技有限责任公司 Image display method, device, terminal and server
CN105447034A (en) * 2014-08-29 2016-03-30 富泰华工业(深圳)有限公司 Method and system for generating picture thumbnail
CN106101868A (en) * 2016-07-18 2016-11-09 乐视控股(北京)有限公司 Reduced graph generating method and generating means

Also Published As

Publication number Publication date
CN106844580A (en) 2017-06-13

Similar Documents

Publication Publication Date Title
CN106844580B (en) Thumbnail generation method and device and mobile terminal
CN106412691B (en) Video image intercepting method and device
CN107038715B (en) Image processing method and device
CN106681667B (en) Picture display method and device and mobile terminal
CN109361867B (en) Filter processing method and mobile terminal
EP3001247A1 (en) Method and terminal for acquiring panoramic image
US10957012B2 (en) System and method for processing image information
CN112449099B (en) Image processing method, electronic equipment and cloud server
CN108459799B (en) Picture processing method, mobile terminal and computer readable storage medium
CN108460769B (en) image processing method and terminal equipment
CN106445970B (en) Loading processing method and device for placeholder map
CN110688347A (en) File storage method, file storage device and terminal equipment
CN109068063B (en) Three-dimensional image data processing and displaying method and device and mobile terminal
CN114363678A (en) Screen projection method and equipment
CN112598758A (en) Image processing method, mobile terminal and computer storage medium
CN107835336B (en) Dual-camera frame synchronization method and device, user terminal and storage medium
CN111104193A (en) Application program active interface display method and device, storage medium and terminal equipment
CN112532786B (en) Image display method, terminal device, and storage medium
CN113852751B (en) Image processing method, device, terminal and storage medium
CN111866384B (en) Shooting control method, mobile terminal and computer storage medium
CN110336917B (en) Picture display method and device, storage medium and terminal
US11108950B2 (en) Method for generating blurred photograph, and storage device and mobile terminal
CN108093181B (en) Picture shooting method and device, readable storage medium and mobile terminal
CN107194363B (en) Image saturation processing method and device, storage medium and computer equipment
CN114449134A (en) Shooting method and terminal equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20170804

Address after: 100102, 18 floor, building 2, Wangjing street, Beijing, Chaoyang District, 1801

Applicant after: BEIJING ANYUN SHIJI SCIENCE AND TECHNOLOGY CO., LTD.

Address before: 100088 Beijing city Xicheng District xinjiekouwai Street 28, block D room 112 (Desheng Park)

Applicant before: Beijing Qihu Technology Co., Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant