CN111063007A - Image generation method, device, equipment and storage medium - Google Patents
Image generation method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN111063007A CN111063007A CN201911302806.5A CN201911302806A CN111063007A CN 111063007 A CN111063007 A CN 111063007A CN 201911302806 A CN201911302806 A CN 201911302806A CN 111063007 A CN111063007 A CN 111063007A
- Authority
- CN
- China
- Prior art keywords
- image
- original image
- server
- client
- edited
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—2D [Two Dimensional] image generation
- G06T11/60—Editing figures and text; Combining figures or text
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/40—Scaling of whole images or parts thereof, e.g. expanding or contracting
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Editing Of Facsimile Originals (AREA)
- Facsimiles In General (AREA)
Abstract
The embodiment of the invention discloses an image generation method, an image generation device, image generation equipment and a storage medium. The method is applied to the client and comprises the following steps: sending an original image and edit data corresponding to the original image to a server; receiving an edited image returned by the server and outputting the edited image; and the edited image is obtained after the server edits the original image according to the edited data. The technical scheme solves the problem of complex processing logic when the client responds to the user editing operation, and also improves the quality of the output image after the editing processing.
Description
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to an image generation method, an image generation device, image generation equipment and a storage medium.
Background
In web services, user image materials sometimes need to be edited and decorated, such as editing and cutting images to generate posters or head images.
In the prior art, a user directly performs image editing processing on a web side after uploading an image, and the web side directly generates a target image after acquiring an image area desired by the user. However, the formats of the images are various, and meanwhile, images shot by the cameras of the mobile terminals of some models are provided with 'direction information', so that the images can rotate in the editing and cutting process, thereby increasing the processing logic of the web end when responding to the editing operation of the user, and further causing the problems of unreliable performance and difficult maintenance due to the complicated logic. Moreover, the performance of the web end/front end image is limited, the performance of various types of machines is unstable, and especially under the condition of poor performance of old machines, the quality of an output image after editing and cutting is low, and even the output image is fuzzy.
Disclosure of Invention
The embodiment of the invention provides an image generation method, device, equipment and storage medium, which are used for solving the problem of complex processing logic when a web end responds to user editing operation and improving the quality of an output image after editing and cutting.
In a first aspect, an embodiment of the present invention provides an image generation method, applied to a client, including:
sending an original image and edit data corresponding to the original image to a server;
receiving an edited image returned by the server and outputting the edited image; and the edited image is obtained after the server edits the original image according to the edited data.
In a second aspect, an embodiment of the present invention further provides an image generating method, applied to a server, including:
receiving an original image sent by a client and editing data corresponding to the original image;
and editing the original image according to the editing data to obtain an edited image, and returning the edited image to the client so that the client outputs the edited image.
In a third aspect, an embodiment of the present invention further provides an image generating apparatus, applied to a client, including:
the system comprises an original image sending module, a server and a processing module, wherein the original image sending module is used for sending an original image and editing data corresponding to the original image to the server;
the edited image receiving module is used for receiving the edited image returned by the server and outputting the edited image; and the edited image is obtained after the server edits the original image according to the edited data.
In a fourth aspect, an embodiment of the present invention further provides an image generating apparatus, applied to a server, including:
the system comprises an original image receiving module, a processing module and a display module, wherein the original image receiving module is used for receiving an original image sent by a client and editing data corresponding to the original image;
and the edited image sending module is used for editing the original image according to the edited data to obtain an edited image and returning the edited image to the client so as to enable the client to output the edited image.
In a fifth aspect, an embodiment of the present invention further provides a computer device, where the computer device includes:
one or more processors;
a memory for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors implement the image generation method applied to the client described in any of the embodiments.
In a sixth aspect, the present invention further 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 image generation method applied to the client terminal according to any embodiment.
In a seventh aspect, an embodiment of the present invention further provides a computer device, where the computer device includes:
one or more processors;
a memory for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors implement the image generation method applied to the server according to any of the embodiments.
In an eighth aspect, the present invention further 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 image generation method applied to the server according to any embodiment.
In the embodiment of the invention, the client sends the original image and the editing data corresponding to the original image to the server, so that the server edits the original image according to the editing data to obtain the edited image, then returns the edited image to the client, and then outputs the edited image through the client, thereby solving the problem of complex processing logic when the client responds to the editing operation of a user, and improving the quality of the output image after editing processing.
Drawings
Fig. 1 is a flowchart of an image generation method according to an embodiment of the present invention;
fig. 2 is a flowchart of an image generation method according to a second embodiment of the present invention;
fig. 3 is a flowchart of an image generating method according to a third embodiment of the present invention;
FIG. 4 is a schematic timing diagram of a third embodiment of a program architecture;
fig. 5 is a schematic block diagram of an image generating apparatus according to a fourth embodiment of the present invention;
fig. 6 is a schematic block diagram of an image generating apparatus according to a fifth embodiment of the present invention;
fig. 7 is a schematic structural diagram of a computer device according to a sixth 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 operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Example one
Fig. 1 is a flowchart of an image generating method according to an embodiment of the present invention, where this embodiment is applicable to a case where web-related (front-end, mobile-end) image processing performance is limited to respond to an image editing operation of a user, and the method may be executed by an image generating apparatus applied to a client according to any embodiment of the present invention, where the apparatus may be composed of hardware and/or software, and may be generally integrated in a computer device, such as a mobile terminal, for example, a mobile phone, a tablet computer, and the like.
As shown in fig. 1, the image generation method provided in this embodiment is applied to a client, and specifically includes the following steps:
and S110, sending the original image and the editing data corresponding to the original image to a server.
The original image refers to an image which needs to be edited by a user; the edit data is data generated when a user edits an original image, and is also data on which the original image is edited.
When a user needs to edit an original image displayed by the client, the client provides an editing page for the user, so that the user edits the original image on the editing page.
Specifically, the editing may be clipping, adding an image element, modifying a pattern element, or the like. After the user finishes editing and submitting the original image, the client sends the original image and the editing data corresponding to the original image to the server.
When the editing operation is a cropping operation, the editing data may be image scaling information, cropping coordinate information, and the like; when the editing operation is an add-image-element operation, the editing data may be added element information, image scaling information, coordinate information of an added element, and the like; when the editing operation is to modify a pattern element, the editing data may be image scaling information, coordinate information of the modification element, modification manner information, and the like. The image scaling information refers to a reduction or enlargement ratio of the image, and is, for example, a reduction of 20%.
As an alternative implementation, S110 may be specifically referred to as S111-S113, where:
and S111, sending the original image to a server.
Typically, when an original image editing page is provided to a user, the original image may be transmitted to the server so that the server edits the original image when receiving edit data corresponding to the original image.
And S112, receiving the processing image returned by the server.
The processing image is obtained by setting and processing the original image by the server, the image quality of the processing image is lower than that of the original image, and/or the image parameter of the processing image is less than that of the original image.
After receiving the original image sent by the client, the server firstly performs setting processing on the original image to reduce the image quality of the original image and/or reduce the image parameters of the original image to obtain a processed image, and returns the processed image to the client.
Reducing the image quality of the original image, which may specifically refer to reducing the resolution of the original image and the like, so as to reduce the memory occupation of the processed image, which is not specifically limited in this embodiment; reducing the image parameters of the original image may specifically refer to removing some unnecessary parameter information of the original image, for example, removing shooting information (such as shooting time, shooting location, and model of a device used for shooting), direction information, and the like of the original image, so as to reduce memory usage of the processed image, or reduce complexity of editing logic of the processed image, which is not limited in this embodiment.
Typically, the setting process is a compression process, and the obtained processed image is a compressed image. The image quality of the compressed image is lower than that of the original image, and the image parameters of the compressed image are less than those of the original image.
Specifically, the direction information of the original image may be erased through a compression processing operation of the server, so as to reduce the resolution of the original image, and further obtain the compressed image. That is, after receiving an original image sent by a client, the server compresses the original image to obtain a compressed image, and returns the compressed image to the client.
And S113, receiving edit data input by the user aiming at the processed image, and sending the edit data to the server.
And after receiving the processing image returned by the server, the client displays the processing image to the user so that the user carries out editing operation on the processing image. After the user edits are complete (e.g., the cropping zone is selected) and submitted, the client sends the edit data (e.g., image scaling information and cropping coordinate information) entered by the user for the processed image to the server.
The server has the advantages that the server returns the low-quality processed image to the client, so that the user can perform editing operation on the low-quality processed image, and the problem of complex processing logic when the client responds to the editing operation of the user is solved.
S120, receiving the edited image returned by the server and outputting the edited image; and the edited image is obtained after the server edits the original image according to the edited data.
And after receiving the editing data corresponding to the original image, the server edits the original image according to the editing data to obtain an editing image corresponding to the original image, returns the editing image to the client and displays the user through the client.
And when the editing operation is a cutting operation, the server performs the cutting operation on the original image according to the cutting data to obtain a corresponding cutting image. Specifically, the server reduces or enlarges the original image to a corresponding size according to image scaling information in the cutting data, then performs cutting operation in the reduced or enlarged original image according to cutting coordinate information to obtain a cutting image, and sends the cutting image to the client, so that the cutting image is displayed to the user through the client.
The server performs editing operation on the original image with high quality, and the cut image returned to the client is also high in quality, so that the quality of the output image after the editing processing is improved.
In the embodiment of the invention, the client sends the original image and the editing data corresponding to the original image to the server, so that the server edits the original image according to the editing data to obtain the edited image, then returns the edited image to the client, and then outputs the edited image through the client, thereby solving the problem of complex processing logic when the client responds to the editing operation of a user, and improving the quality of the output image after editing processing.
Example two
Fig. 2 is a flowchart of an image generating method according to a second embodiment of the present invention, where this embodiment is applicable to a case where web-related (front-end, mobile-end) image processing performance is limited and responds to an image editing operation of a user, and this method can be executed by an image generating apparatus applied to a server according to any embodiment of the present invention, where the apparatus may be composed of hardware and/or software, and may be generally integrated in a computer device, such as a server.
As shown in fig. 2, the image generating method provided in this embodiment is applied to a server, and specifically includes the following steps:
and S210, receiving the original image sent by the client and the editing data corresponding to the original image.
The original image refers to an image which needs to be edited by a user; the edit data is data generated when a user edits an original image, and is also data on which the original image is edited.
Specifically, the editing may be clipping, adding an image element, modifying a pattern element, or the like. After the user finishes editing and submitting the original image, the client sends the original image and the editing data corresponding to the original image to the server.
When the editing operation is a cropping operation, the editing data may be image scaling information, cropping coordinate information, and the like; when the editing operation is an add-image-element operation, the editing data may be added element information, image scaling information, coordinate information of an added element, and the like; when the editing operation is to modify a pattern element, the editing data may be image scaling information, coordinate information of the modification element, modification manner information, and the like. The image scaling information refers to a reduction or enlargement ratio of the image, and is, for example, a reduction of 20%.
As an alternative implementation, S210 may be embodied as S211 to S213, where:
and S211, receiving the original image sent by the client.
Typically, when an original image editing page is provided to a user, the client may transmit the original image to the server so that the server edits the original image when receiving edit data corresponding to the original image.
And S212, setting the original image to obtain a processed image, and returning the processed image to the client.
Wherein the image quality of the processed image is lower than that of the original image, and/or the image parameters of the processed image are less than that of the original image.
After receiving the original image sent by the client, the server firstly performs setting processing on the original image to reduce the image quality of the original image and/or reduce the image parameters of the original image to obtain a processed image, and returns the processed image to the client.
Typically, the setting process is a compression process, and the obtained processed image is a compressed image. That is, after receiving an original image sent by a client, the server compresses the original image to obtain a compressed image, and returns the compressed image to the client.
S213, receiving the edit data sent by the client; wherein the edit data is input by a user for the processing image.
And after receiving the processing image returned by the server, the client displays the processing image to the user so that the user carries out editing operation on the processing image. After the user edits are complete (e.g., the cropping zone is selected) and submitted, the client sends the edit data (e.g., image scaling information and cropping coordinate information) entered by the user for the processed image to the server.
And S220, editing the original image according to the editing data to obtain an edited image, and returning the edited image to the client so that the client outputs the edited image.
And after receiving the editing data corresponding to the original image, the server edits the original image according to the editing data to obtain an editing image corresponding to the original image, returns the editing image to the client and displays the user through the client.
And when the editing operation is a cutting operation, the server performs the cutting operation on the original image according to the cutting data to obtain a corresponding cutting image. Specifically, the server reduces or enlarges the original image to a corresponding size according to image scaling information in the cutting data, then performs cutting operation in the reduced or enlarged original image according to cutting coordinate information to obtain a cutting image, and sends the cutting image to the client, so that the cutting image is displayed to the user through the client.
For those parts of this embodiment that are not explained in detail, reference is made to the aforementioned embodiments, which are not repeated herein.
In the embodiment of the invention, the client sends the original image and the editing data corresponding to the original image to the server, so that the server edits the original image according to the editing data to obtain the edited image, then returns the edited image to the client, and then outputs the edited image through the client, thereby solving the problem of complex processing logic when the client responds to the editing operation of a user, and improving the quality of the output image after editing processing.
EXAMPLE III
On the basis of the above embodiments, the present embodiment provides a specific implementation manner. As shown in fig. 3, the image generation method provided by the present embodiment includes the following steps:
s310, the client sends the original image to be subjected to the cutting operation to the resource server.
And S320, after receiving the original image, the resource server compresses the original image to obtain a compressed image, and returns the compressed image to the client.
The original image is a high-quality image, and the compressed image is a low-quality image.
S330, the client receives the compressed image returned by the resource server and provides a cutting editing page of the compressed image to the user.
S340, the client receives the cutting data input by the user aiming at the compressed image, and sends the cutting data to the resource server.
And selecting a cutting area in the cutting editing page by the user and confirming the submission, so that the client acquires cutting data input by the user aiming at the compressed image, wherein the cutting data specifically comprises image scaling information and cutting coordinate information.
And S350, the resource server receives the cutting data sent by the client, cuts the original image according to the cutting data to obtain a cut image, and returns the cut image to the client.
And S360, after receiving the cut image, the client outputs the edited image to the user.
For those parts of this embodiment that are not explained in detail, reference is made to the aforementioned embodiments, which are not repeated herein.
For ease of understanding, FIG. 4 shows a general timing diagram of a program architecture. Referring to fig. 4, the initialization operation of the image generating apparatus in this embodiment occurs at timing 5 to timing 6 in the figure, and the operation validation process of the image generating method occurs at timing 18 to timing 24 in the figure.
For those parts of this embodiment that are not explained in detail, reference is made to the aforementioned embodiments, which are not repeated herein.
In the technical scheme, the cutting image output by the client is obtained by cutting the server based on the high-quality original image, and the output cutting image is high-definition and has no relation with the performance of the device where the client is located, so that the problem of complex processing logic caused by the original image carrying direction information when the client responds to the cutting operation of a user is avoided, and the quality of the output image after cutting is improved.
Example four
Fig. 5 is a schematic block diagram of an image generating apparatus according to a fourth embodiment of the present invention, where this embodiment is applicable to a situation where web-related (front-end, mobile-end) image processing performance is limited to respond to an image editing operation of a user, and the apparatus may be composed of hardware and/or software, and may be generally integrated in a computer device, for example, a mobile terminal such as a mobile phone, a tablet computer, and the like.
As shown in fig. 5, the image generating apparatus provided in this embodiment, applied to a client, includes: a raw image transmission module 510 and an edited image reception module 520. Wherein,
an original image sending module 510, configured to send an original image and edit data corresponding to the original image to a server;
an edited image receiving module 520, configured to receive an edited image returned by the server and output the edited image; and the edited image is obtained after the server edits the original image according to the edited data.
In the embodiment of the invention, the client sends the original image and the editing data corresponding to the original image to the server, so that the server edits the original image according to the editing data to obtain the edited image, then returns the edited image to the client, and then outputs the edited image through the client, thereby solving the problem of complex processing logic when the client responds to the editing operation of a user, and improving the quality of the output image after editing processing.
In an example, the original image sending module 510 is specifically configured to send the original image to a server; receiving a processing image returned by the server, wherein the processing image is obtained after the server performs setting processing on the original image, the image quality of the processing image is lower than that of the original image, and/or the image parameter of the processing image is less than that of the original image; receiving edit data input by a user aiming at the processed image, and sending the edit data to the server.
In one example, the setting process includes a compression process, and the processing image includes a compressed image.
In an example, the editing includes cropping, and the editing data includes image scaling information and cropping coordinate information.
The image generation device applied to the client provided by the embodiment of the invention can execute the image generation method applied to the client provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects for executing the image generation method applied to the client.
EXAMPLE five
Fig. 6 is a schematic block diagram of an image generating apparatus according to a fifth embodiment of the present invention, which is applicable to a case where web-related (front-end, mobile-end) image processing performance is limited to respond to an image editing operation of a user, and the apparatus may be composed of hardware and/or software, and may be generally integrated in a computer device, for example, a server.
As shown in fig. 6, the image generating apparatus provided in the present embodiment, applied to a server, includes: an original image receiving module 610 and an edited image transmitting module 620. Wherein,
an original image receiving module 610, configured to receive an original image and edit data corresponding to the original image, where the original image is sent by a client;
and an edited image sending module 620, configured to edit the original image according to the edited data to obtain an edited image, and return the edited image to the client, so that the client outputs the edited image.
In the embodiment of the invention, the client sends the original image and the editing data corresponding to the original image to the server, so that the server edits the original image according to the editing data to obtain the edited image, then returns the edited image to the client, and then outputs the edited image through the client, thereby solving the problem of complex processing logic when the client responds to the editing operation of a user, and improving the quality of the output image after editing processing.
In an example, the original image receiving module 610 is specifically configured to receive an original image sent by the client; setting the original image to obtain a processed image, and returning the processed image to the client; wherein the image quality of the processed image is lower than that of the original image, and/or the image parameters of the processed image are less than that of the original image; receiving edit data sent by the client; wherein the edit data is input by a user for the processing image.
In one example, the setting process includes a compression process, and the processing image includes a compressed image.
In an example, the editing includes cropping, and the editing data includes image scaling information and cropping coordinate information.
The image generation device applied to the server provided by the embodiment of the invention can execute the image generation method applied to the server provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects for executing the image generation method applied to the server.
EXAMPLE six
Fig. 7 is a schematic structural diagram of a computer apparatus according to a sixth embodiment of the present invention, as shown in fig. 7, the computer apparatus includes a processor 70, a memory 71, an input device 72, and an output device 73; the number of the processors 70 in the computer device may be one or more, and one processor 70 is taken as an example in fig. 7; the processor 70, the memory 71, the input device 72 and the output device 73 in the computer apparatus may be connected by a bus or other means, and the connection by the bus is exemplified in fig. 7.
The memory 71 serves as a computer-readable storage medium, and may be used to store software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the image generation method in the embodiment of the present invention (for example, the original image transmission module 510 and the edited image reception module 520 in the image generation apparatus shown in fig. 5, and further for example, the original image reception module 610 and the edited image transmission module 620 in the image generation apparatus shown in fig. 6). The processor 70 executes various functional applications of the computer device and data processing, i.e., implements the above-described image generation method applied to the client or the image generation method applied to the server, by executing software programs, instructions, and modules stored in the memory 71.
The memory 71 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the computer device, and the like. Further, the memory 71 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 non-volatile solid state storage device. In some examples, the memory 71 may further include memory located remotely from the processor 70, which may be connected to a computer device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 72 may be used to receive input numeric or character information and generate key signal inputs relating to user settings and function controls of the computer apparatus. The output device 73 may include a display device such as a display screen.
EXAMPLE seven
An embodiment of the present invention further provides a computer-readable storage medium storing a computer program, where the computer program is used to execute an image generation method when executed by a computer processor, and the method is applied to a client, and specifically includes:
sending an original image and edit data corresponding to the original image to a server;
receiving an edited image returned by the server and outputting the edited image; and the edited image is obtained after the server edits the original image according to the edited data.
Or for executing an image generation method, which is applied to a server, and specifically includes:
receiving an original image sent by a client and editing data corresponding to the original image;
and editing the original image according to the editing data to obtain an edited image, and returning the edited image to the client so that the client outputs the edited image.
Of course, the computer program of the computer-readable storage medium storing the computer program provided by the embodiment of the present invention is not limited to the above method operations, and may also perform related operations in the image generation method applied to the client or the image generation method applied to the server provided by any embodiment of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
It should be noted that, in the embodiment of the image generation apparatus applied to the client or the image generation apparatus applied to the server, the included units and modules are merely divided according to the functional logic, but are not limited to the above division as long as the corresponding functions can be realized; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
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. An image generation method applied to a client includes:
sending an original image and edit data corresponding to the original image to a server;
receiving an edited image returned by the server and outputting the edited image; and the edited image is obtained after the server edits the original image according to the edited data.
2. The method of claim 1, wherein sending the original image and the edit data corresponding to the original image to the server comprises:
sending an original image to a server;
receiving a processing image returned by the server, wherein the processing image is obtained after the server performs setting processing on the original image, the image quality of the processing image is lower than that of the original image, and/or the image parameter of the processing image is less than that of the original image;
receiving edit data input by a user aiming at the processed image, and sending the edit data to the server.
3. The method according to claim 2, wherein the setting process includes a compression process, and the processed image includes a compressed image.
4. A method according to any of claims 1-3, wherein the editing comprises cropping, and the edit data comprises image scaling information and cropping coordinate information.
5. An image generation method applied to a server includes:
receiving an original image sent by a client and editing data corresponding to the original image;
and editing the original image according to the editing data to obtain an edited image, and returning the edited image to the client so that the client outputs the edited image.
6. The method of claim 5, wherein receiving the original image and the edit data corresponding to the original image sent by the client comprises:
receiving an original image sent by the client;
setting the original image to obtain a processed image, and returning the processed image to the client; wherein the image quality of the processed image is lower than that of the original image, and/or the image parameters of the processed image are less than that of the original image;
receiving edit data sent by the client; wherein the edit data is input by a user for the processing image.
7. An image generation apparatus, applied to a client, includes:
the system comprises an original image sending module, a server and a processing module, wherein the original image sending module is used for sending an original image and editing data corresponding to the original image to the server;
the edited image receiving module is used for receiving the edited image returned by the server and outputting the edited image; and the edited image is obtained after the server edits the original image according to the edited data.
8. An image generation apparatus, applied to a server, includes:
the system comprises an original image receiving module, a processing module and a display module, wherein the original image receiving module is used for receiving an original image sent by a client and editing data corresponding to the original image;
and the edited image sending module is used for editing the original image according to the edited data to obtain an edited image and returning the edited image to the client so as to enable the client to output the edited image.
9. A computer device, characterized in that the computer device comprises:
one or more processors;
a memory for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the image generation method of any one of claims 1-4, or the image generation method of any one of claims 5-6.
10. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, is adapted to carry out an image generation method as set forth in any one of claims 1 to 4, or is adapted to carry out an image generation method as set forth in any one of claims 5 to 6.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201911302806.5A CN111063007A (en) | 2019-12-17 | 2019-12-17 | Image generation method, device, equipment and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201911302806.5A CN111063007A (en) | 2019-12-17 | 2019-12-17 | Image generation method, device, equipment and storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN111063007A true CN111063007A (en) | 2020-04-24 |
Family
ID=70301964
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201911302806.5A Pending CN111063007A (en) | 2019-12-17 | 2019-12-17 | Image generation method, device, equipment and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111063007A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112612980A (en) * | 2020-12-22 | 2021-04-06 | 北京百度网讯科技有限公司 | Picture service method, device, equipment, storage medium and computer program product |
| CN112738573A (en) * | 2020-12-25 | 2021-04-30 | 北京达佳互联信息技术有限公司 | Video data transmission method and device and video data distribution method and device |
| CN114827490A (en) * | 2021-01-29 | 2022-07-29 | 北京字节跳动网络技术有限公司 | Video synthesis method and device, electronic equipment and storage medium |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2001197230A (en) * | 2000-01-17 | 2001-07-19 | Fuji Photo Film Co Ltd | Method and system for editing image |
| JP2001273513A (en) * | 2000-01-17 | 2001-10-05 | Fuji Photo Film Co Ltd | Method and system for picture editing |
| WO2005081123A1 (en) * | 2004-02-19 | 2005-09-01 | Dong San S & R Co., Ltd. | Method for editing moving picture using wire or wireless communication network and the system for the same |
| CN101510933A (en) * | 2008-02-13 | 2009-08-19 | 京瓷美达株式会社 | Image processing system |
| CN103150745A (en) * | 2011-12-06 | 2013-06-12 | 腾讯科技(深圳)有限公司 | Method and device capable of editing a picture on line |
-
2019
- 2019-12-17 CN CN201911302806.5A patent/CN111063007A/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2001197230A (en) * | 2000-01-17 | 2001-07-19 | Fuji Photo Film Co Ltd | Method and system for editing image |
| JP2001273513A (en) * | 2000-01-17 | 2001-10-05 | Fuji Photo Film Co Ltd | Method and system for picture editing |
| WO2005081123A1 (en) * | 2004-02-19 | 2005-09-01 | Dong San S & R Co., Ltd. | Method for editing moving picture using wire or wireless communication network and the system for the same |
| CN101510933A (en) * | 2008-02-13 | 2009-08-19 | 京瓷美达株式会社 | Image processing system |
| CN103150745A (en) * | 2011-12-06 | 2013-06-12 | 腾讯科技(深圳)有限公司 | Method and device capable of editing a picture on line |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112612980A (en) * | 2020-12-22 | 2021-04-06 | 北京百度网讯科技有限公司 | Picture service method, device, equipment, storage medium and computer program product |
| CN112612980B (en) * | 2020-12-22 | 2024-03-01 | 北京百度网讯科技有限公司 | Picture service method, apparatus, device, storage medium and computer program product |
| CN112738573A (en) * | 2020-12-25 | 2021-04-30 | 北京达佳互联信息技术有限公司 | Video data transmission method and device and video data distribution method and device |
| CN114827490A (en) * | 2021-01-29 | 2022-07-29 | 北京字节跳动网络技术有限公司 | Video synthesis method and device, electronic equipment and storage medium |
| WO2022161200A1 (en) * | 2021-01-29 | 2022-08-04 | 北京字节跳动网络技术有限公司 | Video synthesis method and apparatus, electronic device, and storage medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN111063007A (en) | Image generation method, device, equipment and storage medium | |
| CN110310229B (en) | Image processing method, image processing apparatus, terminal device, and readable storage medium | |
| EP3929813A2 (en) | Image processing method in remote control, device, apparatus and program product | |
| JP6638062B2 (en) | Screen control method and device between terminals and storage medium | |
| CN108038212B (en) | Data interaction method, device, system, equipment and storage medium | |
| WO2023273789A1 (en) | Method and apparatus for displaying game picture, storage medium, and electronic device | |
| CN111381749A (en) | Image display and processing method, device, equipment and storage medium | |
| CN111694625B (en) | Method and equipment for projecting screen from car box to car machine | |
| CN113763233B (en) | Image processing method, server and photographing equipment | |
| CN111143017A (en) | Cloud operating system interaction processing method, client and cloud operating system | |
| KR102451197B1 (en) | Method and apparatus for processing image frame, electronic device, storage media and program | |
| CN111625371A (en) | Text transmission method, device, PC (personal computer) terminal, mobile terminal and system | |
| CN108495174B (en) | Method and system for generating video file by H5 page effect | |
| CN111865634A (en) | Method and apparatus for generating a configuration file of a site in an Internet of Things system | |
| DE102014007023A1 (en) | Picture effect extraction | |
| US20230005171A1 (en) | Visual positioning method, related apparatus and computer program product | |
| CN113721876A (en) | Screen projection processing method and related equipment | |
| CN110796722B (en) | Three-dimensional rendering presentation method and device | |
| CN109901904B (en) | Application picture adjusting method in wearable device and wearable device | |
| CN114466066B (en) | Web-based reverse proxy method, device, medium and electronic equipment | |
| JP6063056B2 (en) | File trimming method, terminal, server, program, and recording medium | |
| CN117422612A (en) | Image processing method, device, electronic equipment and readable storage medium | |
| CN103533384A (en) | Image processing method, image restoration method, devices and system | |
| CN105068708B (en) | Instruction obtaining and feedback method and device and cloud server | |
| CN110298833B (en) | Picture processing method and 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 | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200424 |
|
| RJ01 | Rejection of invention patent application after publication |