CN103853534A - Method and device for immediately displaying pictures - Google Patents

Method and device for immediately displaying pictures Download PDF

Info

Publication number
CN103853534A
CN103853534A CN201210505091.5A CN201210505091A CN103853534A CN 103853534 A CN103853534 A CN 103853534A CN 201210505091 A CN201210505091 A CN 201210505091A CN 103853534 A CN103853534 A CN 103853534A
Authority
CN
China
Prior art keywords
thumbnail
rectangle
photo
animation
outlet
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.)
Granted
Application number
CN201210505091.5A
Other languages
Chinese (zh)
Other versions
CN103853534B (en
Inventor
程菲
黄石柱
任博
任桥
方翔
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201210505091.5A priority Critical patent/CN103853534B/en
Publication of CN103853534A publication Critical patent/CN103853534A/en
Application granted granted Critical
Publication of CN103853534B publication Critical patent/CN103853534B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention is suitable for the technical field of a picture and discloses a method for immediately displaying pictures and a device thereof, and the method comprises the following steps: loading an animate window into a camera, detecting a photographed event, acquiring a present taken picture according to the photographed event, generating a first thumbnail corresponding to the present taken picture, and drawing the animation of the first thumbnail in the animate window, wherein the cartoon is output from a rectangular outlet. The method for immediately displaying pictures is applied to the camera application, after the user takes a picture via photographed functions, the picture recently photographed by the user is immediately and dynamically displayed to the user by in real time drawing the animation process of the picture output from a special outlet, so that the visualized immediate display effect of the picture is achieved and the prompt of the photographing movement completion is also better realized.

Description

A kind of photo instant playback method and device
Technical field
The invention belongs to image technique field, relate in particular to a kind of photo instant playback method and device.
Background technology
Along with continuous lifting and the intelligentized development of software of mobile terminal hardware configuration, the camera technology content of the mobile terminal such as mobile phone, panel computer is more and more higher, the camera function of mobile terminal can substitute traditional card camera completely, meet the demand of taking pictures in user's daily life, therefore, increasing user's choice for use mobile terminal is recorded visual angle at one's side.
Existing mobile terminal all possesses photo instant playback function, carry out instant playback with the form of thumbnail in certain specific region of mobile terminal screen by the photo that user has just been taken, move to facilitate user to confirm to take pictures, and user can be by clicking this thumbnail, the photo that preview has just been taken.
But, photo instant playback function of the prior art is only to show thumbnail in specific region, if user takes continuously to Same Scene, or take under the state that lacks the prompting of shutter sound, what be difficult to be confirmed to take pictures and moved by thumbnail intuitively completes, be that when in prior art, comparison film carries out instant playback, instant playback effect is not directly perceived, has affected user's operating efficiency.
Summary of the invention
The object of the embodiment of the present invention is to provide a kind of photo instant playback function, is intended to solve in prior art when comparison film carries out instant playback not problem intuitively of instant playback effect.
The embodiment of the present invention is achieved in that a kind of photo instant playback method, comprising:
Be written into animation forms at the interface of taking pictures;
The detection event of taking pictures, and obtain current shooting photo according to the described event of taking pictures;
Generate first thumbnail corresponding with described current shooting photo;
In described animation forms, draw the animation of described the first thumbnail from rectangle outlet output.
Another object of the embodiment of the present invention is to provide a kind of photo instant playback device, comprising:
Be written into unit, for being written into animation forms at the interface of taking pictures;
Detecting unit, for detection of the event of taking pictures, and obtains current shooting photo according to the described event of taking pictures;
Generation unit, for generating first thumbnail corresponding with described current shooting photo;
Drawing unit, for drawing the animation of described the first thumbnail from rectangle outlet output at described animation forms.
The photo instant playback method that the embodiment of the present invention provides is applicable in camera application program, when user uses after camera function taken a photo, by drawing in real time the animation process of photo from specific outlet output, thereby user is just taken to complete photo and immediately, dynamically presented to user, reach the effect of photo instant playback intuitively, realized better the complete prompting of action executing of taking pictures to user.
Brief description of the drawings
Fig. 1 is the realization flow figure of the photo instant playback method that provides of the embodiment of the present invention;
Fig. 2 is camera application program that the embodiment of the present invention the provides interface schematic diagram of taking pictures;
Fig. 3 is the specific implementation process flow diagram of the photo instant playback method step S103 that provides of the embodiment of the present invention;
Fig. 4 is the specific implementation process flow diagram of the photo instant playback method step S 103 that provides of another embodiment of the present invention;
Fig. 5 is the photo instant playback method effect schematic diagram that the embodiment of the present invention provides;
Fig. 6 is the structured flowchart of the photo instant playback device that provides of the embodiment of the present invention;
Fig. 7 is the structured flowchart of the photo instant playback device that provides of another embodiment of the present invention.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
The photo instant playback method that the embodiment of the present invention provides is applicable in camera application program, when user uses after camera function taken a photo, by drawing in real time the animation process of photo from specific outlet output, thereby user is just taken to complete photo and immediately, dynamically presented to user, reach the effect of photo instant playback intuitively, realized better the complete prompting of action executing of taking pictures to user.
Above-mentioned camera application program can be for running on the camera application program in the terminal devices such as mobile phone, panel computer or computing machine, and go for the terminal operating systems such as IOS, Android or Windows, user controls the first-class imaging device of shooting being integrated in terminal device by operating above-mentioned camera application program, thereby realizes the action of taking pictures or make a video recording of terminal device.
Fig. 1 shows the realization flow of the photo instant playback method that the embodiment of the present invention provides, and details are as follows:
In step S101, be written into animation forms at the interface of taking pictures.
Conventionally, when user starts camera application program in terminal device, when triggering camera function, can on terminal screen, present the interface of taking pictures as shown in Figure 2, user is getting after the scene that needs to take, and the shutter release button 21 of taking pictures in interface by control can be realized and taking pictures.
Now, in the present embodiment, can realize by load animation effect in the animation forms that set in advance the instant playback function of just taking complete photo, these animation forms are arranged on taking pictures in interface of camera application program, particularly, can arrange on animation forms 23 on the interface control hurdle 22 of taking pictures as shown in Figure 2, also animation forms can be arranged on to corner or the border area of view-finder,, animation forms can be taken pictures control action as prerequisite not affect take pictures find a view effect and user of user, are placed on the optional position of taking pictures in interface.
In step S102, detect the event of taking pictures, and obtain current shooting photo according to the described event of taking pictures.
Particularly, after camera function starts, when detecting that the shutter release button of taking pictures in interface is in touching by state, or the physical button as shutter release button that system setting detected is pressed, determine that the event of taking pictures occurs, simultaneously according to this event of taking pictures, get current shooting photo.
In step S103, generate first thumbnail corresponding with described current shooting photo.
In the present embodiment, generate the first thumbnail according to current shooting photo, the first thumbnail generating is used to draw out the animation process of the first thumbnail output in subsequent step, and for finally present to user at animation forms after animation process finishes.
Alternatively, the size of the first thumbnail of generation can be the size that is adapted at representing in animation forms, and the animation effect that completes output to facilitate in animation forms presents and finally presents.
Further, the first thumbnail of generation can be the full width thumbnail of the photo of current shooting, can be also the local thumbnail of the photo of current shooting.
In step S104, in animation forms, draw the animation of the first thumbnail from rectangle outlet output.
In the present embodiment, the first thumbnail generates by drawing successively N two field picture from the animation of rectangle outlet output, and wherein, N is greater than 1 integer.By draw successively each two field picture in animation window, to present the animation of thumbnail output from rectangle outlet of photo of current shooting.Particularly, draw the i(1≤i≤N) two field picture process as shown in Figure 3:
In step S301, draw rectangle outlet.
In the present embodiment, the position of rectangle outlet includes but not limited to top, bottom, left side or the right side of animation forms, using the output outlet as the first thumbnail.Preferably, rectangle outlet is positioned at the top of animation forms, to make the first thumbnail from up to down from rectangle outlet output, to simulate the instant slice effect of Polaroid camera or photo-printer having.And alternatively, rectangle outlet can be depicted as round rectangle or right angle rectangle, or all taking rectangle as basic configuration can be used as the irregularly shaped of the first thumbnail outlet, do not limit one by one at this.
In step S302, draw the i/N part of the first thumbnail from rectangle exit towards outbound course.
In the present embodiment, complete the photo of current shooting taking point three frames from the animation of rectangle outlet output as example, in the time drawing the first two field picture, the 1/3rd part of only drawing the first thumbnail; In the time drawing the second two field picture, the 2/3rd part of drawing the first thumbnail; In the time drawing the 3rd two field picture, the 3/3rd part of drawing the first thumbnail, draws out the first complete thumbnail.
In the time that the i/N part to the first thumbnail is drawn, the position of its drafting is to start to draw towards the outbound course of the first thumbnail from rectangle exit, makes the animation of N two field picture composition can simulate photo to print from Polaroid or photo-printer having the effect of slice.
Obviously, it should be noted that, for the drafting of each two field picture, the part of the first thumbnail of each output can be not limited to the i/N of whole the first thumbnail, also can export successively according to other default ratios, in this no limit.
Preferably, complete after above-mentioned steps S302, can also be as required, all add the hatching effect of relevant position at rectangle outlet and thumbnail, to depict more realistically the 3-D effect of photo output.
By step S301 and step S302, can realize the drafting to i two field picture, so in turn draw out N two field picture by step shown in Fig. 3 with Preset Time interval iterative cycles, can present the animation of the first thumbnail from rectangle outlet output for user.
Preferably; because camera application program is under current shooting state; conventionally a upper photo of taking before this can be shown, and override a upper photo of shooting by just taking complete photo after shooting has been moved, thereby show with the form of thumbnail the up-to-date photo that user takes all the time; therefore; as one embodiment of the present of invention, after step S301, before step S302; as shown in Figure 4, also comprise:
Step S303: the second thumbnail that obtains a upper photo of shooting.
Wherein, the second thumbnail can be by calling storage the upper photo of shooting immediately generate, also can, by before this upper photo of taking is carried out in the process of instant playback, after generating thumbnail, execution step S102 store and directly call this thumbnail from corresponding storage space in step S401.
Step S304: draw the second thumbnail from rectangle exit towards outbound course.
Thus, a wherein two field picture of drawing out according to Fig. 4 can present effect as shown in Figure 5, and the photo printing covers output in a upper photo of taking.
According to the method shown in Fig. 4 of the present invention, if there is not a upper photo of shooting, can be after step S301, before step S302, directly draw blank thumbnail from rectangle exit outbound course, do not exist and take pictures before with the photo that is illustrated in current shooting.
In embodiments of the present invention, when user uses after camera function taken a photo, by drawing in real time the animation process of photo from specific outlet output, thereby user is just taken to complete photo and immediately, dynamically presented to user, reach the effect of photo instant playback intuitively, realized better the complete prompting of action executing of taking pictures to user.
Fig. 6 shows the structured flowchart of the photo instant playback device that the embodiment of the present invention provides, and this device can be arranged in the terminal device such as mobile phone, panel computer, for moving the photo instant playback method shown in Fig. 1 to Fig. 5 of the present invention.For convenience of explanation, only show the part relevant to the present embodiment.
With reference to Fig. 6, this device comprises:
Be written into unit 61, be written into animation forms at the interface of taking pictures.
Detecting unit 62, for detection of the event of taking pictures, and obtains current shooting photo according to the described event of taking pictures.
Generation unit 63, generates first thumbnail corresponding with described current shooting photo.
Drawing unit 64 is drawn the animation of the first thumbnail from rectangle outlet output in animation forms.
Alternatively, as shown in Figure 7, the first thumbnail generates by draw successively N two field picture described animation forms from the animation of rectangle outlet output, and described N is greater than 1 integer,
Wherein, drawing unit 64 comprises in the time drawing i two field picture:
First draws subelement 641, draws rectangle outlet.
Second draws subelement 642, exports the i/N part of drawing the first thumbnail towards outbound course at rectangle.
In concrete drawing process, draw subelement 642 by repeatedly carrying out the first drafting subelement 641 and second, until the drafting of whole animation process is complete.
Alternatively, drawing unit 64 also comprises:
Obtain subelement, obtain the second thumbnail of a upper photo of shooting.
The 3rd draws subelement, draws the second thumbnail from rectangle exit towards outbound course.
Alternatively, drawing unit 64 also comprises:
The 4th draws subelement, draws blank thumbnail from rectangle exit towards outbound course.
Alternatively, drawing unit 64 also comprises:
Hatching effect is added subelement, is used to described rectangle outlet and described the first thumbnail to add hatching effect.
In embodiments of the present invention, when user uses after camera function taken a photo, by drawing in real time the animation process of photo from specific outlet output, thereby user is just taken to complete photo and immediately, dynamically presented to user, reach the effect of photo instant playback intuitively, realized better the complete prompting of action executing of taking pictures to user.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., within all should being included in protection scope of the present invention.

Claims (10)

1. a photo instant playback method, is characterized in that, comprising:
Be written into animation forms at the interface of taking pictures;
The detection event of taking pictures, and obtain current shooting photo according to the described event of taking pictures;
Generate first thumbnail corresponding with described current shooting photo;
In described animation forms, draw the animation of described the first thumbnail from rectangle outlet output.
2. the method for claim 1, is characterized in that, described the first thumbnail generates by draw successively N two field picture described animation forms from the animation of rectangle outlet output, and described N is greater than 1 integer,
Wherein, the method for drafting i two field picture comprises:
The outlet of drafting rectangle;
Export the i/N part of drawing described the first thumbnail towards outbound course at described rectangle, described i is more than or equal to 1 and be less than or equal to the integer of N.
3. method as claimed in claim 2, is characterized in that, after described drafting rectangle outlet, described before described rectangle outlet is drawn the i/N part of described the first thumbnail towards outbound course, described method also comprises:
Obtain the second thumbnail of a upper photo of shooting;
Draw the second thumbnail from rectangle exit towards outbound course.
4. method as claimed in claim 2, is characterized in that, after described drafting rectangle outlet, described before described rectangle outlet is drawn the i/N part of described the first thumbnail towards outbound course, described method also comprises:
Draw blank thumbnail from rectangle exit towards outbound course.
5. the method as described in claim 2 ~ 4, is characterized in that, after described rectangle outlet is drawn the i/N part of described the first thumbnail towards outbound course, described method also comprises:
For described rectangle outlet and described the first thumbnail interpolation hatching effect.
6. a photo instant playback device, is characterized in that, comprising:
Be written into unit, for being written into animation forms at the interface of taking pictures;
Detecting unit, for detection of the event of taking pictures, and obtains current shooting photo according to the described event of taking pictures;
Generation unit, for generating first thumbnail corresponding with described current shooting photo;
Drawing unit, for drawing the animation of described the first thumbnail from rectangle outlet output at described animation forms.
7. device as claimed in claim 6, is characterized in that, described the first thumbnail generates by draw successively N two field picture described animation forms from the animation of rectangle outlet output, and described N is greater than 1 integer,
Wherein, described drawing unit comprises in the time drawing i two field picture:
First draws subelement, for drawing rectangle outlet;
Second draws subelement, and for export the i/N part of drawing described the first thumbnail towards outbound course at described rectangle, described i is more than or equal to 1 and be less than or equal to the integer of N.
8. device as claimed in claim 7, is characterized in that, described drawing unit also comprises:
Obtain subelement, for obtaining second thumbnail of a upper photo of shooting;
The 3rd draws subelement, for draw the second thumbnail from rectangle exit towards outbound course.
9. device as claimed in claim 7, is characterized in that, described drawing unit also comprises:
The 4th draws subelement, for draw blank thumbnail from rectangle exit towards outbound course.
10. the device as described in claim 7 ~ 9, is characterized in that, described drawing unit also comprises:
Hatching effect is added subelement, is used to described rectangle outlet and described the first thumbnail to add hatching effect.
CN201210505091.5A 2012-11-30 2012-11-30 A kind of photo instant playback method and device Active CN103853534B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210505091.5A CN103853534B (en) 2012-11-30 2012-11-30 A kind of photo instant playback method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210505091.5A CN103853534B (en) 2012-11-30 2012-11-30 A kind of photo instant playback method and device

Publications (2)

Publication Number Publication Date
CN103853534A true CN103853534A (en) 2014-06-11
CN103853534B CN103853534B (en) 2017-12-01

Family

ID=50861237

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210505091.5A Active CN103853534B (en) 2012-11-30 2012-11-30 A kind of photo instant playback method and device

Country Status (1)

Country Link
CN (1) CN103853534B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104793973A (en) * 2015-04-23 2015-07-22 惠州Tcl移动通信有限公司 Mobile terminal image file loading method and system
CN105068748A (en) * 2015-08-12 2015-11-18 上海影随网络科技有限公司 User interface interaction method in camera real-time picture of intelligent touch screen equipment
CN105681648A (en) * 2015-12-31 2016-06-15 北京金山安全软件有限公司 Picture viewing method and device and electronic equipment
CN116528038A (en) * 2023-07-03 2023-08-01 荣耀终端有限公司 Image processing method, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040215740A1 (en) * 2002-02-15 2004-10-28 Frank Brian S. Real-time data interface and method for browsers and the like
CN1571479A (en) * 2004-04-23 2005-01-26 惠州Tcl移动通信有限公司 Method for shooting motion picture using handset
CN1863297A (en) * 2005-05-12 2006-11-15 三星电子株式会社 Method for displaying image data in portable terminal
CN101431616A (en) * 2007-11-06 2009-05-13 奥林巴斯映像株式会社 Image synthesis device and method
US20090153434A1 (en) * 2007-12-14 2009-06-18 Jzung-I Cheng Display assistant system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040215740A1 (en) * 2002-02-15 2004-10-28 Frank Brian S. Real-time data interface and method for browsers and the like
CN1571479A (en) * 2004-04-23 2005-01-26 惠州Tcl移动通信有限公司 Method for shooting motion picture using handset
CN1863297A (en) * 2005-05-12 2006-11-15 三星电子株式会社 Method for displaying image data in portable terminal
CN101431616A (en) * 2007-11-06 2009-05-13 奥林巴斯映像株式会社 Image synthesis device and method
US20090153434A1 (en) * 2007-12-14 2009-06-18 Jzung-I Cheng Display assistant system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104793973A (en) * 2015-04-23 2015-07-22 惠州Tcl移动通信有限公司 Mobile terminal image file loading method and system
CN104793973B (en) * 2015-04-23 2018-09-18 惠州Tcl移动通信有限公司 A kind of loading method and system of mobile terminal picture file
CN105068748A (en) * 2015-08-12 2015-11-18 上海影随网络科技有限公司 User interface interaction method in camera real-time picture of intelligent touch screen equipment
CN105681648A (en) * 2015-12-31 2016-06-15 北京金山安全软件有限公司 Picture viewing method and device and electronic equipment
CN116528038A (en) * 2023-07-03 2023-08-01 荣耀终端有限公司 Image processing method, electronic equipment and storage medium
CN116528038B (en) * 2023-07-03 2023-10-20 荣耀终端有限公司 Image processing method, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN103853534B (en) 2017-12-01

Similar Documents

Publication Publication Date Title
JP6455147B2 (en) Electronic camera, image display device, and image display program
CN107566732B (en) Method for controlling camera of device and device thereof
CN102566918B (en) Display control apparatus and control method therefore
CN103401994B (en) A kind of method that guiding is taken pictures and mobile terminal
CN103999446B (en) The user interface of electronic equipment
CN108810256B (en) Control method and device
EP2770725A2 (en) Apparatus and method for processing an image in device
EP3690614A1 (en) Photographing apparatus control method, photographing apparatus and storage medium
CN103019537A (en) Image preview method and image preview device
CN104580891A (en) Method for terminal to take images
JP2013255203A (en) Imaging apparatus, control method therefor, program, and storage medium
CN103853534A (en) Method and device for immediately displaying pictures
EP4387218A1 (en) Video recording method and apparatus, electronic device, and medium
CN103699621A (en) Method for recording graphic and text information on materials recorded by mobile device
CN113918766B (en) Video thumbnail display method, apparatus and storage medium
EP4228243A1 (en) Photographing method and apparatus, and electronic device and readable storage medium
CN110290326A (en) A kind of information processing method and electronic equipment
CN104735353A (en) Method and device for taking panoramic photo
US20240129621A1 (en) Video recording method and electronic device
JP5952766B2 (en) Imaging apparatus and imaging method
CA2807866C (en) User interface for a digital camera
US9064351B2 (en) Display control apparatus and method for controlling the same
CN103927094B (en) Information processing method, device and electronic equipment
JP6120541B2 (en) Display control apparatus and control method thereof
CN114520878B (en) Video shooting method and device and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant