CN112330775A - Method and device for synthesizing posters in batches, electronic equipment and storage medium - Google Patents

Method and device for synthesizing posters in batches, electronic equipment and storage medium Download PDF

Info

Publication number
CN112330775A
CN112330775A CN202011333757.4A CN202011333757A CN112330775A CN 112330775 A CN112330775 A CN 112330775A CN 202011333757 A CN202011333757 A CN 202011333757A CN 112330775 A CN112330775 A CN 112330775A
Authority
CN
China
Prior art keywords
poster
picture
pictures
synthesized
batch
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
CN202011333757.4A
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.)
Ctrip Travel Network Technology Shanghai Co Ltd
Original Assignee
Ctrip Travel Network Technology Shanghai 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 Ctrip Travel Network Technology Shanghai Co Ltd filed Critical Ctrip Travel Network Technology Shanghai Co Ltd
Priority to CN202011333757.4A priority Critical patent/CN112330775A/en
Publication of CN112330775A publication Critical patent/CN112330775A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/60Editing figures and text; Combining figures or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Abstract

The invention provides a method, a device, electronic equipment and a storage medium for synthesizing posters in batches, wherein the method comprises the following steps: displaying a batch composite poster interface in a browser based on a browser canvas; obtaining poster background pictures, and enabling the poster background pictures to be displayed on the batch synthesis poster interface in parallel, wherein the poster background pictures comprise a picture position; acquiring a plurality of different pictures to be synthesized; filling a plurality of different pictures to be synthesized into the picture positions of the poster background pictures respectively, wherein the size of the displayed poster background pictures changes along with the size of the pictures to be synthesized filled into the picture positions; and responding to the downloading operation of the user on the batch synthesis poster interface, enabling the poster background pictures displayed on the batch synthesis poster interface and the pictures filled in the picture positions to form an output poster, and downloading the output poster. The method and the device provided by the invention realize the batch synthesis of the pictures.

Description

