Patent Description:
Electronic devices have been implemented as multimedia players having complex functions such as photographing, video-shooting, reproducing music or video files, gaming, and reception of a broadcast.

An electronic device may provide images to a user through a display, and the user may add a variety of information (e.g., comments) to the images. Users of electronic devices may easily generate and share dynamic images, as well as still images, using electronic devices.

Accordingly, there is an increasing need for a technique that enables the user to input desired information into the dynamic images and the still images. In the case where the user inputs information into the dynamic image, the electronic device may require a solution necessary to process the dynamic image in association with the information input by the user.

The published patent application <CIT>, discloses a device and methods for creating memo's in association with video being outputted. A memo function is activated when a touch drag input is received, while the video is being played. Once the memo function is activated, the video can be kept being played, or paused, by a further manual input. When kept being played while writing the memo, the video can be automatically stopped, when a predetermined condition is met.

The published patent application <CIT>, discloses adding handwritten annotations to a video clip, while the video clip is paused at a relevant frame.

The present disclosure has been made to address the above-mentioned problems and disadvantages, and to provide at least the advantages described below.

The invention is set out solely in the appended claims. Embodiments according to the invention are solely the specific combinations of features as defined in the claims.

Various embodiments of the present disclosure are described with reference to the accompanying drawings.

With regard to description of drawings, similar components may be marked by similar reference numerals.

<FIG> is a block diagram illustrating an electronic device <NUM> in a network environment <NUM> according to an embodiment.

The speaker may be used for general purposes, such as playing multimedia or playing a record, and the receiver may be used for an incoming calls.

