IP Library Granted Patent US 10,593,018
Granted Patent B2
US 10,593,018 · App. 15/971,800 · Granted Mar 17, 2020

Picture processing method and apparatus, and storage medium

Inventor: Yu Zhong (Shenzhen, CN)
Assignee: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
G06T3/4038G06K9/4604G06T11/00G06T11/60
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,593,018
App. No.
15/971,800
Granted
Mar 17, 2020
Kind
B2
Abstract

A picture processing method and apparatus, and a storage medium are provided. First picture information is obtained from a first container, the first picture information being presented as a first picture on a first picture layer. A screenshot picture information is obtained by taking a screenshot of a second container containing a plurality of pictures. The screenshot picture information includes second picture information in the second container, and the second picture information is presented as a second picture on a second picture layer, where the plurality of pictures form sub-pictures of the second picture. The first picture information and the screenshot picture information are combined, to obtain a combined picture of the first picture and the plurality of pictures in a single combining operation.

Claims (69)

1. A picture processing method, comprising:

obtaining first picture information from a first container, the first picture information being presented as a first picture on a first picture layer, the first picture information including at least one of size information of the first picture and position information of the first picture on the first picture layer;

creating a second container according to the first picture information;

inputting into the second container first and second sub-pictures respectively presented on first and second sub-layers;

combining within the second container the first and second sub-pictures by overlaying the first and second sub-layers;

obtaining second picture information by taking a screenshot of the second container, and the second picture information being presented as a second picture on a second picture layer, wherein the second picture includes the first and second sub-pictures; and

combining the first picture information and the second picture information to obtain a combined picture of the first picture and the second picture.

2. The method according to claim 1 , wherein obtaining the second picture information comprises:

determining whether the first sub-picture overlaps the second sub-picture;

generating, if the first sub-picture overlaps the second sub-picture, screenshot picture information including first sub-picture information and partial second sub-picture information, the partial second sub-picture information being information about a part of the second sub-picture not overlapped by the first sub-picture; and

obtaining the second picture information from the screenshot picture information.

3. The method according to claim 1 , wherein obtaining the second picture information comprises:

creating the second container;

performing a rendering operation on the second container to obtain the second picture layer;

positioning the second picture layer on top of at least a portion of the first picture layer;

performing a second rendering operation on the second container to obtain the second picture; and

presenting the second picture on the second picture layer.

4. The method according to claim 1 , wherein obtaining second picture information comprises:

sending indication information to the second container to adjust at least one of a position of the second picture on the second picture layer and a size of the second picture; and

controlling the second container to:

adjust, according to the indication information, the position of the second picture to an indicated position according to the indication information; and

adjust the size of the second picture to an indicated size according to the indication information.

5. The method according to claim 1 , wherein the second picture information further includes position information of at least one of the first sub-picture and the second sub-picture.

6. The method according to claim 1 , further comprising:

presenting the second picture layer in a size according to the size information of the first picture; and

presenting the second picture layer at a position according to the position information of the first picture.

7. The method according to claim 1 , wherein, in presenting the combined picture, the second picture layer is positioned on top of the first picture layer with an overlapping area corresponding to a first area of the first picture layer and a second area of the second picture layer, the first area being more opaque than the second area.

8. A picture processing system, comprising: a memory storing computer instructions; and a processor coupled to the memory and, when executing the computer instructions, configured to perform:

obtaining first picture information from a first container, the first picture information being presented as a first picture on a first picture layer, the first picture information including at least one of size information of the first picture and position information of the first picture on the first picture layer;

creating a second container according to the first picture information;

inputting into the second container first and second sub-pictures respectively presented on first and second sub-layers;

combining within the second container the first and second sub-pictures by overlaying the first and second sub-layers;

obtaining second picture information by taking a screenshot of the second container, and the second picture information being presented as a second picture on a second picture layer, wherein the second picture includes the first and second sub-pictures; and

combining the first picture information and the second picture information to obtain a combined picture of the first picture and the second picture.

9. The system according to claim 8 , wherein obtaining the second picture information comprises:

determining whether the first sub-picture overlaps the second sub-picture;

generating, if the first sub-picture overlaps the second sub-picture, screenshot picture information including first sub-picture information and partial second sub-picture information, the partial second sub-picture information being information about a part of the second sub-picture not overlapped by the first sub-picture; and

obtaining the second picture information from the screenshot picture information.

10. The system according to claim 8 , wherein obtaining the second picture information comprises:

creating the second container;

performing a rendering operation on the second container to obtain the second picture layer;

positioning the second picture layer on top of at least a portion of the first picture layer;

performing a second rendering operation on the second container to obtain the second picture; and

presenting the second picture on the second picture layer.

11. The system according to claim 8 , wherein obtaining the second picture information comprises:

sending indication information to the second container to adjust at least one of a position of the second picture on the second picture layer and a size of the second picture; and

controlling the second container to:

adjust, according to the indication information, the position of the second picture to an indicated position according to the indication information; and

adjust the size of the second picture to an indicated size according to the indication information.

12. A non-transitory computer-readable storage medium storing computer program instructions executable by at least one processor to perform:

obtaining first picture information from a first container, the first picture information being presented as a first picture on a first picture layer, the first picture information including at least one of size information of the first picture and position information of the first picture on the first picture layer;

creating a second container according to the first picture information;

inputting into the second container first and second sub-pictures respectively presented on first and second sub-layers;

combining within the second container the first and second sub-pictures by overlaying the first and second sub-layers;

obtaining second picture information by taking a screenshot of the second container, and the second picture information being presented as a second picture on a second picture layer, wherein the second picture includes the first and second sub-pictures; and

combining the first picture information and the second picture information, to obtain a combined picture of the first picture and the second picture.

13. The non-transitory computer-readable storage medium according to claim 12 , wherein obtaining the second picture information comprises:

determining whether the first sub-picture overlaps the second sub-picture;

generating, if the first sub-picture overlaps the second sub-picture, screenshot picture information including first sub-picture information and partial second sub-picture information, the partial second sub-picture information being information about a part of the second sub-picture not overlapped by the first sub-picture; and

obtaining the second picture information from the screenshot picture information.

14. The non-transitory computer-readable storage medium according to claim 12 , wherein obtaining the second picture information comprises:

determining whether the first sub-picture overlaps the second sub-picture;

generating, if the first sub-picture overlaps the second sub-picture, screenshot picture information including first sub-picture information and partial second sub-picture information, the partial second sub-picture information being information about a part of the second sub-picture not overlapped by the first sub-picture; and

obtaining the second picture information from the screenshot picture information.

15. The non-transitory computer-readable storage medium according to claim 12 , wherein obtaining second picture information comprises:

sending indication information to the second container to adjust at least one of a position of the second picture on the second picture layer and a size of the second picture; and

controlling the second container to:

adjust, according to the indication information, the position of the second picture to an indicated position according to the indication information; and

adjust the size of the second picture to an indicated size according to the indication information.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 4, 2018
From: ZHONG, YU
To: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
Reel/Frame 046080/0683 →
Priority Claims (1)
CN 2016 1 0042105 · Jan 21, 2016 · national
Continuity (2)
Continuation PCTCN2017071753 · Jan 19, 2017
Related Publication 20180253824A1 · Sep 6, 2018