Method and system for image processing
First Claim
Patent Images
1. A method for image processing, comprising:
- loading and decrypting an image file to obtain an original image, and saving the original image;
shrinking the original image to obtain a pending image with a preset resolution, and saving the pending image;
editing the pending image and previewing the pending image in real time; and
editing the original image after the real-time preview of the pending image,wherein editing the pending image and previewing the pending image in real-time comprises;
adjusting, by a foreground thread, an image editing parameter and triggering a first background thread to perform a corresponding editing operation on the pending image according to the adjusted image editing a parameter; and
obtaining an effect image after the editing operation is completed, and notifying, by the first background thread, the foreground thread to show the effect image on a user interface for real-time preview.
1 Assignment
0 Petitions
Accused Products
Abstract
The disclosure provides a method for image processing, including: loading and decrypting an image file to obtain an original image, and saving the original image; shrinking the original image to obtain a pending image with a preset resolution, and saving the pending image; editing the pending image and previewing the pending image in real time; and editing the original image after the real-time previewing. The disclosure also provides a system for image processing. the disclosure can increase efficiency of real-time preview at the time of image editing.
-
Citations
8 Claims
-
1. A method for image processing, comprising:
-
loading and decrypting an image file to obtain an original image, and saving the original image; shrinking the original image to obtain a pending image with a preset resolution, and saving the pending image; editing the pending image and previewing the pending image in real time; and editing the original image after the real-time preview of the pending image, wherein editing the pending image and previewing the pending image in real-time comprises; adjusting, by a foreground thread, an image editing parameter and triggering a first background thread to perform a corresponding editing operation on the pending image according to the adjusted image editing a parameter; and obtaining an effect image after the editing operation is completed, and notifying, by the first background thread, the foreground thread to show the effect image on a user interface for real-time preview. - View Dependent Claims (2, 3, 4)
-
-
5. A system for image processing, comprising:
-
a loading decrypting unit configured to load and decrypt an image file to obtain an original image; a resizing unit configured to shrink the original image to obtain a pending image with a preset resolution; a saving unit configured to save the original image and the pending image; and an editing previewing unit configured to edit the pending image, preview the pending image in real time, and edit the original image after the real-time preview of the pending image, wherein the editing previewing unit comprises a foreground thread subunit and a first background thread subunit, wherein; the foreground thread subunit is configured to adjust an image editing parameter and trigger the first background thread subunit to execute an editing operation; and the first background thread subunit is configured to perform a corresponding editing operation on the pending image according to the adjusted image editing parameter to obtain an effect image, and notify the foreground thread subunit to show the effect image on a user interface for real-time preview. - View Dependent Claims (6, 7, 8)
-
Specification