Method and device for synthesizing posters in batches, electronic equipment and storage medium
Technical Field
The invention relates to the technical field of computer application, in particular to a method, a device, electronic equipment and a storage medium for synthesizing posters in batches.
Background
Currently, in APP development and user interaction design, poster drawing is usually required by designers through special drawing software (such as photoshop and the like). However, the number of functions of the APP is increasing, and meanwhile, the time for updating the APP by various activities requires more time only by designers for drawing production. In order to relieve the pressure of designers, operators can assist in poster making at present, however, operators have limited authority or computer configuration cannot install the operating environment of drawing software, and difficulty is increased for poster drawing. Meanwhile, in the case of producing moving pictures, the same steps are usually required to be repeatedly operated, but different languages and techniques also easily cause manual operation errors such as omission in copying, and fields are frequently updated, so that fatigue is increased and efficiency is gradually reduced.
Therefore, how to simplify the production of moving pictures to realize batch production and avoid document errors caused by manual operation is a technical problem to be solved urgently by those skilled in the art.
Disclosure of Invention
In order to overcome the defects in the prior art, the invention provides a method, a device, electronic equipment and a storage medium for synthesizing posters in batches, so that file errors caused by manual operation can be avoided while batch generation is realized by simplifying the production of moving pictures.
According to an aspect of the present invention, there is provided a method of synthesizing posters in bulk, comprising:
displaying a batch composite poster interface in a browser based on a browser canvas;
obtaining poster background pictures, and enabling the poster background pictures to be displayed on the batch synthesis poster interface in parallel, wherein the poster background pictures comprise a picture position;
acquiring a plurality of different pictures to be synthesized;
filling a plurality of different pictures to be synthesized into the picture positions of the poster background pictures respectively, wherein the size of the displayed poster background pictures changes along with the size of the pictures to be synthesized filled into the picture positions;
and responding to the downloading operation of the user on the batch synthesis poster interface, enabling the poster background pictures displayed on the batch synthesis poster interface and the pictures filled in the picture positions to form an output poster, and downloading the output poster.
In some embodiments of the invention, the poster background picture further comprises a title slot, and the obtaining a plurality of different pictures to be synthesized comprises:
acquiring characters of the title bits;
acquiring a reading path of the picture to be synthesized according to the characters of the title bit;
and sequentially reading the pictures to be synthesized from the reading path.
In some embodiments of the invention, the characters of the header bits are obtained by user input; or
The title position is obtained by character recognition in the area of the title position of the poster background picture.
In some embodiments of the present invention, each of the pictures to be synthesized is associated with a link, and the causing of the poster background picture displayed on the batch synthesis poster interface and the picture filled in the picture slot to form an output poster in response to a download operation by a user in the batch synthesis poster interface includes:
and associating the corresponding link with the region of the output poster corresponding to the picture to be synthesized, and triggering the operation of the user on the region of the output poster corresponding to the picture to be synthesized so as to jump to the link.
In some embodiments of the present invention, the filling the plurality of different pictures to be synthesized into the picture position of the background picture of each poster respectively includes:
acquiring the number of the poster background pictures currently displayed in the batch synthesis poster interface;
acquiring the number of the pictures to be synthesized;
and when the number of the pictures to be synthesized is larger than the number of the poster background pictures currently displayed in the batch synthesis poster interface, adding the poster background pictures in the batch synthesis poster interface to enable the number of the pictures to be synthesized to be equal to the number of the poster background pictures currently displayed in the batch synthesis poster interface.
In some embodiments of the present invention, the filling the plurality of different pictures to be synthesized into the picture position of the background picture of each poster respectively includes:
acquiring the length and the width of the picture bit;
acquiring the length and the width of the picture to be synthesized;
when the length of the picture to be synthesized is larger than that of the picture position, enabling the length of the picture position and the poster background picture corresponding to the picture position in the width direction to be equal to that of the picture to be synthesized;
and when the width of the picture to be synthesized is larger than that of the picture position, enabling the width of the picture position and the poster background picture corresponding to the picture position in the length direction to be equal to that of the picture to be synthesized.
In some embodiments of the invention, the position of the picture position is preset in the poster background picture; or the position of the picture bit is determined after the user adjusts the picture to be synthesized.
According to still another aspect of the present invention, there is also provided an apparatus for synthesizing posters in batch, including:
the first display module is used for displaying the batch synthesis poster interfaces in the browser based on the browser canvas;
the first acquisition module is used for acquiring poster background pictures and enabling the poster background pictures to be displayed on the batch synthesis poster interface in parallel, wherein the poster background pictures comprise a picture position;
the second acquisition module is used for acquiring a plurality of different pictures to be synthesized;
the filling module is used for respectively filling a plurality of different pictures to be synthesized into the picture positions of the poster background pictures, wherein the size of the displayed poster background pictures changes along with the size of the pictures to be synthesized filled into the picture positions;
and the synthesis downloading module is used for responding to the downloading operation of the user on the batch synthesis poster interface, enabling the poster background pictures displayed on the batch synthesis poster interface and the pictures filled in the picture positions to form an output poster, and downloading the output poster.
According to still another aspect of the present invention, there is also provided an electronic apparatus, including: a processor; a storage medium having stored thereon a computer program which, when executed by the processor, performs the steps of the method of batch compositing posters as described above.
According to a further aspect of the invention, there is also provided a storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method of batch compositing posters as described above.
Compared with the prior art, the invention has the advantages that:
on one hand, the poster background picture and the picture to be synthesized can be decoupled, so that the reworking of the drawing generation for multiple times is avoided; on the other hand, the method is realized in a browser, has low requirements on system environment and is convenient to operate; on the other hand, repeated boring operation is avoided through batch filling of the pictures to be synthesized, and design productivity is used in places where the pictures are needed; in another aspect, operation or entry errors caused by manual operation are reduced by batch filling; further, the operation steps of the picture composition process can also be shortened.
Drawings
The above and other features and advantages of the present invention will become more apparent by describing in detail exemplary embodiments thereof with reference to the attached drawings.
Fig. 1 shows a flowchart of a method of synthesizing posters in batches according to an embodiment of the present invention.
Fig. 2 shows a flowchart for acquiring a plurality of different pictures to be synthesized according to an embodiment of the present invention.
FIG. 3 shows a schematic diagram of a batch composition poster interface, according to an embodiment of the invention.
Fig. 4 is a block diagram showing an apparatus for batch-synthesizing posters according to an embodiment of the present invention.
Fig. 5 schematically illustrates a computer-readable storage medium in an exemplary embodiment of the disclosure.
Fig. 6 schematically illustrates an electronic device in an exemplary embodiment of the disclosure.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus their repetitive description will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
In order to solve the defects of the prior art, the invention provides a method and a device for synthesizing posters in batches, electronic equipment and a storage medium, wherein the method and the device are used for simplifying the production of moving pictures so as to realize batch generation and simultaneously avoiding file errors caused by manual operation.
Referring first to fig. 1, fig. 1 shows a schematic view of a method of synthesizing posters in batches according to an embodiment of the present invention. The method of synthesizing posters in batches includes the steps of:
step S110: a batch composite poster interface is displayed in a browser based on a browser canvas.
Specifically, in some embodiments, the present invention may run in a browser based on html as well as javascript languages. For example, visual interactive development may be performed using the features of the browser canvas, and the present invention may provide a custom tool to address specified requirements. Therefore, the method and the device can realize convenient operation on canvas of canvas based on the open source framework easeljs, solve the aim of short-term tool development, and flexibly and quickly respond to the adjustment of the tool by the service. The invention can manually adjust the zooming size and positioning of the picture. Clicking the download button can save pictures in various formats (e.g., png format) to the local browser download directory.
Step S120: and acquiring a poster background picture, and displaying the poster background picture on the batch synthesis poster interface in parallel, wherein the poster background picture comprises a picture position.
Specifically, the poster can be designed by a designer through drawing software and then stored in the system, and the poster is selected by clicking of an operator so as to acquire the background picture of the poster. In some variations, the poster may also be directly produced by a designer and sent to the system employed in the present invention for direct display, thereby omitting the step of operator clicking on the selection.
In some embodiments, the location of the picture position is preset in the poster background picture. In other words, the picture position is associated with the coordinate position and the coordinate range of the picture at the poster background. In some variations, the position of the picture bit may be determined after the user adjusts the subsequently filled picture to be synthesized. In other words, in this embodiment, the position of the picture to be synthesized on the background picture of the poster is not preset.
Step S130: and acquiring a plurality of different pictures to be synthesized.
In some embodiments, the picture to be synthesized may be obtained directly from the path specified by the user. In other embodiments, step S130 may be implemented by the flowchart shown in fig. 2, for example. In this embodiment, the poster background picture also includes a title bit, fig. 2 collectively showing the steps of:
step S131: and acquiring characters of the title bits.
Specifically, the characters of the header bits are obtained by user input. In some variations, the title bit may also be obtained by performing text recognition on an area of the title bit of the poster background picture, so as to further realize automation of obtaining a picture to be synthesized based on a title, thereby further facilitating user operation.
Step S132: and acquiring a reading path of the picture to be synthesized according to the characters of the title bit.
Specifically, in some embodiments, the reading path (e.g., folder name) of the picture to be synthesized includes the characters of the header bits, and therefore, the reading path of the picture to be synthesized can be directly obtained according to the characters of the header bits. In some variations, fuzzy matching may be performed on the character of the header bit and the reading path of the picture to be synthesized, so as to obtain the reading path of the picture to be synthesized, where fuzzy matching is performed.
Step S133: and sequentially reading the pictures to be synthesized from the reading path.
Thus, with the embodiment shown in fig. 2, the pictures to be synthesized can be grouped and managed by the characters of the header bits, and marked on the reading path of the pictures to be synthesized, so as to facilitate the management of the pictures to be synthesized and the automatic management of reading the pictures to be synthesized.
Step S140: and respectively filling a plurality of different pictures to be synthesized into the picture positions of the poster background pictures, wherein the size of the displayed poster background pictures changes along with the size of the pictures to be synthesized filled into the picture positions.
Step S150: and responding to the downloading operation of the user on the batch synthesis poster interface, enabling the poster background pictures displayed on the batch synthesis poster interface and the pictures filled in the picture positions to form an output poster, and downloading the output poster.
In particular, reference may be made to fig. 3, which shows a schematic diagram of a batch composition poster interface 200 according to an embodiment of the invention. The batch composition poster interface 200 displays a plurality of poster background pictures 210, the poster background pictures 210 include a picture position 211, and the picture positions 211 of the poster background pictures 210 are filled in by loading the pictures to be composed, so that a plurality of different poster pictures are obtained for single downloading or batch downloading. The batch composition poster interface 200 also provides a plurality of function keys for performing editing and other functional operations.
In the method for synthesizing the posters in batches, on one hand, the background pictures of the posters can be decoupled from the pictures to be synthesized, so that the reworking of the drawings is avoided; on the other hand, the method is realized in a browser, has low requirements on system environment and is convenient to operate; on the other hand, repeated boring operation is avoided through batch filling of the pictures to be synthesized, and design productivity is used in places where the pictures are needed; in another aspect, operation or entry errors caused by manual operation are reduced by batch filling; further, the operation steps of the picture composition process can also be shortened.
In some embodiments of the present invention, each of the pictures to be synthesized is associated with a link that can jump to the related information of the picture to be synthesized. The aforementioned step S150, in response to the downloading operation of the user in response to the batch composition poster interface, enables the poster background picture displayed on the batch composition poster interface and the picture filled in the picture position to form an output poster, and downloading the output poster may include the following steps: and associating the corresponding link with the region of the output poster corresponding to the picture to be synthesized, and triggering the operation of the user on the region of the output poster corresponding to the picture to be synthesized so as to jump to the link. Therefore, when the output poster is displayed in the application, the operation (clicking, touch control and the like) of the user on the area of the output poster corresponding to the picture to be synthesized triggers to jump to the link of the related information of the picture to be synthesized according to the connection. For example, in some embodiments, the picture to be synthesized is a LOGO of a hotel, and when the user clicks the LOGO in the output poster, the user can jump to a reservation page of the hotel or a detailed information page of the hotel.
In some embodiments of the present invention, the step S140 in fig. 1 of filling a plurality of different pictures to be synthesized into the picture position of the background picture of each poster respectively may be implemented by the following steps: acquiring the number of the poster background pictures currently displayed in the batch synthesis poster interface; acquiring the number of the pictures to be synthesized; and when the number of the pictures to be synthesized is larger than the number of the poster background pictures currently displayed in the batch synthesis poster interface, adding the poster background pictures in the batch synthesis poster interface to enable the number of the pictures to be synthesized to be equal to the number of the poster background pictures currently displayed in the batch synthesis poster interface. Therefore, the situation that a plurality of pictures to be synthesized are read, and the number of the batch synthesis posters displayed at present is not enough, so that part of the pictures to be synthesized cannot be filled in can be avoided. The number of the steps is obtained, so that when the number of the pictures to be synthesized is larger than the number of the batch synthetic posters displayed currently, the number of the batch synthetic posters displayed currently is automatically increased, and the obtained pictures to be synthesized can be filled into the batch synthetic posters conveniently.
In some embodiments of the present invention, the step S140 in fig. 1 of filling a plurality of different pictures to be synthesized into the picture position of the background picture of each poster respectively may be implemented by the following steps: acquiring the length and the width of the picture bit; acquiring the length and the width of the picture to be synthesized; when the length of the picture to be synthesized is larger than the length of the picture position, the length of the picture position and the poster background picture corresponding to the picture position in the width direction is equal to the length of the picture to be synthesized (in other words, the length of the poster background picture at the part corresponding to the picture position is stretched, and the width is kept unchanged); when the width of the picture to be synthesized is larger than the width of the picture position, the width of the picture position and the poster background picture corresponding to the picture position in the length direction is equal to the width of the picture to be synthesized (in other words, the width of the poster background picture at the part corresponding to the picture position is stretched, and the length is kept unchanged). Further, the aforementioned width stretching and length stretching may be achieved only one of them. In some specific implementations, it may be determined whether the portion of the poster background picture corresponding to the picture position has no content picture (e.g., a solid background) in the width direction and/or the length direction, so as to determine whether the portion can be stretched in the corresponding direction, thereby not affecting the display of the content in the poster background picture. Thereby, poster background pictures of different sizes can be obtained that are adapted to the picture to be synthesized.
In some embodiments, the picture space is associated with a coordinate region of a poster background picture, and when the picture space is filled with the picture to be synthesized, the picture to be synthesized can be automatically adapted to the coordinate region of the picture space. In other words, the length and width of the picture to be synthesized can be automatically made to coincide with the coordinate region of the picture bit, whereby batch processing of the pictures can be automatically realized. In some variations, when the picture bits are filled in the picture to be synthesized, the picture bits may be filled in according to an original size of the picture to be synthesized, when the original size of the picture to be synthesized is greater than or equal to the coordinate region of the picture bits, a portion of the picture to be synthesized, which exceeds the coordinate region of the picture bits, is hidden, and when the original size of the picture to be synthesized is smaller than the coordinate region of the picture bits, a portion of the picture to be synthesized, which does not fill the coordinate region of the picture bits, is displayed as a solid background. Therefore, picture distortion caused by the fact that the picture is stretched transversely or longitudinally is avoided. Further, in this embodiment, the user may also adjust the size of the picture and the position of the picture in the coordinate area through a function key, touch or drag operation. Further, in some embodiments of the present invention, when the picture to be synthesized is filled in the picture bit, a main body portion matching the field is identified from the picture to be synthesized according to the field of the picture bit, and at least the main body portion is displayed in a central position of the picture bit. For example, when the field is a guest room, a part of the picture which embodies the guest room and matches the field is identified from the picture to be synthesized (this step can be implemented by a trained model), and the part of the picture to be synthesized which most embodies the guest room is set at the center of the picture position.
In a further embodiment, the present invention further provides a fine-tuning editing operation of the pictures to adjust the pictures filled in the picture slots displayed on the batch composition poster interface. This can be achieved, for example, by: responding to an editing operation of a user for filling the pictures of the picture positions in one poster background picture displayed by the batch composition poster interface so as to adjust the display attribute of the pictures of the picture positions corresponding to the poster background pictures; and simultaneously, adjusting the display attributes of the pictures filled in the picture positions corresponding to all the poster background pictures, and synchronously displaying the adjustment of the display attributes of the pictures filled in the picture positions corresponding to all the poster background pictures on the batch synthesis poster interface.
Thus, the embodiment can realize fine tuning editing of the picture to be synthesized of the picture position of each poster background picture. Further, the present invention can also realize a function of individual editing.
In some variations of the present invention, after the picture to be synthesized is imported, a step of identifying whether editing is required may be further included, for example, by determining whether the picture is blocked and whether the picture bit is not filled, if any of the above conditions exist, an alarm mark can be displayed on the background picture of the poster in the situation, alarm information can also be provided in the form of a pop-up window and the like, and skipping to the corresponding poster background picture based on the warning information for the user to edit the poster background picture (in this embodiment, if the user is in a batch editing state before the warning information is provided, after the user skips to the corresponding poster background picture through the warning information, the user exits the batch editing state, so that an individual editing function can be realized, and the situation that an error/warning occurs after the other finished poster background pictures are subjected to batch editing is avoided).
Furthermore, the invention can support paging display and operation in consideration of overlarge required result picture.
The foregoing is merely an exemplary description of various implementations of the invention and is not intended to be limiting thereof.
The present invention also provides an apparatus for batch-composing posters, and fig. 4 shows a schematic diagram of an apparatus for batch-composing posters according to an embodiment of the present invention. The apparatus 300 for batch composition of posters includes a first display module 310, a first obtaining module 320, a second obtaining module 330, a filling-in module 340, and a composition download module 350.
The first display module 310 is configured to display a batch composite poster interface in a browser based on a browser canvas;
the first obtaining module 320 is configured to obtain a poster background picture, and display the poster background picture in parallel on the batch composition poster interface, where the poster background picture includes a picture position;
the second obtaining module 330 is configured to obtain a plurality of different pictures to be synthesized;
the filling module 340 is configured to fill a plurality of different pictures to be synthesized into the picture position of each poster background picture, where the size of the displayed poster background picture varies with the size of the picture to be synthesized filled into the picture position;
the composite downloading module 350 is used for responding to the downloading operation of the user on the batch composite poster interface, enabling the poster background pictures displayed on the batch composite poster interface and the pictures filled in the picture positions to form an output poster, and downloading the output poster.
In the device for synthesizing the posters in batches, on one hand, the background pictures of the posters can be decoupled from the pictures to be synthesized, so that the reworking of the drawings is avoided; on the other hand, the method is realized in a browser, has low requirements on system environment and is convenient to operate; on the other hand, repeated boring operation is avoided through batch filling of the pictures to be synthesized, and design productivity is used in places where the pictures are needed; in another aspect, operation or entry errors caused by manual operation are reduced by batch filling; further, the operation steps of the picture composition process can also be shortened.
Fig. 4 is a schematic diagram showing the device for synthesizing posters in batches provided by the invention, and the splitting, combining and adding of modules are within the protection scope of the invention without departing from the concept of the invention. The device for batch synthesis of posters provided by the invention can be realized by software, hardware, firmware, plug-in and any combination of the software, the hardware, the firmware and the plug-in, and the invention is not limited by the invention.
In an exemplary embodiment of the present disclosure, there is also provided a computer-readable storage medium, on which a computer program is stored, which, when executed by, for example, a processor, may implement the steps of the method of batch composition of posters described in any one of the above embodiments. In some possible embodiments, aspects of the invention may also be implemented in the form of a program product comprising program code means for causing a terminal device to carry out the steps according to various exemplary embodiments of the invention described in the method section of batch composition of posters mentioned above in this description, when said program product is run on the terminal device.
Referring to fig. 5, a program product 400 for implementing the above method according to an embodiment of the present invention is described, which may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited in this regard and, in the present document, a 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.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A 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 readable storage medium include: an electrical connection having one or more wires, a portable disk, 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.
The computer readable storage medium may include a propagated data signal with 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 readable storage medium may also be any readable medium that is not a 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 readable 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.
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, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the tenant computing device, partly on the tenant device, as a stand-alone software package, partly on the tenant computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, the remote computing devices may be connected to the tenant computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
In an exemplary embodiment of the present disclosure, there is also provided an electronic device, which may include a processor, and a memory for storing executable instructions of the processor. Wherein the processor is configured to perform the steps of the method of batch compositing posters described in any of the above embodiments via execution of the executable instructions.
As will be appreciated by one skilled in the art, aspects of the present invention may be embodied as a system, method or program product. Thus, various aspects of the invention may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
An electronic device 600 according to this embodiment of the invention is described below with reference to fig. 6. The electronic device 600 shown in fig. 6 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. 6, the electronic device 600 is embodied in the form of a general purpose computing device. The components of the electronic device 600 may include, but are not limited to: at least one processing unit 610, at least one storage unit 620, a bus 630 that connects the various system components (including the storage unit 620 and the processing unit 610), a display unit 640, and the like.
Wherein the storage unit stores program code executable by the processing unit 610 to cause the processing unit 610 to perform the steps according to various exemplary embodiments of the present invention described in the method section of batch composing posters described above in this specification. For example, the processing unit 610 may perform the steps as shown in fig. 1 to 2.
The storage unit 620 may include readable media in the form of volatile memory units, such as a random access memory unit (RAM)6201 and/or a cache memory unit 6202, and may further include a read-only memory unit (ROM) 6203.
The memory unit 620 may also include a program/utility 6204 having a set (at least one) of program modules 6205, such program modules 6205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Bus 630 may be one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 600 may also communicate with one or more external devices 700 (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a tenant to interact with the electronic device 600, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 600 to communicate with one or more other computing devices. Such communication may occur via an input/output (I/O) interface 650. Also, the electronic device 600 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 660. The network adapter 660 may communicate with other modules of the electronic device 600 via the bus 630. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the electronic device 600, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, or a network device, etc.) to execute the above method for synthesizing posters in batches according to the embodiments of the present disclosure.
Compared with the prior art, the invention has the advantages that:
on one hand, the poster background picture and the picture to be synthesized can be decoupled, so that the reworking of the drawing generation for multiple times is avoided; on the other hand, the method is realized in a browser, has low requirements on system environment and is convenient to operate; on the other hand, repeated boring operation is avoided through batch filling of the pictures to be synthesized, and design productivity is used in places where the pictures are needed; in another aspect, operation or entry errors caused by manual operation are reduced by batch filling; further, the operation steps of the picture composition process can also be shortened.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

