CN111382289A - Picture display method and device, computer equipment and storage medium - Google Patents

Picture display method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN111382289A
CN111382289A CN202010175636.5A CN202010175636A CN111382289A CN 111382289 A CN111382289 A CN 111382289A CN 202010175636 A CN202010175636 A CN 202010175636A CN 111382289 A CN111382289 A CN 111382289A
Authority
CN
China
Prior art keywords
picture
original
display mode
image
program
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.)
Pending
Application number
CN202010175636.5A
Other languages
Chinese (zh)
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.)
Wingtech Communication Co Ltd
Original Assignee
Wingtech Communication 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 Wingtech Communication Co Ltd filed Critical Wingtech Communication Co Ltd
Priority to CN202010175636.5A priority Critical patent/CN111382289A/en
Publication of CN111382289A publication Critical patent/CN111382289A/en
Pending legal-status Critical Current

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/54Browsing; Visualisation therefor
    • 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/55Clustering; Classification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Controls And Circuits For Display Device (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention provides a picture display method, a picture display device, terminal equipment and a storage medium. The picture display method comprises the following steps: confirming the current display mode of the gallery program when the editing function of the gallery program is started; if the current display mode is an original image hiding mode, displaying an additional target image of the edited original image and hiding the original image; and if the current display mode is the full image display mode, simultaneously displaying the target image and the original image. The method and the device realize display of the target picture and hiding of the original picture or simultaneous display of the target picture and the original picture according to selection of a user, are beneficial to the user to quickly select the edited picture in a picture library program, avoid confusion caused by simultaneous existence of similar original pictures and target pictures, and enable picture sharing, uploading or further editing to be too low in efficiency.

Description

Picture display method and device, computer equipment and storage medium
Technical Field
The embodiment of the invention relates to the field of picture display, in particular to a picture display method, a picture display device, terminal equipment and a storage medium.
Background
The existing gallery function of the mobile terminal device is provided with a photo editing function, and the editing function is more and more powerful.
After the user takes a picture, the picture is often edited and decorated to achieve a better effect, and the original picture is usually kept. Therefore, the mobile phone has two similar photos of the target picture and the original picture. When a user wants to select photo sharing, for example, select and share photos in WeChat, an interface for selecting photos is displayed in a thumbnail mode, a difference between a target picture and an original image is small, when the time of the target picture and the time of sharing the photos are too long, people often difficultly distinguish the edited picture and the original image from the thumbnail only, the edited picture is difficult to find quickly, and the efficiency is poor.
Disclosure of Invention
In view of the above, the present invention provides a picture display method, device, terminal device and storage medium, so as to implement display for automatically hiding an original image or restoring the original image after hiding according to the selection of a user.
In a first aspect, an embodiment of the present invention provides an image display method, including:
confirming the current display mode of the gallery program when the editing function of the gallery program is started;
if the current display mode is an original image hiding mode, displaying an additional target image of the edited original image and hiding the original image;
and if the current display mode is the full image display mode, simultaneously displaying the target image and the original image.
Preferably, the editing includes one or more of cutting, beautifying, filtering, special effects, marking, compositing, increasing or decreasing brightness, increasing or decreasing contrast, and increasing or decreasing saturation.
Preferably, the confirming the current display mode of the gallery program when the editing function of the gallery program is started includes:
opening a picture editing interface when the editing function of the gallery program is started;
determining the current display mode in the picture editing interface.
Preferably, the displaying the additional target picture after the original picture is edited and hiding the original picture includes:
adding a classification label to the original picture, wherein the classification label is used for identifying whether the original picture is edited or not;
newly adding a preset folder, wherein the preset folder comprises a hidden trigger file, and the hidden trigger file is used for shielding the display of the pictures in the preset folder in the gallery program;
and moving the original picture with the classification label from the original folder to the preset folder.
Further, after the moving the original picture with the classification label from the original folder to the preset folder, the method further includes:
and controlling the gallery program to execute an instruction of automatically refreshing data so as to display the target picture and hide the original picture.
Preferably, the adding of the classification label to the original picture includes:
adding one or more of preset character strings, numbers, characters, symbols and combinations of the numbers, the characters or the symbols to the attributes of the original pictures in a database.
Further, the simultaneously displaying the target picture and the original picture comprises:
moving the original picture in the preset folder to the original folder;
and controlling the gallery program to execute an instruction of automatically refreshing data so as to simultaneously display the target picture and the original picture.
In a second aspect, an embodiment of the present invention provides an image display device, including:
the display mode confirming module is used for confirming the current display mode of the gallery program when the editing function of the gallery program is started;
the original image hiding module is used for displaying an additional target image of the edited original image and hiding the original image if the current display mode is the original image hiding mode;
and the full image display module is used for simultaneously displaying the target image and the original image if the current display mode is the full image display mode.
In a third aspect, an embodiment of the present invention provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the picture display method according to the first aspect of the embodiment of the present invention when executing the computer program.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the steps of the picture display method according to the first aspect of the embodiment of the present invention.
The technical scheme of the embodiment of the invention confirms the current display mode of the gallery program when the editing function of the gallery program is started; if the current display mode is an original image hiding mode, displaying an additional target image of the edited original image and hiding the original image; if the current display mode is a full-image display mode, the target image and the original image are simultaneously displayed, so that the target image is displayed and the original image is hidden according to the selection of a user, or the target image and the original image are simultaneously displayed, the user can quickly select the edited image in an image library program, the confusion caused by the simultaneous existence of the similar original image and the similar target image is avoided, and the efficiency of sharing, uploading or further editing the image is too low.
Drawings
Fig. 1 is a schematic flowchart of a picture displaying method according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a picture displaying method according to another embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a picture display device according to another embodiment of the present invention;
fig. 4 is a schematic structural diagram of a terminal device according to another embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the steps as a sequential process, many of the steps can be performed in parallel, concurrently or simultaneously. In addition, the order of the steps may be rearranged. A process may be terminated when its operations are completed, but may have additional steps not included in the figure. A process may correspond to a method, a function, a procedure, a subroutine, a subprogram, etc.
In an embodiment, fig. 1 is a flowchart of a picture display method according to an embodiment of the present invention, which is applicable to a scene on which a picture is displayed according to a preset display mode on a mobile terminal device.
As shown in fig. 1, a picture display method according to an embodiment of the present invention includes:
and S110, confirming the current display mode of the gallery program when the editing function of the gallery program is started.
Preferably, an edit button may be provided in the gallery program, and the edit function may be activated by selecting the edit button according to a click of the user.
In an embodiment, the original picture may be edited after the photo application is enabled on the mobile phone terminal, or the original picture may be edited after the photoshop software is enabled on the computer terminal.
Preferably, the current display mode includes an original image hiding mode and a full image display mode.
And S120, if the current display mode is the original image hiding mode, displaying a target image which is saved after the original image is edited and hiding the original image.
Preferably, the original picture can be saved as a target file in the original folder after being edited. If the current display mode is the original image hiding mode, the original image can be controlled to move from the original folder to the preset folder, and the images in the preset folder cannot be scanned by the image library program, so that the purpose of displaying the target image and hiding the original image is achieved.
Preferably, the original picture is edited and saved with the target picture, wherein the editing includes one or more of cutting, beautifying, filtering, special effects, marking, synthesizing, increasing or decreasing brightness, increasing or decreasing contrast, and increasing or decreasing saturation.
And S130, if the current display mode is the full image display mode, simultaneously displaying the target image and the original image.
If the current display mode is the full image display mode, the original image which is saved after the original image is edited is saved in the original folder, the original image does not need to be operated, and the target image and the original image can be displayed in the gallery program at the same time.
Preferably, the original image hiding mode is changed to the full image display mode based on the previous step, and the original image in the preset folder in the previous step may be transferred back to the original folder, or the hiding trigger file may be transferred from the preset folder to the standby folder, so as to display the original image in the preset folder. Wherein, the spare folder has no media files.
Fig. 2 is a flowchart of a picture display method according to another embodiment of the present invention, where the picture display method according to another embodiment of the present invention includes:
and S210, opening a picture editing interface when the editing function of the gallery program is started.
When the editing function of the drawing opening program is started, an editing interface is firstly opened, and various editing operations such as one or more of cutting, beautifying, filtering, special effects, marking, synthesizing, increasing and decreasing brightness, increasing and decreasing contrast and increasing and decreasing saturation can be selected on the editing interface.
And S220, determining the current display mode in the picture editing interface.
A switch button is arranged in the picture editing interface and used for determining the current display mode. When the switch button starts to be on, the current display mode is an original image hiding mode; when the switch button is turned off, the current display mode is the full-view display mode.
If the current display mode is the original image hiding mode, the operation steps S230 to S260 are executed.
And S230, adding a classification label to the original picture, wherein the classification label is used for identifying whether the original picture is edited or not.
Firstly, the original picture can be saved as a target file to an original folder after being edited, and then a classification label is added to the original picture, including: adding one or more of preset character strings, numbers, characters, symbols and combinations of the numbers, the characters or the symbols to the attributes of the original pictures in a database.
Preferably, a preset character string is inserted into the original picture in the database to add a classification tag to the original picture. The predetermined string is pre-programmed and may be # # Original, but is not limited to the predetermined string. In order to facilitate the user to change the picture display mode at any time, the classification label does not disappear along with the change of the current display mode.
Preferably, the file name of the original picture may be added with one or more of numbers, letters, symbols, and combinations of numbers, letters, or symbols in the database, such as, but not limited to, adding a # copy to the file name of the original picture.
And S240, adding a preset folder.
The preset folder comprises a hidden trigger file, and the hidden trigger file is used for shielding the display of the pictures in the preset folder in the gallery program.
Preferably, the preset folder is newly added in the storage. And a hidden trigger file is prestored in the preset folder, and is used for shielding the display of the pictures in the preset folder in the gallery program. When the hidden trigger file is placed under any folder, all media files under the folder can be hidden and cannot be displayed in the gallery program, and the effect of hiding the files can be achieved. Therefore, the target picture can be normally displayed and the original picture can be hidden. In one embodiment, the hidden trigger file is a file with a suffix name of.
And S250, moving the original picture with the classification label from the original folder to a preset folder.
And S260, controlling the gallery program to execute an instruction of automatically refreshing data so as to display the target picture and hide the original picture.
Preferably, if the current display mode is the full-image display mode, the original image saved after the original image is edited is saved in the original folder, and the target image and the original image can be simultaneously displayed in the gallery program by controlling the gallery program to execute the instruction of automatically refreshing data. In order to change the full-image display mode to the original-image hiding mode, the steps S230 to S240 are also performed, so that in the subsequent process of changing the current display mode, the original image is moved between the original folder and the preset folder according to the classification tag, and the original-image hiding mode and the full-image display mode can be switched.
Preferably, the original image hiding mode is changed to the full image display mode on the basis of the original image hiding mode, and the operation steps as S270 to S280 are performed.
And S270, moving the original picture in the preset folder to the original folder.
And S280, controlling the gallery program to execute an instruction of automatically refreshing data so as to simultaneously display the target picture and the original picture.
Fig. 3 is a schematic structural diagram of a picture display apparatus according to another embodiment of the present invention, which is applicable to a scene in which a picture is displayed on a mobile terminal device according to a preset display mode, and the apparatus can be implemented in a software and/or hardware manner and can be integrated on the terminal device.
As shown in fig. 3, the picture display device provided in this embodiment may include:
a display mode confirmation module 10 for confirming a current display mode of the gallery program when an editing function of the gallery program is started;
an original image hiding module 20, configured to display a target image saved after the original image is edited and hide the original image when the current display mode is the original image hiding mode;
and a full picture display module 30, configured to display the target picture and the original picture simultaneously when the current display mode is the full picture display mode.
Preferably, the system further comprises an editing module for performing one or more editing operations of cutting, beautifying, filtering, special effects, marking, synthesizing, increasing and decreasing brightness, increasing and decreasing contrast and increasing and decreasing saturation on the original picture.
Preferably, the system further comprises a picture saving module, configured to save the edited original picture as the target picture.
Preferably, the current display mode includes an original image hiding mode or a full image display mode. The display mode confirmation module 10 includes a switch button in the gallery program, and switches the current display mode to the original image hiding mode or the full image display mode according to the on or off of the switch button.
Preferably, the original image hiding module 20 further includes a classification label adding module for adding a classification label to the original image, where the classification label is used to identify whether the original image is edited. The classification label adding module is specifically used for adding one or more of preset character strings, numbers, characters, symbols and combinations of the numbers, the characters or the symbols to the attributes of the original pictures in the database.
Further, the original image hiding module 20 further includes a preset folder generating module, configured to add a new preset folder, where the preset folder includes a hidden trigger file, and the hidden trigger file is used to shield a display of a picture in the preset folder in the gallery program.
Further, the original image hiding module 20 further includes a first image moving module for moving the original image with the classification tag from the original folder to a preset folder.
Further, the original image hiding module 20 further includes a second refreshing module, configured to control the gallery program to execute an instruction for automatically refreshing data, so as to display the target image and hide the original image.
Preferably, the full picture display module 30 includes a second picture moving module for moving the original picture in the preset folder to the original folder.
Further, the full-picture display module 30 further includes a second refresh module, configured to control the gallery program to execute an instruction for automatically refreshing data, so as to simultaneously display the target picture and the original picture.
Fig. 4 is a schematic structural diagram of a terminal device according to an embodiment of the present invention. Fig. 4 illustrates a block diagram of an exemplary terminal device 512 suitable for use in implementing embodiments of the present invention. The terminal device 512 shown in fig. 4 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 4, the terminal device 512 is represented in the form of a general terminal device. Components of terminal device 512 may include, but are not limited to: one or more processors 516, a storage device 528, and a bus 518 that couples the various system components including the storage device 528 and the processors 516.
Bus 518 represents one or more of any of several types of bus structures, including a memory device bus or memory device controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Terminal device 512 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by terminal device 512 and includes both volatile and nonvolatile media, removable and non-removable media.
Storage 528 may include computer system readable media in the form of volatile Memory, such as Random Access Memory (RAM) 530 and/or cache Memory 532. The terminal 512 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 534 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 4, and commonly referred to as a "hard drive"). Although not shown in FIG. 4, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk such as a Compact disk Read-Only Memory (CD-ROM), Digital Video disk Read-Only Memory (DVD-ROM) or other optical media may be provided. In these cases, each drive may be connected to bus 518 through one or more data media interfaces. Storage 528 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 540 having a set (at least one) of program modules 542 may be stored, for example, in storage 528, such program modules 542 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may include an implementation of a network environment. The program modules 542 generally perform the functions and/or methods of the described embodiments of the invention.
The terminal device 512 may also communicate with one or more external devices 514 (e.g., keyboard, pointing terminal, display 524, etc.), with one or more terminals that enable a user to interact with the terminal device 512, and/or with any terminals (e.g., network card, modem, etc.) that enable the terminal device 512 to communicate with one or more other computing terminals. Such communication may occur via input/output (I/O) interfaces 522. Also, the terminal device 512 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public Network such as the internet) via the Network adapter 520. As shown in fig. 4, the network adapter 520 communicates with the other modules of the terminal device 512 via the bus 518. It should be appreciated that although not shown, other hardware and/or software modules may be used in conjunction with the terminal device 512, including but not limited to: microcode, end drives, Redundant processors, external disk drive Arrays, RAID (Redundant Arrays of Independent Disks) systems, tape drives, and data backup storage systems, among others.
The processor 516 executes various functional applications and data processing by running a program stored in the storage device 528, for example, implementing a picture display method provided by any embodiment of the present invention, the method may include:
confirming the current display mode of the gallery program when the editing function of the gallery program is started;
if the current display mode is the original image hiding mode, displaying a target image which is saved after the original image is edited and hiding the original image;
and if the current display mode is the full image display mode, simultaneously displaying the target image and the original image.
Preferably, the editing includes one or more of cropping, beautifying, filtering, special effects, marking, compositing, increasing or decreasing brightness, increasing or decreasing contrast, and increasing or decreasing saturation.
Preferably, confirming the current display mode of the gallery program when the editing function of the gallery program is activated includes:
opening a picture editing interface when an editing function of the gallery program is started;
and determining the current display mode in the picture editing interface.
Preferably, displaying the target picture saved after the original picture is edited and hiding the original picture, including:
adding a classification label to the original image, wherein the classification label is used for identifying whether the original image is edited or not;
newly adding a preset folder, wherein the preset folder comprises a hidden trigger file, and the hidden trigger file is used for shielding the display of the pictures in the preset folder in a gallery program;
and moving the original picture with the classification label from the original folder to a preset folder.
Further, after the original picture with the classification label is moved from the original folder to the preset folder, the method further includes:
and controlling the gallery program to execute an instruction of automatically refreshing data so as to display the target picture and hide the original picture.
Preferably, the adding of the classification label to the original picture comprises:
adding one or more of preset character strings, numbers, characters, symbols and combinations of the numbers, the characters or the symbols to the attributes of the original pictures in a database.
Further, simultaneously displaying the target picture and the original picture, including:
moving an original picture in a preset folder to the original folder;
and controlling the gallery program to execute an instruction of automatically refreshing data so as to simultaneously display the target picture and the original picture.
Another embodiment of the present invention also provides a computer-readable storage medium on which a computer program is stored, the program, when executed by a processor, implementing a picture display method according to any embodiment of the present invention, the method including:
confirming the current display mode of the gallery program when the editing function of the gallery program is started;
if the current display mode is the original image hiding mode, displaying a target image which is saved after the original image is edited and hiding the original image;
and if the current display mode is the full image display mode, simultaneously displaying the target image and the original image.
Preferably, the editing includes one or more of cropping, beautifying, filtering, special effects, marking, compositing, increasing or decreasing brightness, increasing or decreasing contrast, and increasing or decreasing saturation.
Preferably, confirming the current display mode of the gallery program when the editing function of the gallery program is activated includes:
opening a picture editing interface when an editing function of the gallery program is started;
and determining the current display mode in the picture editing interface.
Preferably, displaying the target picture saved after the original picture is edited and hiding the original picture, including:
adding a classification label to the original image, wherein the classification label is used for identifying whether the original image is edited or not;
newly adding a preset folder, wherein the preset folder comprises a hidden trigger file, and the hidden trigger file is used for shielding the display of the pictures in the preset folder in a gallery program;
and moving the original picture with the classification label from the original folder to a preset folder.
Further, after the original picture with the classification label is moved from the original folder to the preset folder, the method further includes:
and controlling the gallery program to execute an instruction of automatically refreshing data so as to display the target picture and hide the original picture.
Preferably, the adding of the classification label to the original picture comprises:
adding one or more of preset character strings, numbers, characters, symbols and combinations of the numbers, the characters or the symbols to the attributes of the original pictures in a database.
Further, simultaneously displaying the target picture and the original picture, including:
moving an original picture in a preset folder to the original folder;
and controlling the gallery program to execute an instruction of automatically refreshing data so as to simultaneously display the target picture and the original picture.
The computer-readable storage media of embodiments of the invention may take any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, or the like, as well as conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or terminal. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
According to the technical scheme of the embodiment of the invention, the target picture can be displayed and the original picture can be hidden according to the selection of the user, or the target picture and the original picture can be displayed at the same time, so that the user can quickly select the edited picture in the picture library program, the confusion caused by the simultaneous existence of the similar original picture and the similar target picture can be avoided, and the picture sharing, uploading or further editing efficiency is too low.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments illustrated herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A picture display method, comprising:
confirming the current display mode of the gallery program when the editing function of the gallery program is started;
if the current display mode is an original image hiding mode, displaying an additional target image of the edited original image and hiding the original image;
and if the current display mode is the full image display mode, simultaneously displaying the target image and the original image.
2. The method of claim 1, wherein the editing comprises one or more of cropping, beautifying, filtering, special effects, marking, compositing, increasing or decreasing brightness, increasing or decreasing contrast, and increasing or decreasing saturation.
3. The method of claim 1, wherein confirming the current display mode of the gallery program when the editing function of the gallery program is activated comprises:
opening a picture editing interface when the editing function of the gallery program is started;
determining the current display mode in the picture editing interface.
4. The method according to claim 1, wherein displaying the saved target picture after the original picture is edited and hiding the original picture comprises:
adding a classification label to the original picture, wherein the classification label is used for identifying whether the original picture is edited or not;
newly adding a preset folder, wherein the preset folder comprises a hidden trigger file, and the hidden trigger file is used for shielding the display of the pictures in the preset folder in the gallery program;
and moving the original picture with the classification label from the original folder to the preset folder.
5. The method according to claim 4, wherein after the moving the original picture with the classification label from the original folder to the preset folder, the method further comprises:
and controlling the gallery program to execute an instruction of automatically refreshing data so as to display the target picture and hide the original picture.
6. The method of claim 4, wherein the adding of the classification label to the original picture comprises:
and adding one or more of preset character strings, numbers, characters, symbols and combinations of the numbers, the characters or the symbols to the attributes of the original pictures in a database in which the original pictures are stored.
7. The method according to any one of claims 4-6, wherein said simultaneously displaying said target picture and said original picture comprises:
moving the original picture in the preset folder to the original folder;
and controlling the gallery program to execute an instruction of automatically refreshing data so as to simultaneously display the target picture and the original picture.
8. A picture display device, comprising:
the display mode confirming module is used for confirming the current display mode of the gallery program when the editing function of the gallery program is started;
the original image hiding module is used for displaying an additional target image after the original image is edited and hiding the original image when the current display mode is the original image hiding mode;
and the full picture display module is used for simultaneously displaying the target picture and the original picture when the current display mode is the full picture display mode.
9. Computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor realizes the steps of the picture display method according to any of claims 1-7 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the picture display method according to any one of claims 1 to 7.
CN202010175636.5A 2020-03-13 2020-03-13 Picture display method and device, computer equipment and storage medium Pending CN111382289A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010175636.5A CN111382289A (en) 2020-03-13 2020-03-13 Picture display method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010175636.5A CN111382289A (en) 2020-03-13 2020-03-13 Picture display method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111382289A true CN111382289A (en) 2020-07-07