The communication module <NUM> may include one or more communication processors that are operable independently from the processor <NUM> (e.g., the AP) and supports a direct (e.g., wired) communication or a wireless communication. A corresponding one of these communication modules may communicate with the external electronic device via the first network <NUM> (e.g., a short-range communication network, such as Bluetooth™, wireless-fidelity (Wi-Fi) direct, or Infrared Data Association (IrDA)) or the second network <NUM> (e.g., a long-range communication network, such as a cellular network, the Internet, or a computer network (e.g., LAN or wide area network (WAN)).

According to an embodiment, all or some of the operations to be executed at the electronic device <NUM> may be executed at one or more of the external electronic devices <NUM>, <NUM>, or <NUM>.

According to various embodiments, an electronic device may include a display, at least one processor, and a memory operatively connected to the at least one processor, wherein the memory may store instructions that cause (i.e., allow), when executed, the at least one processor to display a dynamic image in a stopped state, receive a drag input on an area in which the dynamic image is displayed in the stopped state, and display a path of the drag input superimposed on the dynamic image, which has been switched from the stopped state to a playback state, while the drag input remains in contact with the display.

The instructions may cause the at least one processor to restore the dynamic image to the stopped state in response to an operation of identifying that the drag input is released.

The instructions may cause the at least one processor to display the dynamic image in the stopped state along with at least one object for controlling the dynamic image, and deactivate the at least one object while the drag input remains in contact with the display.

The instructions may cause the at least one processor to activate the at least one deactivated object in response to an operation of identifying that the drag input is released.

The instructions may cause the at least one processor to deactivate the at least one object by stopping displaying the at least one object.

The instructions may cause the at least one processor to store the dynamic image displaying the path of the drag input, which is superimposed on the dynamic image, for a reproduction period in which the drag input remains in contact with the display, among an entire reproduction period of the dynamic image.

The electronic device may further include a communication circuit, and the instructions may cause the at least one processor to transmit the stored dynamic image to another electronic device using the communication circuit.

The instructions may cause the at least one processor to, in response to an operation of identifying that the drag input is released, determine whether or not another drag input is received after the drag input is released before a predetermined period of time elapses, and if another drag input is received before the predetermined period of time elapses, display a path of another drag input superimposed on the dynamic image displayed in the playback state while another drag input remains in contact with the display.

A reproduction speed of the dynamic image in the playback state may correspond to a speed of the drag input.

The instructions may cause the at least one processor to, in response to an operation of identifying that the drag input is released, restore the dynamic image to the stopped state, identify text corresponding to the path of the drag input, and change the path of the drag input superimposed on the dynamic image displayed in the stopped state to the text.

According to various embodiments, an electronic device may include a display, at least one processor, and a memory operatively connected to the at least one processor, wherein the memory may store instructions that cause, when executed, the at least one processor to display a dynamic image in a playback state, receive a drag input on an area in which the dynamic image is displayed in the playback state, and display a path of the drag input superimposed on the dynamic image, which has been switched from the playback state to a stopped state, while the drag input remains in contact with the display.

The instructions may cause the at least one processor to restore the dynamic image to the playback state in response to an operation of identifying that the drag input is released.

<FIG> is a flowchart illustrating a method for processing dynamic images in an electronic device, according to an embodiment.

<FIG> is a diagram illustrating a method for processing dynamic images in an electronic device, according to an embodiment.

Referring to <FIG>, a processor <NUM> of an electronic device <NUM> displays a dynamic image in a stopped state in step <NUM>. For example, the processor <NUM> may execute an application (e.g., a photographing application, a messaging application, or a media application) that provides a dynamic image on the basis of a user input. The processor <NUM> may display one or more dynamic images in a stopped state through a display <NUM> (i.e., display device) on the basis of execution of the application providing the dynamic images.

The processor <NUM> may display, using a photographing application, one or more dynamic images (e.g., videos) stored in the electronic device <NUM> or an external electronic device (e.g., the server <NUM>) in a thumbnail format, and may display one dynamic image in a stopped state, which is selected by the user from among the dynamic images.

The processor <NUM> may display a list of one or more dynamic images (e.g., movies and dramas) stored in the electronic device <NUM> or obtained from an external electronic device through a media application, and may display one dynamic image in a stopped state, which is selected by the user from the list.

The processor <NUM> may display a dynamic image <NUM> on the background of a message (e.g., a message background image) in a stopped state through a messaging application, as shown in <FIG>. In this case, the dynamic image <NUM> may be an image selected on the basis of a user input from among the images stored in the electronic device <NUM> or provided by the messaging application.

In step <NUM>, the processor <NUM> receives a drag input on the area in which the dynamic image is displayed in the stopped state. For example, the processor <NUM> may receive a drag input that is input onto the dynamic image <NUM> displayed in the stopped state, as shown in <FIG>.

The drag input may be performed through at least one of a touch or an electronic pen. The processor <NUM> may switch the dynamic image from the stopped state to a playback state while the drag input remains in contact with the display (or while the drag input is received in the area in which the dynamic image is displayed in the stopped state).

The processor <NUM> may deactivate at least one object displayed on the display while the drag input remains in contact with the display. For example, even if a finger or pen of the drag input touches at least one object displayed on the display while the drag input remains in contact with the display, the processor <NUM> may not perform the function corresponding to the touched object. Additionally or alternatively, the processor <NUM> may stop displaying at least one object while the drag input remains in contact with the area in which the dynamic image is displayed in the stopped state.

In step <NUM>, the processor <NUM> displays, on the display, a path of the drag input superimposed on the dynamic image that has been switched from the stopped state to the playback state. For example, the processor <NUM> may display a path <NUM> of the drag input on the dynamic image <NUM> that has been switched from the stopped state to the playback state through the display while the drag input remains in contact with the display, as shown in <FIG>. Additionally or alternatively, the processor <NUM> may display a path <NUM> of the drag input on the dynamic image <NUM> that has been switched from the stopped state to the playback state through the display while the drag input remains in contact with the display. Thereafter, if the drag input is released, the processor <NUM> may identify the text corresponding to the path <NUM> of the drag input, and may change the path <NUM> of the drag input into the identified text, thereby displaying the same.

The processor may display the dynamic image <NUM> on a first layer, and may display the path <NUM> of the drag input on a second layer overlaid on the first layer. The dynamic image that has been switched from the stopped state to the playback state may be reproduced at a predefined speed or at a speed corresponding to the speed of the drag input while the drag input remains in contact with the display. For example, the dynamic image may be reproduced at a predefined speed, regardless of the movement speed of the drag input. Additionally or alternatively, the dynamic image may be reproduced in proportion to the speed of the drag input.

If the path <NUM> of the drag input is displayed on the dynamic image <NUM>, the processor <NUM> may display a plurality of objects for editing and storing at least a portion of the path <NUM> of the drag input (e.g., a first object <NUM>, a second object <NUM>, a third object <NUM>, a fourth object <NUM>, and a fifth object <NUM>).

The first object <NUM> may provide a function of selecting a file format of the dynamic image (e.g., graphics interchange format (GIF) or Motion Picture Experts Group (MPEG)-<NUM> (MP4) format). The second object <NUM> may provide a function of storing the dynamic image <NUM> displaying the path <NUM> of the drag input thereon. The third object <NUM> may provide a function of removing at least a portion of the path <NUM> of the drag input from the dynamic image <NUM>. The fourth object <NUM> may provide a function of initializing the dynamic image <NUM> by removing the whole path <NUM> of the drag input from the dynamic image <NUM>. The fifth object <NUM> may provide a function of sequentially reproducing the paths of the drag inputs based on the input order (or time). If the drag input is released, or if a predetermined time has elapsed since the drag input was released, the processor <NUM> may restore the dynamic image from the playback state to the stopped state.

The user of the electronic device may perform a drag input for some of the reproduction period of the dynamic image, thereby adding a variety of information to the images corresponding thereto, through steps <NUM> to <NUM> in <FIG>. For example, if the dynamic image corresponding to a specific period, to which the user wishes to add information, is reproduced during the reproduction of the dynamic image, the user of the electronic device may stop the reproduction of the dynamic image, and may add information to the stopped dynamic image by means of a drag input.

<FIG> is a flowchart illustrating a method for removing a path of a drag input from a dynamic image in an electronic device, according to an embodiment. The following description may correspond to an operation performed after step <NUM> in <FIG>.

Referring to <FIG>, in step <NUM>, a processor <NUM> of an electronic device <NUM> receives an input with respect to a specified object, among a plurality of objects displayed when the dynamic image is switched from the playback state to the stopped state. For example, as shown in <FIG>, the processor <NUM> may receive an input with respect to the third object <NUM> that provides a function of removing at least a portion of the path <NUM> of the drag input from the dynamic image <NUM>, or may receive an input with respect to the fourth object <NUM> that provides a function of initializing the dynamic image by removing the entire path <NUM> of the drag input from the dynamic image <NUM>, among the plurality of objects <NUM> to <NUM> displayed along with the dynamic image <NUM> in the stopped state. The plurality of objects may be continuously displayed until the time at which an input with respect to the second object <NUM> providing a function of storing the dynamic image <NUM> displaying the path <NUM> of the drag input is received, or until the time at which the amount of data of the path <NUM> of the drag input amounts to a reference value.

In step <NUM>, the processor <NUM> removes at least a portion of the path of the drag input from the dynamic image on the basis of an input to a specified object. For example, if an input with respect to the third object <NUM> is received while the path <NUM> of the drag input is displayed on the dynamic image <NUM>, as shown in <FIG>, the processor <NUM> may remove, from the dynamic image, the path of the drag input (e.g., "e") which was generated by a last stroke, among the path <NUM> of the drag input (e.g., "I Love"). The processor <NUM> may convert the current dynamic image <NUM> into a previous dynamic image in which the path of the drag input generated by means of the last stroke is not displayed, thereby displaying the converted dynamic image. Additionally or alternatively, if an input with respect to the fourth object <NUM> is received while the path <NUM> of the drag input is displayed on the dynamic image <NUM>, as shown in <FIG>, the processor <NUM> may remove the entire path <NUM> of the drag input, and may convert the current dynamic image <NUM> into a previous dynamic image <NUM> in which the path <NUM> of the drag input is not displayed, thereby displaying the converted dynamic image.

<FIG> is a flowchart illustrating a method for storing a dynamic image file displaying a path of a drag input in an electronic device, according to an embodiment. The following description may correspond to an operation performed after step <NUM> in <FIG>.

Referring to <FIG>, in step <NUM>, a processor <NUM> of an electronic device <NUM> determines whether or not the drag input is released from the dynamic image in the playback state. If the drag input is released from the dynamic image in the playback state, the processor <NUM> performs steps <NUM> to <NUM>. If the drag input is not released from the dynamic image in the playback state, the processor <NUM> displays a path of the drag input so as to be superimposed on the dynamic image in the playback state as provided by step <NUM> in <FIG>.

If the drag input is released from the dynamic image in the playback state, the processor <NUM> restores the dynamic image to a stopped state in step <NUM>. For example, the processor <NUM> may switch the dynamic image from the playback state to a stopped state, and may then display the same at the time at which the drag input is released from the dynamic image in the playback state. The dynamic image switched from the playback state to the stopped state may contain the path of the drag input.

In step <NUM>, the processor <NUM> stores the dynamic image displaying the path of the drag input. For example, if an input with respect to the second object <NUM> providing a function of storing the dynamic image <NUM> displaying the path <NUM> of the drag input is received, as shown in <FIG>, the processor <NUM> may store the dynamic image <NUM> displaying the path <NUM> of the drag input. Additionally or alternatively, if an amount of data of the path <NUM> of the drag input is greater than or equal to a reference value, the processor <NUM> may automatically store the dynamic image <NUM> displaying the path <NUM> of the drag input.

The processor <NUM> may store the dynamic image <NUM> displaying the path <NUM> of the drag input as a separate file from the original file of the dynamic image, as shown in <FIG>, or may update the dynamic image <NUM> of the original file with the dynamic image <NUM> displaying the path <NUM> of the drag input, and may then store the same. The processor <NUM> may perform text recognition for the path <NUM> of the drag input, may determine text corresponding to the path <NUM> of the drag input, and may use the determined text as a file name of the dynamic image <NUM> displaying the path <NUM> of the drag input.

After storing the dynamic image <NUM> displaying the path <NUM> of the drag input, the processor <NUM> may transmit the stored dynamic image <NUM> to an external electronic device (e.g., the electronic device <NUM>) through a communication module <NUM>.

Referring to <FIG>, in step <NUM>, a processor <NUM> of an electronic device <NUM> determines whether or not the drag input is released from the dynamic image, which is in the playback state. If the drag input is released from the dynamic image in the playback state, the processor <NUM> performs steps <NUM> to <NUM>. If the drag input is not released from the dynamic image in the playback state, the processor <NUM> displays a path of the drag input on the dynamic image in the playback state as step <NUM> in <FIG>.

If the drag input is released from the dynamic image in the playback state, the processor <NUM> determines whether or not another drag input is received before a specified period of time (e.g., <NUM> seconds) elapses in step <NUM>. The processor <NUM> may maintain the playback state of the dynamic image after the time at which the drag input is released and before a specified period of time elapses, or may switch the dynamic image from the playback state to the stopped state at the time at which the drag input is released, and may then display the switched dynamic image. If another drag input is received after the time at which the drag input is released and before a specified period of time elapses, the processor <NUM> performs step <NUM>. If another drag input is not received before a specified period of time elapses, the processor <NUM> performs steps <NUM> to <NUM>.

If another drag input is received before a specified period of time elapses, the processor <NUM> displays a path of another drag input in step <NUM>. For example, if the drag input is released while the dynamic image <NUM> displaying the path <NUM> of the drag input is displayed, as shown in <FIG>, and if another drag input is received within a specified period of time, the processor <NUM> may display a path <NUM> of another drag input superimposed on the dynamic image <NUM> in the playback state. If the path <NUM> of another drag input is displayed, the processor <NUM> may perform step <NUM> again in order to determine whether or not the drag input is released.

If another drag input is not received before a specified period of time elapses, the processor <NUM> restores the dynamic image to the stopped state in step <NUM>. For example, the processor <NUM> may switch the dynamic image from the playback state to the stopped state, thereby displaying the switched dynamic image at the time at which a specified period of time elapsed since the drag input is released from the dynamic image in the playback state. The dynamic image switched from the playback state to the stopped state may include the paths of the drag inputs.

In step <NUM>, the processor <NUM> stores the dynamic image displaying the paths of the drag inputs. For example, if an input with respect to the second object <NUM> providing a function of storing the dynamic image <NUM> displaying the path <NUM> of the drag input is received, as shown in <FIG>, the processor <NUM> may store the dynamic image <NUM> displaying the path <NUM> of the drag input. Additionally or alternatively, if the amount of data of the path <NUM> of the drag input is greater than or equal to a reference value, the processor <NUM> may automatically store the dynamic image <NUM> displaying the path <NUM> of the drag input. The processor <NUM> may store the dynamic image <NUM> displaying the path <NUM> of the drag input as a separate file from the original file of the dynamic image, as shown in <FIG>, or may update the dynamic image <NUM> of the original file with the dynamic image <NUM> displaying the path <NUM> of the drag input, thereby storing the same. The processor <NUM> may perform text recognition for the path <NUM> of the drag input, may determine text corresponding to the path <NUM> of the drag input, and may use the determined text as a file name of the dynamic image <NUM> displaying the path <NUM> of the drag input.

<FIG> is a flowchart illustrating a method for processing a dynamic image in an electronic device, according to an embodiment.

<FIG> is a diagram illustrating a method for processing a dynamic image in an electronic device, according to an embodiment.

Referring to <FIG> and <FIG>, a processor <NUM> of an electronic device <NUM> displays a dynamic image in a playback state in step <NUM>. The processor <NUM> may execute an application (e.g., a photographing application or a media application) that provides a dynamic image on the basis of a user input. The processor <NUM> may display one or more dynamic images in a playback state through a display <NUM> on the basis of the execution of the application providing the dynamic images. For example, the processor <NUM> may display, using a photographing application, one or more dynamic images (e.g., videos) stored in the electronic device <NUM> or an external electronic device (e.g., the server <NUM>) in the form of thumbnails, and may display one dynamic image in a playback state on the basis of an input for reproducing one of the dynamic images displayed in the form of thumbnails. Additionally or alternatively, the processor <NUM> may display a list of one or more dynamic images (e.g., movies and dramas) stored in the electronic device <NUM> or obtained from an external electronic device (e.g., the server <NUM>) through a media application, and may display one dynamic image <NUM> in a playback state on the basis of an input for reproducing one of the dynamic images, as shown in <FIG>.

In step <NUM>, the processor <NUM> receives a drag input on the area in which the dynamic image is displayed in the playback state. For example, the processor <NUM> may receive a drag input performed on the dynamic image <NUM> displayed in the playback state, as shown in <FIG>. The drag input may be conducted by means of at least one of a touch or an electronic pen. The processor <NUM> may switch the dynamic image from the playback state to a stopped state while the drag input remains in contact with the display (or while the drag input is maintained on the area in which the dynamic image is displayed in the playback state). The processor <NUM> may deactivate at least one object displayed on the display while the drag input remains in contact with the display. For example, even if a finger or pen of the drag input touches at least one object displayed on the display while the drag input remains in contact with the display, the processor <NUM> may not perform the function corresponding to the touched object. Additionally or alternatively, the processor <NUM> may stop displaying at least one object while the drag input remains in contact with the area in which the dynamic image is displayed in the stopped state.

In step <NUM>, the processor <NUM> displays, on the display, a path of the drag input superimposed on the dynamic image that has been switched from the playback state to the stopped state. For example, the processor <NUM> may display, on the display, a path <NUM> of a drag input on a dynamic image <NUM> that has been switched from a playback state to a stopped state while the drag input remains in contact with the display, as shown in <FIG>. Additionally or alternatively, the processor <NUM> may display, on the display, the path <NUM> of the drag input on the dynamic image <NUM> that has been switched from the playback state to the stopped state while the drag input remains in contact with the display. Thereafter, if the drag input is released, the processor <NUM> may identify text corresponding to the path <NUM> of the drag input, and may change the path <NUM> of the drag input into the identified text, thereby displaying the same.

The processor may display the dynamic image <NUM> on a first layer, and may display the path <NUM> of the drag input on a second layer overlaid on the first layer. If the path <NUM> of the drag input is displayed on the dynamic image <NUM>, the processor <NUM> may display a plurality of objects for editing and storing at least a portion of the path <NUM> of the drag input (e.g., a first object <NUM>, a second object <NUM>, a third object <NUM>, a fourth object <NUM>, a fifth object <NUM>, and a sixth object <NUM>), as shown in <FIG>.

The first object <NUM> may provide a function of sharing the path <NUM> of the drag input or the dynamic image <NUM> displaying the path <NUM> of the drag input with an external electronic device (e.g., the electronic device <NUM>). The second object <NUM> may provide a function of storing the dynamic image <NUM> displaying the path <NUM> of the drag input. The third object <NUM> may provide a function of stopping displaying at least some of the plurality of objects, which are displayed along with the dynamic image <NUM>. The fourth object <NUM> may provide a function of removing at least a portion of the path <NUM> of the drag input from the dynamic image <NUM>. The fifth object <NUM> may provide a function of initializing the dynamic image <NUM> by removing the entire path <NUM> of the drag input from the dynamic image <NUM>. The sixth object <NUM> may provide a function of sequentially reproducing the paths of the drag inputs based on the input order (or time). If the drag input is released, or if a predetermined time has elapsed since the drag input was released, the processor <NUM> may restore the dynamic image from the stopped state to the playback state.

The user of the electronic device may perform a drag input with respect to some of the entire reproduction period of the dynamic image, thereby adding a variety of information to the images corresponding thereto, through steps <NUM> to <NUM> in <FIG>. For example, the user of the electronic device may add information to the dynamic image corresponding to a specific period, to which the user wishes to add information, by means of a drag input.

<FIG> is a flowchart illustrating a method for removing a path of a drag input from a dynamic image in an electronic device, according to an embodiment.

The following description may correspond to an operation performed after step <NUM> in <FIG>.

Referring to <FIG>, in step <NUM>, a processor <NUM> of an electronic device <NUM> receives an input with respect to a specified object, among a plurality of objects displayed when the dynamic image is switched from the playback state to the stopped state. As shown in <FIG>, the processor <NUM> may receive an input with respect to the fourth object <NUM> that provides a function of removing at least a portion of the path <NUM> of the drag input from the dynamic image <NUM>, or may receive an input with respect to the fifth object <NUM> that provides a function of initializing the dynamic image <NUM> by removing the path <NUM> of the drag input from the dynamic image <NUM>. The plurality of objects may be displayed until the time at which an input with respect to the second object <NUM> providing a function of storing the dynamic image <NUM> displaying the path <NUM> of the drag input is received or until the time at which the amount of data of the path <NUM> of the drag input is greater than or equal to a reference value.

In step <NUM>, the processor <NUM> removes at least a portion of the path of the drag input from the dynamic image on the basis of an input to a specified object. For example, if an input with respect to the fourth object <NUM> is received while the path <NUM> of the drag input is displayed on the dynamic image <NUM>, as shown in <FIG>, the processor <NUM> may remove, from the dynamic image <NUM>, the path of the drag input (e.g., "d"), which was generated by a last stroke, among the path <NUM> of the drag input (e.g., "Good"), and may convert the current dynamic image <NUM> into a previous dynamic image in which the path of the drag input generated by the last stroke is not displayed, thereby displaying the converted dynamic image. Additionally or alternatively, if an input with respect to the fifth object <NUM> is received while the path <NUM> of the drag input is displayed on the dynamic image <NUM>, as shown in <FIG>, the processor <NUM> may remove the entire path <NUM> of the drag input, and may convert the current dynamic image <NUM> into a previous dynamic image <NUM> in which the path <NUM> of the drag input is not displayed, thereby displaying the converted dynamic image.

Referring to <FIG>, in step <NUM>, a processor <NUM> of an electronic device <NUM> determines whether or not the drag input is released from the dynamic image, which is in the stopped state. If the drag input is released from the dynamic image in the stopped state, the processor <NUM> performs steps <NUM> to <NUM>. If the drag input is not released from the dynamic image in the stopped state, the processor <NUM> displays a path of the drag input superimposed on the dynamic image in the stopped state as step <NUM> in <FIG>.

If the drag input is released from the dynamic image in the stopped state, the processor <NUM> restores the dynamic image to a playback state in step <NUM>. For example, the processor <NUM> may switch the dynamic image from the stopped state to a playback state at the time at which the drag input is released from the dynamic image in the stopped state, and may display the same.

In step <NUM>, the processor <NUM> may store the dynamic image displaying the path of the drag input. For example, if an input with respect to the second object <NUM> providing a function of storing the dynamic image <NUM> displaying the path <NUM> of the drag input is received, the processor <NUM> may store the dynamic image <NUM> displaying the path <NUM> of the drag input, as shown in <FIG>. If the amount of data of the path <NUM> of the drag input is greater than or equal to a reference value, the processor <NUM> may automatically store the dynamic image <NUM> displaying the path <NUM> of the drag input.

The processor <NUM> may store the dynamic image <NUM> displaying the path <NUM> of the drag input as a separate file from the original file of the dynamic image, as shown in <FIG>, or may update the dynamic image of the original file with the dynamic image <NUM> displaying the path <NUM> of the drag input, and may then store the same. The processor <NUM> may perform text recognition for the path <NUM> of the drag input, may determine text corresponding to the path <NUM> of the drag input, and may use the determined text as a file name of the dynamic image <NUM> displaying the path <NUM> of the drag input.

After storing the dynamic image <NUM> displaying the path <NUM> of the drag input, the processor <NUM> may transmit the stored dynamic image <NUM> to an external electronic device <NUM> through a communication module <NUM>. For example, after storing the dynamic image <NUM> displaying the path <NUM> of the drag input, the processor <NUM> may receive an input with respect to the first object <NUM> providing a function of sharing the path <NUM> of the drag input or the dynamic image <NUM> displaying the path <NUM> of the drag input with an external electronic device. In response to the receipt of the input to the first object <NUM>, the processor <NUM> may provide a screen displaying one or more external electronic devices capable of sharing the dynamic image <NUM>. The processor <NUM> may transmit the path <NUM> of the drag input or the dynamic image <NUM> displaying the path <NUM> of the drag input to at least one external electronic device selected by the user from among the one or more external electronic devices displayed on the screen.

Referring to <FIG>, in step <NUM>, a processor <NUM> of an electronic device <NUM> determines whether or not the drag input is released from the dynamic image, which is in the stopped state. If the drag input is released from the dynamic image in the stopped state, the processor <NUM> performs steps <NUM> to <NUM>. If the drag input is not released from the dynamic image in the stopped state, the processor <NUM> displays a path of the drag input on the dynamic image in the stopped state as step <NUM> in <FIG>.

If the drag input is released from the dynamic image in the stopped state, the processor <NUM> determines whether or not another drag input is received before a specified period of time (e.g., <NUM> seconds) elapses in step <NUM>. The processor <NUM> may maintain the stopped state of the dynamic image after the time at which the drag input is released and before a specified period of time elapses, or may switch the dynamic image from the playback state to the stopped state at the time at which the drag input is released, and may then display the switched dynamic image. If another drag input is received after the time at which the drag input is released and before a specified period of time elapses, the processor <NUM> performs step <NUM>. If another drag input is not received before a specified period of time elapses, the processor <NUM> performs steps <NUM> to <NUM>.

If another drag input is received before a specified period of time elapses, the processor <NUM> displays the path of another drag input in step <NUM>. For example, as shown in <FIG>, if the drag input is released while the dynamic image <NUM> displaying the path <NUM> of the drag input is displayed, and if another drag input is received within a specified period of time, the processor <NUM> may display the path <NUM> of another drag input superimposed on the dynamic image <NUM> in the playback state. If the path <NUM> of another drag input is displayed, the processor <NUM> performs step <NUM> again in order to determine whether or not the drag input is released.

If another drag input is not received before a specified period of time elapses, the processor <NUM> restores the dynamic image to the playback state in step <NUM>. For example, the processor <NUM> may switch the dynamic image from the playback state to the stopped state at the time at which a specified period of time has elapsed since the drag input was released from the dynamic image in the stopped state, and may then display the switched dynamic image.

In step <NUM>, the processor <NUM> stores the dynamic image displaying the path of the drag input. For example, if an input with respect to the second object <NUM> providing a function of storing the dynamic image <NUM> displaying the path <NUM> of the drag input is received, as shown in <FIG>, the processor <NUM> may store the dynamic image <NUM> displaying the path <NUM> of the drag input. If the amount of data of the path <NUM> of the drag input is greater than or equal to a reference value, the processor <NUM> may automatically store the dynamic image <NUM> displaying the path <NUM> of the drag input.

The processor <NUM> may store the dynamic image <NUM> displaying the path <NUM> of the drag input as a separate file from the original file of the dynamic image, as shown in <FIG>, or may update the original file of the dynamic image with the dynamic image <NUM> displaying the path <NUM> of the drag input, and may then store the same. The processor <NUM> may perform text recognition with respect to the path <NUM> of the drag input, may determine text corresponding to the path <NUM> of the drag input, and may use the determined text as a file name of the dynamic image <NUM> displaying the path <NUM> of the drag input.

After storing the dynamic image <NUM> displaying the path <NUM> of the drag input, the processor <NUM> may transmit the stored dynamic image <NUM> an external electronic device (e.g., the electronic device <NUM>) through a communication module <NUM>. For example, after storing the dynamic image <NUM> displaying the path <NUM> of the drag input, the processor <NUM> may receive an input with respect to the first object <NUM> providing a function of sharing the path <NUM> of the drag input or the dynamic image <NUM> displaying the path <NUM> of the drag input with an external electronic device. In response to the receipt of the input to the first object <NUM>, the processor <NUM> may provide a screen displaying one or more external electronic devices capable of sharing the dynamic image <NUM>. The processor <NUM> may transmit the path <NUM> of the drag input or the dynamic image <NUM> displaying the path <NUM> of the drag input to at least one external electronic device selected by the user from among the one or more external electronic devices displayed on the screen.

According to various embodiments, a method for processing a dynamic image in an electronic device may include displaying a dynamic image in a stopped state, receiving a drag input onto an area in which the dynamic image is displayed in the stopped state, and displaying a path of the drag input superimposed on the dynamic image, which has been switched from the stopped state to a playback state, while the drag input remains in contact with a display of the electronic device.

The method for processing a dynamic image in an electronic device may further include restoring the dynamic image to the stopped state in response to an operation of identifying that the drag input is released.

The method for processing a dynamic image in an electronic device may further include displaying the dynamic image in the stopped state along with at least one object for controlling the dynamic image, and deactivating the at least one object while the drag input remains in contact with the display.

The method for processing a dynamic image in an electronic device may further include activating the at least one deactivated object in response to the operation of identifying that the drag input is released.

Deactivating the at least one object may include stopping displaying of the at least one object.

The method for processing a dynamic image in an electronic device may further include storing the dynamic image displaying the path of the drag input, which is superimposed on the dynamic image, for a reproduction period in which the drag input remains in contact with the display, among an entire reproduction period of the dynamic image.

The method for processing a dynamic image in an electronic device may further include transmitting the stored dynamic image to another electronic device.

The method for processing a dynamic image in an electronic device may further include, in response to an operation of identifying that the drag input is released, determining whether or not another drag input is received after the drag input is released and before a predetermined period of time elapses, and if another drag input is received before the predetermined period of time elapses, displaying a path of another drag input superimposed on the dynamic image displayed in the playback state while another drag input remains in contact with the display.

According to various embodiments, a method for processing a dynamic image in an electronic device may include displaying a dynamic image in a playback state, receiving a drag input onto an area in which the dynamic image is displayed in the playback state, and displaying a path of the drag input superimposed on the dynamic image, which has been switched from the playback state to a stopped state, while the drag input remains in contact with the display.

The method for processing a dynamic image in an electronic device may further include restoring the dynamic image to the playback state in response to an operation of identifying that the drag input is released.

Claim 1:
An electronic device comprising:
a display;
at least one processor; and
a memory operatively connected to the at least one processor,
wherein the memory stores instructions that cause, when executed, the at least one processor to:
display a dynamic image in a stopped state,
receive a drag input with a path onto an area in which the dynamic image is displayed in the stopped state,
switch the dynamic image from the stopped state to a playback state while the drag input is received in the dynamic image,
display the path of the drag input superimposed on the dynamic image, which has been switched from the stopped state to the playback state, and
restore the dynamic image from the playback state to the stopped state, in response to the drag input being released from the display or in response to a predetermined period of time having elapsed since the drag input is released from the display, and display at least one first object (<NUM>, <NUM>) for editing a portion of the path of the drag input,
wherein the at least one first object (<NUM>, <NUM>) provides a function of removing at least a portion of the path of the drag input from the dynamic image.