Claims (10)

1. A method of composing posters in batches, comprising:
displaying a batch composite poster interface in a browser based on a browser canvas;
obtaining poster background pictures, and enabling the poster background pictures to be displayed on the batch synthesis poster interface in parallel, wherein the poster background pictures comprise a picture position;
acquiring a plurality of different pictures to be synthesized;
filling a plurality of different pictures to be synthesized into the picture positions of the poster background pictures respectively, wherein the size of the displayed poster background pictures changes along with the size of the pictures to be synthesized filled into the picture positions;
and responding to the downloading operation of the user on the batch synthesis poster interface, enabling the poster background pictures displayed on the batch synthesis poster interface and the pictures filled in the picture positions to form an output poster, and downloading the output poster.
2. A method of composing a batch of posters according to claim 1, wherein the poster background pictures further include a title slot, and the obtaining a plurality of different pictures to be composed includes:
acquiring characters of the title bits;
acquiring a reading path of the picture to be synthesized according to the characters of the title bit;
and sequentially reading the pictures to be synthesized from the reading path.
3. A method of composing batches of posters according to claim 2, characterized in that,
the characters of the title bit are obtained by user input; or
The title position is obtained by character recognition in the area of the title position of the poster background picture.
4. The method of composing a batch of posters according to claim 1, wherein each of the pictures to be composed is associated with a link, and the step of causing the poster background pictures displayed on the batch composition poster interface and the pictures filled in the picture slots to form an output poster in response to a download operation by a user in the batch composition poster interface comprises:
and associating the corresponding link with the region of the output poster corresponding to the picture to be synthesized, and triggering the operation of the user on the region of the output poster corresponding to the picture to be synthesized so as to jump to the link.
5. The method of composing a batch of posters according to claim 1, wherein filling a plurality of different pictures to be composed into the picture slots of the background pictures of the posters respectively comprises:
acquiring the number of the poster background pictures currently displayed in the batch synthesis poster interface;
acquiring the number of the pictures to be synthesized;
and when the number of the pictures to be synthesized is larger than the number of the poster background pictures currently displayed in the batch synthesis poster interface, adding the poster background pictures in the batch synthesis poster interface to enable the number of the pictures to be synthesized to be equal to the number of the poster background pictures currently displayed in the batch synthesis poster interface.
6. The method of composing a batch of posters according to claim 1, wherein filling a plurality of different pictures to be composed into the picture slots of the background pictures of the posters respectively comprises:
acquiring the length and the width of the picture bit;
acquiring the length and the width of the picture to be synthesized;
when the length of the picture to be synthesized is larger than that of the picture position, enabling the length of the picture position and the poster background picture corresponding to the picture position in the width direction to be equal to that of the picture to be synthesized;
and when the width of the picture to be synthesized is larger than that of the picture position, enabling the width of the picture position and the poster background picture corresponding to the picture position in the length direction to be equal to that of the picture to be synthesized.
7. A method of composing a batch of posters according to any one of claims 1 to 5, characterized in that the position of the picture position is preset in the poster background picture; or
And the position of the picture bit is determined after the user adjusts the picture to be synthesized.
8. An apparatus for composing posters in batches, comprising:
the first display module is used for displaying the batch synthesis poster interfaces in the browser based on the browser canvas;
the first acquisition module is used for acquiring poster background pictures and enabling the poster background pictures to be displayed on the batch synthesis poster interface in parallel, wherein the poster background pictures comprise a picture position;
the second acquisition module is used for acquiring a plurality of different pictures to be synthesized;
the filling module is used for respectively filling a plurality of different pictures to be synthesized into the picture positions of the poster background pictures, wherein the size of the displayed poster background pictures changes along with the size of the pictures to be synthesized filled into the picture positions;
and the synthesis downloading module is used for responding to the downloading operation of the user on the batch synthesis poster interface, enabling the poster background pictures displayed on the batch synthesis poster interface and the pictures filled in the picture positions to form an output poster, and downloading the output poster.
9. An electronic device, characterized in that the electronic device comprises:
a processor;
a storage medium having stored thereon a computer program which, when executed by the processor, performs a method of bulk compositing posters according to any of claims 1-7.
10. A storage medium, characterized in that the storage medium has stored thereon a computer program which, when executed by a processor, performs a method of batch composing posters as claimed in any one of claims 1 to 7.
CN202011333757.4A 2020-11-24 2020-11-24 Method and device for synthesizing posters in batches, electronic equipment and storage medium Pending CN112330775A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011333757.4A CN112330775A (en) 2020-11-24 2020-11-24 Method and device for synthesizing posters in batches, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011333757.4A CN112330775A (en) 2020-11-24 2020-11-24 Method and device for synthesizing posters in batches, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112330775A true CN112330775A (en) 2021-02-05