Family

ID=71217274

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010175636.5A Pending CN111382289A (en) 2020-03-13 2020-03-13 Picture display method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111382289A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113810640A (en) * 2021-08-12 2021-12-17 荣耀终端有限公司 Video processing method and device and electronic equipment
CN114860120A (en) * 2021-02-04 2022-08-05 华为技术有限公司 Execution method and device for control operation, storage medium and control
CN114995698A (en) * 2022-06-17 2022-09-02 维沃移动通信有限公司 Image processing method and device
CN116048349A (en) * 2022-06-23 2023-05-02 荣耀终端有限公司 Picture display method and device and terminal equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005209166A (en) * 2003-12-22 2005-08-04 Yamaha Corp Digital content data processing device and program
CN103677529A (en) * 2012-03-06 2014-03-26 苹果公司 Application for viewing images
CN105930437A (en) * 2016-04-19 2016-09-07 乐视控股(北京)有限公司 Method and device for managing pictures in application program as well as terminal equipment
CN107153708A (en) * 2017-05-16 2017-09-12 珠海市魅族科技有限公司 A kind of picture inspection method and device, computer installation, computer-readable recording medium
CN109145130A (en) * 2018-08-15 2019-01-04 珠海格力电器股份有限公司 A kind of photograph album access method, device, computing device and storage medium
CN109636871A (en) * 2018-12-07 2019-04-16 北京金山云网络技术有限公司 Transform method, device and the terminal device of picture color

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005209166A (en) * 2003-12-22 2005-08-04 Yamaha Corp Digital content data processing device and program
CN103677529A (en) * 2012-03-06 2014-03-26 苹果公司 Application for viewing images
CN105930437A (en) * 2016-04-19 2016-09-07 乐视控股(北京)有限公司 Method and device for managing pictures in application program as well as terminal equipment
CN107153708A (en) * 2017-05-16 2017-09-12 珠海市魅族科技有限公司 A kind of picture inspection method and device, computer installation, computer-readable recording medium
CN109145130A (en) * 2018-08-15 2019-01-04 珠海格力电器股份有限公司 A kind of photograph album access method, device, computing device and storage medium
CN109636871A (en) * 2018-12-07 2019-04-16 北京金山云网络技术有限公司 Transform method, device and the terminal device of picture color

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114860120A (en) * 2021-02-04 2022-08-05 华为技术有限公司 Execution method and device for control operation, storage medium and control
CN113810640A (en) * 2021-08-12 2021-12-17 荣耀终端有限公司 Video processing method and device and electronic equipment
WO2023016067A1 (en) * 2021-08-12 2023-02-16 荣耀终端有限公司 Video processing method and apparatus, and electronic device
CN114995698A (en) * 2022-06-17 2022-09-02 维沃移动通信有限公司 Image processing method and device
CN116048349A (en) * 2022-06-23 2023-05-02 荣耀终端有限公司 Picture display method and device and terminal equipment
CN116048349B (en) * 2022-06-23 2024-04-12 荣耀终端有限公司 Picture display method and device and terminal equipment

