CN105303516A - Picture batch processing method and system - Google Patents
Picture batch processing method and system Download PDFInfo
- Publication number
- CN105303516A CN105303516A CN201510666294.6A CN201510666294A CN105303516A CN 105303516 A CN105303516 A CN 105303516A CN 201510666294 A CN201510666294 A CN 201510666294A CN 105303516 A CN105303516 A CN 105303516A
- Authority
- CN
- China
- Prior art keywords
- picture
- size
- file
- path
- user
- 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
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 16
- 238000012545 processing Methods 0.000 claims abstract description 44
- 238000000034 method Methods 0.000 claims abstract description 14
- 238000000151 deposition Methods 0.000 claims 1
- 238000012805 post-processing Methods 0.000 abstract 2
- 238000010008 shearing Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000007812 deficiency Effects 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Classifications
-
- G06T3/04—
Landscapes
- Image Processing (AREA)
- Facsimile Image Signal Circuits (AREA)
Abstract
The invention discloses a picture batch processing method and system. The picture batch processing method comprises the following steps that: a picture source file path and a picture post-processing storage path inputted by a user are read; a picture file is read according to the picture source file path, a picture flow is obtained; adjustment parameters inputted by the user are read, wherein the adjustment parameters include the size and scaling of pictures; size and scaling adjustment is performed on the read picture file according to the adjustment parameters inputted by the user; and the adjusted picture file is stored in the picture post-processing storage path. With the method provided by the invention adopted, batch processing of pictures can be realized.
Description
Technical field
The present invention relates to picture Processing Technique field, be specifically related to a kind of picture batch processing method and system.
Background technology
In conventional photo handling software (as photoshop), they are enough powerful to the processing capacity of picture, as shearings, convergent-divergent, greyscale transformation, color transformed etc. process and can realize one by one.But in real world applications, when having many pictures to need to carry out same process, conventional photo handling software but can not carry out batch processing, and this is a deficiency.
Such as, when needing the thumbnail to all picture batches generation one in a certain file is very little, if with conventional photo handling software, then need to process one by one.For another example, to the picture under identical file folder, when the part all will sheared wherein is deposited as new picture, conventional photo handling software can not realize this batch processing.
Summary of the invention
Technical matters to be solved by this invention is to provide a kind of picture batch processing method and system, can realize the batch processing of picture.
The technical scheme that the present invention solves the problems of the technologies described above is as follows:
According to one aspect of the present invention, provide a kind of picture batch processing method, described method comprises:
Path is deposited after the picture source file path of reading user input and picture processing;
According to described picture source file path, read picture file, obtain picture stream;
Read the adjustment parameter of user's input, described adjustment parameter comprises size and the scaling of picture;
According to the adjustment parameter of user's input, the picture file read is carried out to the adjustment of size and scaling;
Picture file after adjustment to be stored into after described picture processing in store path.
According to another aspect of the present invention, provide a kind of picture batch processing system, described system comprises:
Path read module, for read user input picture source file path and picture processing after deposit path;
Picture file read module, for according to described picture source file path, reads picture file, obtains picture stream;
Adjustment parameter read module, for reading the adjustment parameter of user's input, described adjustment parameter comprises size and the scaling of picture;
Picture adjusting module, for the adjustment parameter inputted according to user, carries out the adjustment of size and scaling to the picture file read;
Picture storage module, for being stored into after described picture processing in store path by the picture file after adjustment.
A kind of picture batch processing method provided by the invention and system, the adjustment parameter inputted by user carries out adjustment in batches to the picture in picture source file, picture-storage after adjustment in batches is deposited in path after picture processing, the batch processing of picture can be realized, improve the efficiency of picture processing, solve the complicated processes of artificial treatment picture.
Accompanying drawing explanation
Fig. 1 is a kind of picture batch processing method process flow diagram of the embodiment of the present invention one;
Fig. 2 is a kind of picture batch processing system schematic diagram of the embodiment of the present invention two.
Embodiment
Be described principle of the present invention and feature below in conjunction with accompanying drawing, example, only for explaining the present invention, is not intended to limit scope of the present invention.
Embodiment one, a kind of picture batch processing method.Below in conjunction with Fig. 1, the method that the present embodiment provides is described in detail.
In Fig. 1, after S101, the picture source file path of reading user's input and picture processing, deposit path.
Concrete, when needing to carry out batch processing to the picture in picture source file, deposit path after user can input picture source file path and picture processing in server, so that server obtains picture source file, adjustment is carried out to picture source file and processes.
S102, according to picture source file path, read picture file, obtain picture stream.
Concrete, the picture source file path that server input according to user, reading picture file, wherein, the picture in the picture file of reading comprises the picture of the picture of same size, the picture of different size, the picture of identical storage size and different storage size.
The adjustment parameter of S103, reading user input, wherein, adjustment parameter comprises size and the scaling of picture.
Concrete, when server obtains picture file by the picture source file path that user inputs, also can read the picture adjustment parameter of user's input simultaneously, the picture adjustment parameter of user's input comprises the size of picture and the scaling of picture, wherein, the size of picture comprises the size in size that picture eats and picture-storage space.
In addition, the picture adjustment parameter of user's input also comprises the brightness of picture, contrast, saturation degree, tone and sharpness etc.
S104, the adjustment parameter inputted according to user, carry out the adjustment of size and scaling to the picture file read.
Concrete, the adjustment parameter that server inputs according to user, adjusts the picture file read.Specifically, according to the picture size of user's input, first according to the size of the dimension of picture of user's input, batch is carried out to the picture read and shears, the picture of reading is cut into the picture of same size, then the picture after shearing is carried out to the adjustment of scaling.
In addition, the adjustment parameters such as the brightness of the picture that server inputs according to user, contrast, saturation degree, tone and sharpness, carry out the adjustment of brightness, contrast, saturation degree, tone and sharpness etc. to picture.
S105, the picture file after adjustment to be stored into after picture processing in store path.
Concrete, after picture adjusts by adjustment parameter input according to user when server, after the picture processing that the picture-storage after adjusting is inputted to aforementioned user in store path.Whether, when specifically carrying out, deposit path and exist after judging picture processing, if do not exist, then new folder, by the picture-storage after process in newly-built file.
Embodiment two, a kind of picture batch processing system.Below in conjunction with Fig. 2, the system that the present embodiment provides is described in detail.
In Fig. 2, the system that the present embodiment provides comprises path read module 201, picture file read module 202, adjustment parameter read module 203, picture adjusting module 204, the newly-built module 205 of file and picture storage module 206.
Wherein, path read module 201 be mainly used in read user input picture source file path and picture processing after deposit path.
Concrete, when needing to carry out batch processing to the picture in picture source file, deposit path after user can input picture source file path and picture processing in server, after the path read module 201 in server reads the picture source file path of user's input and picture processing, deposit path.
Picture file read module 202 is mainly used in the picture source file path of reading according to path read module 201, reads picture file, obtains picture stream.
Concrete, the picture source file path that picture file read module 202 reads according to path read module 201, read picture file, wherein, the picture in the picture file of reading comprises the picture of the picture of same size, the picture of different size, the picture of identical storage size and different storage size.
Adjustment parameter read module 203 is mainly used in the adjustment parameter reading user's input, and wherein, adjustment parameter comprises size and the scaling of picture.
Concrete, when the picture file read module 202 in server reads picture file by the picture source file path that user inputs, adjustment parameter read module 203 also can read the picture adjustment parameter of user's input simultaneously, the picture adjustment parameter of user's input comprises the size of picture and the scaling of picture, wherein, the size of picture comprises the size in size that picture eats and picture-storage space.
In addition, the picture adjustment parameter of user's input also comprises the brightness of picture, contrast, saturation degree, tone and sharpness etc.
Picture adjusting module 204 is mainly used in the adjustment parameter read according to adjustment parameter read module 203, the picture file read is carried out to the adjustment of size and scaling.
Concrete, the adjustment parameter that the picture adjusting module 204 in server inputs according to user, adjusts the picture file read.Specifically, the picture size that picture adjusting module 204 inputs according to user, first according to the size of the dimension of picture of user's input, carries out batch to the picture read and shears, the picture of reading is cut into the picture of same size, then the picture after shearing is carried out to the adjustment of scaling.
In addition, the adjustment parameters such as the brightness of the picture that server inputs according to user, contrast, saturation degree, tone and sharpness, carry out the adjustment of brightness, contrast, saturation degree, tone and sharpness etc. to picture.
Deposit path after the newly-built module 205 of file is mainly used in judging picture processing whether to exist, if do not exist, then new folder.
Picture storage module 206 is mainly used in the picture file after being adjusted by picture adjusting module 204 and is stored into after picture processing in store path.
Concrete, after picture adjusts by adjustment parameter input according to user when picture adjusting module 204, after the picture processing that the picture-storage after adjusting inputs to aforementioned user by picture storage module 206 in store path.Whether, when specifically carrying out, deposit path and exist after the newly-built module 205 of file judges picture processing, if do not exist, then new folder, by the picture-storage after process in newly-built file.
A kind of picture batch processing method provided by the invention and system, the adjustment parameter inputted by user carries out adjustment in batches to the picture in picture source file, picture-storage after adjustment in batches is deposited in path after picture processing, the batch processing of picture can be realized, improve the efficiency of picture processing, solve the complicated processes of artificial treatment picture.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (10)
1. a picture batch processing method, is characterized in that, described method comprises:
Path is deposited after step S101, the picture source file path of reading user's input and picture processing;
Step S102, according to described picture source file path, read picture file, obtain picture stream;
The adjustment parameter of step S103, reading user input, described adjustment parameter comprises size and the scaling of picture;
Step S104, the adjustment parameter inputted according to user, carry out the adjustment of size and scaling to the picture file read;
Step S105, the picture file after adjustment to be stored into after described picture processing in store path.
2. a kind of picture batch processing method as claimed in claim 1, it is characterized in that, the picture in the picture file read in described step S102 comprises the picture of the picture of same size size, the picture of different size size, the picture of identical storage size and different storage size.
3. a kind of picture batch processing method as claimed in claim 1 or 2, is characterized in that, in described step S103, the size of picture comprises the size of picture and the storage size of picture.
4. a kind of picture batch processing method as claimed in claim 1, is characterized in that, the adjustment parameter in described step S103 also comprises picture luminance, contrast, saturation degree, tone and sharpness, and described step S104 comprises:
According to the adjustment parameter of user's input, the picture file read is carried out to the adjustment of brightness, contrast, saturation degree, tone and sharpness.
5. a kind of picture batch processing method as claimed in claim 1, it is characterized in that, step S105 also comprises:
Deposit path after judging described picture processing whether to exist, if do not exist, then new folder.
6. a picture batch processing system, is characterized in that, described system comprises:
Path read module, for read user input picture source file path and picture processing after deposit path;
Picture file read module, for according to described picture source file path, reads picture file, obtains picture stream;
Adjustment parameter read module, for reading the adjustment parameter of user's input, described adjustment parameter comprises size and the scaling of picture;
Picture adjusting module, for the adjustment parameter inputted according to user, carries out the adjustment of size and scaling to the picture file read;
Picture storage module, for being stored into after described picture processing in store path by the picture file after adjustment.
7. a kind of picture batch processing system as claimed in claim 6, it is characterized in that, the picture in the picture file that described picture file read module reads comprises the picture of the picture of same size size, the picture of different size size, the picture of identical storage size and different storage size.
8. a kind of picture batch processing system as claimed in claims 6 or 7, it is characterized in that, the size of described picture comprises the size of picture and the storage size of picture.
9. a kind of picture batch processing system as claimed in claim 6, is characterized in that, described adjustment parameter also comprises picture luminance, contrast, saturation degree, tone and sharpness, described picture adjusting module also for:
According to the adjustment parameter of user's input, the picture file read is carried out to the adjustment of brightness, contrast, saturation degree, tone and sharpness.
10. a kind of picture batch processing system as claimed in claim 6, is characterized in that, also comprise:
Whether the newly-built module of file, exist for depositing path after judging described picture processing, if do not exist, then and new folder.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510666294.6A CN105303516A (en) | 2015-10-15 | 2015-10-15 | Picture batch processing method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510666294.6A CN105303516A (en) | 2015-10-15 | 2015-10-15 | Picture batch processing method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105303516A true CN105303516A (en) | 2016-02-03 |
Family
ID=55200743
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510666294.6A Pending CN105303516A (en) | 2015-10-15 | 2015-10-15 | Picture batch processing method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105303516A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109948137A (en) * | 2017-12-21 | 2019-06-28 | 江苏奥博洋信息技术有限公司 | The method of the double-deck unified size of PDF batch |
CN111158564A (en) * | 2019-12-20 | 2020-05-15 | 福建天泉教育科技有限公司 | Method and terminal for restoring picture clipping effect in PowerPoint |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6122069A (en) * | 1997-02-20 | 2000-09-19 | Canon Kabushiki Kaisha | Efficient method of modifying an image |
CN102156953A (en) * | 2011-03-17 | 2011-08-17 | 深圳市五巨科技有限公司 | Method and device for realizing batch processing of images |
CN102508851A (en) * | 2011-09-27 | 2012-06-20 | 深圳市五巨科技有限公司 | Image upload processing method and image upload processing system |
-
2015
- 2015-10-15 CN CN201510666294.6A patent/CN105303516A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6122069A (en) * | 1997-02-20 | 2000-09-19 | Canon Kabushiki Kaisha | Efficient method of modifying an image |
CN102156953A (en) * | 2011-03-17 | 2011-08-17 | 深圳市五巨科技有限公司 | Method and device for realizing batch processing of images |
CN102508851A (en) * | 2011-09-27 | 2012-06-20 | 深圳市五巨科技有限公司 | Image upload processing method and image upload processing system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109948137A (en) * | 2017-12-21 | 2019-06-28 | 江苏奥博洋信息技术有限公司 | The method of the double-deck unified size of PDF batch |
CN111158564A (en) * | 2019-12-20 | 2020-05-15 | 福建天泉教育科技有限公司 | Method and terminal for restoring picture clipping effect in PowerPoint |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102156953A (en) | Method and device for realizing batch processing of images | |
US8810626B2 (en) | Method, apparatus and computer program product for generating panorama images | |
KR100898096B1 (en) | Method and system for viewing and enhancing images | |
CN102270093B (en) | Video-image-resolution-based vision adaptive method | |
US10579594B2 (en) | Image sharing method and apparatus, and terminal device | |
CN104378545A (en) | Photographing processing method and system | |
TW201608523A (en) | Method and system for generating thumbnails of images | |
CN103905643A (en) | Method and system for mobile phone adaption of single background picture | |
CN103824252A (en) | Picture processing method and system | |
CN112868224B (en) | Method, apparatus and storage medium for capturing and editing dynamic depth image | |
CN105303516A (en) | Picture batch processing method and system | |
CN104836957A (en) | Photo shooting processing method and device | |
CN105550181A (en) | File classification storage method and apparatus and terminal | |
CN104484855A (en) | Method and device for cropping pictures | |
CN104463787A (en) | Light spot blurring special effect implementation method | |
JP6378323B2 (en) | Image editing transmission to subordinate video sequences via dense motion fields | |
CN107092428A (en) | A kind of picture amending method and device | |
CN104317502A (en) | Picture editing method and device | |
CN105718569A (en) | Method, device and system for uploading compound document | |
CN105530425A (en) | Automatic continuous shooting system | |
CN113870287A (en) | Vehicle VR interior processing method, computing device and storage medium | |
CN104331342A (en) | Method for file path matching and the device thereof | |
CN104407767A (en) | Method for regulating user interface | |
CN111354050A (en) | Android-based picture compression method and device and storage medium | |
WO2023020092A1 (en) | Multi-person collaboration-based resource processing method, apparatus and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160203 |
|
RJ01 | Rejection of invention patent application after publication |