Family

ID=74308586

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011333757.4A Pending CN112330775A (en) 2020-11-24 2020-11-24 Method and device for synthesizing posters in batches, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112330775A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113676677A (en) * 2021-10-22 2021-11-19 深圳市明源云空间电子商务有限公司 Dynamic picture synthesis method and device, electronic equipment and readable storage medium
CN117274429A (en) * 2023-08-23 2023-12-22 北京安锐卓越信息技术股份有限公司 Poster picture generation method and device, electronic equipment and storage medium
CN117689782A (en) * 2024-02-02 2024-03-12 腾讯科技(深圳)有限公司 Method, device, equipment and storage medium for generating poster image

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040075669A1 (en) * 2002-10-18 2004-04-22 Bronstein Kenneth H. Poster preparation system and method
CN109493399A (en) * 2018-09-13 2019-03-19 北京大学 A kind of poster generation method and system that picture and text combine
CN110502656A (en) * 2018-05-16 2019-11-26 珠海金山办公软件有限公司 A kind of lookup method, device, electronic equipment and readable storage medium storing program for executing
CN110647705A (en) * 2019-08-14 2020-01-03 平安普惠企业管理有限公司 Picture synthesis method, device, equipment and storage medium
CN111242691A (en) * 2020-01-14 2020-06-05 广东博智林机器人有限公司 Method and device for generating advertisement poster, storage medium and terminal equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040075669A1 (en) * 2002-10-18 2004-04-22 Bronstein Kenneth H. Poster preparation system and method
CN110502656A (en) * 2018-05-16 2019-11-26 珠海金山办公软件有限公司 A kind of lookup method, device, electronic equipment and readable storage medium storing program for executing
CN109493399A (en) * 2018-09-13 2019-03-19 北京大学 A kind of poster generation method and system that picture and text combine
CN110647705A (en) * 2019-08-14 2020-01-03 平安普惠企业管理有限公司 Picture synthesis method, device, equipment and storage medium
CN111242691A (en) * 2020-01-14 2020-06-05 广东博智林机器人有限公司 Method and device for generating advertisement poster, storage medium and terminal equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113676677A (en) * 2021-10-22 2021-11-19 深圳市明源云空间电子商务有限公司 Dynamic picture synthesis method and device, electronic equipment and readable storage medium
CN117274429A (en) * 2023-08-23 2023-12-22 北京安锐卓越信息技术股份有限公司 Poster picture generation method and device, electronic equipment and storage medium
CN117689782A (en) * 2024-02-02 2024-03-12 腾讯科技(深圳)有限公司 Method, device, equipment and storage medium for generating poster image