Similar Documents

Publication Publication Date Title
CN111382289A (en) Picture display method and device, computer equipment and storage medium
US11941708B2 (en) Method, apparatus, device and medium for posting a video or image
US9396572B2 (en) Image correlation method and electronic device thereof
US8020101B2 (en) User specified transfer of data between applications
US10915496B2 (en) File generator
US20100045567A1 (en) Systems and methods for facilitating presentation
WO2015130270A1 (en) Photo and document integration
WO2017032233A1 (en) Image generation method and device
CN109145272B (en) Text rendering and layout method, device, equipment and storage medium
CN110062287B (en) Target object control method and device, storage medium and electronic equipment
WO2023061414A1 (en) File generation method and apparatus, and electronic device
US11190653B2 (en) Techniques for capturing an image within the context of a document
US20240119082A1 (en) Method, apparatus, device, readable storage medium and product for media content processing
US20230326110A1 (en) Method, apparatus, device and media for publishing video
CN112307375A (en) Page display method and device, electronic equipment and computer readable medium
CN111866577A (en) Screen recording method, electronic device and computer readable storage medium
CN107862035B (en) Network reading method and device for conference record, intelligent tablet and storage medium
WO2023155874A1 (en) Application icon management method and apparatus, and electronic device
CN110109591B (en) Picture editing method and device
US20140078083A1 (en) Method for editing display information and electronic device thereof
US11665119B2 (en) Information replying method, apparatus, electronic device, computer storage medium, and product
CN107885807B (en) File saving method and device, intelligent tablet and storage medium
WO2022228433A1 (en) Information processing method and apparatus, and electronic device
WO2022143337A1 (en) Display control method and apparatus, and electronic device and storage medium
WO2022135259A1 (en) Speech input method and apparatus, and electronic device

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