Similar Documents

Publication Publication Date Title
CN109801347B (en) Method, device, equipment and medium for generating editable image template
CN112330775A (en) Method and device for synthesizing posters in batches, electronic equipment and storage medium
US9047261B2 (en) Document editing method
AU2010200518B2 (en) Information processing apparatus, information processing method and information processing program
US8229576B2 (en) Field device management apparatus and field device management system
US10210142B1 (en) Inserting linked text fragments in a document
EP3104318A1 (en) Information processing apparatus, method, and program
US20120174000A1 (en) Automated graphical user interface design and development systems and methods
US20130006603A1 (en) Graphical user interface localization systems and methods
US10565280B2 (en) Website content identification in a content management system
US9548042B2 (en) Responsive document breakpoints systems and methods
US8332764B2 (en) Editing device, information processing device, editing method, and editing program product
CN112558967A (en) Page automatic generation method and device, electronic equipment and storage medium
EP1768034A1 (en) Document processing device and document processing method
EP1744253A1 (en) Document processing device and document processing method
EP1744256A1 (en) Document processing device and document processing method
KR101175950B1 (en) Method, apparatus, and computer readable medium storing a software program for managing system specifications
CN116755665A (en) General page template development method and system based on database table structure
CN112330774B (en) Method and device for synthesizing pictures in batches, electronic equipment and storage medium
US9811512B2 (en) Synchronising screenshots in documentation with product functionality
US11645047B2 (en) Focused specification generation for interactive designs
CN113849257A (en) Page processing method, device, medium and electronic equipment
CN112269960B (en) Webpage updating method, system, equipment and storage medium based on associated report
JPH11296463A (en) Marking/redisplay method for home page using frame
CN116301467A (en) Display theme publishing method and device, computer storage medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination