CN103699732A - Method for batch conversion of picture formats - Google Patents

Method for batch conversion of picture formats Download PDF

Info

Publication number
CN103699732A
CN103699732A CN201310703577.4A CN201310703577A CN103699732A CN 103699732 A CN103699732 A CN 103699732A CN 201310703577 A CN201310703577 A CN 201310703577A CN 103699732 A CN103699732 A CN 103699732A
Authority
CN
China
Prior art keywords
picture
pinup picture
standard
sub
batch conversion
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
Application number
CN201310703577.4A
Other languages
Chinese (zh)
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.)
HUBEI VISIMPACT TECHNOLOGY Co Ltd
Original Assignee
HUBEI VISIMPACT TECHNOLOGY 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 HUBEI VISIMPACT TECHNOLOGY Co Ltd filed Critical HUBEI VISIMPACT TECHNOLOGY Co Ltd
Priority to CN201310703577.4A priority Critical patent/CN103699732A/en
Publication of CN103699732A publication Critical patent/CN103699732A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention relates to a method for batch conversion of picture formats. The method comprises the following steps of 1, making a visual interface on a computer; 2, converting a grayscale channel map format into a DDS format through the visual interface; 3, setting a path of the visual interface and setting an input path and an output path of a picture; 4, acquiring the material of a model map and judging the material type of the model map; 5, changing an extension of the map on a diffuse reflection channel according to the material type of the model map. The method for batch conversion of the picture formats can optimize the size of map files and functionality of display performance, greatly overcomes the shortcoming that other picture conversion tools do not support the DDS format or cannot perform batch conversion on the DDS format, and is more intelligent and capable of saving time and labor.

Description

A kind of method of picture format Batch conversion
Technical field
The present invention relates to a kind of picture format conversion method, be specifically related to a kind of method of picture format Batch conversion.
Background technology
In huge digital city modelling process, cannot carry out pinup picture form Batch conversion, expend a large amount of manpower and materials, conventional method cannot meet the needs of making, and process picture also needs to expend a large amount of manpower and materials, time simultaneously.
Summary of the invention
Technical matters to be solved by this invention is to provide a kind of method of picture format Batch conversion, can use manpower and material resources sparingly in a large number and the time.
The technical scheme that the present invention solves the problems of the technologies described above is as follows: a kind of method of picture format Batch conversion, comprise the following steps,
Step 1, makes a visual interface on computers;
Step 2, by visual interface, becomes DDS form by gray scale passage pinup picture format conversion;
Step 3, arranges the path of visualization interface, and the input and output path of picture is set;
Step 4, obtains the material of model pinup picture and judges its material type;
Step 5, according to the material type of model pinup picture, the expansion name of the pinup picture on change diffuse reflection passage.
On the basis of technique scheme, the present invention can also do following improvement.
Further, the form of described gray scale passage pinup picture is JPG or TGA or TGA.
Further: the material type of described model pinup picture comprises Standard, the sub-material of multidimensional, shell material.
Further, according to the method for the expansion name of the pinup picture on the material Type Change diffuse reflection passage of model pinup picture, comprise the following steps,
S1, when the material of model pinup picture is Standard, directly changes to DDS by diffuse reflection passage pinup picture extension name;
S2, when the material of model pinup picture is the sub-material of multidimensional, judges the type of every sub-material, if the type of sub-material is not Standard, reports an error, if the type of sub-material is Standard, diffuse reflection passage pinup picture extension name is changed to DDS;
S3 is when the material of model pinup picture is shell material, and the original material of shell material judges, if when original material is Standard or the sub-material of multidimensional, continues execution step S1 or S2, if when original material is not Standard or the sub-material of multidimensional, report an error.
Further, in step S1 described above, when the material of model pinup picture is Standard, if when gray scale passage has pinup picture, also pinup picture extension name is changed to DDS.
Further, for baking material, be Standard, perform step S1, if not Standard reports an error.
The invention has the beneficial effects as follows: a kind of picture format Batch conversion of the present invention method makes the work of pinup picture form Batch conversion no longer loaded down with trivial details.Can complete optimize pinup picture size, display performance functional, reduced other image crossover tool to not the supporting or technical matters that cannot Batch conversion of DDS form, more intelligent and time saving and energy saving.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of the method for a kind of picture format Batch conversion of the present invention.
Embodiment
Below in conjunction with accompanying drawing, principle of the present invention and feature are described, example, only for explaining the present invention, is not intended to limit scope of the present invention.
As shown in Figure 1, a kind of method of picture format Batch conversion, comprises the following steps,
First, make visual interface: make on computers a visual interface.Then, gray scale passage pinup picture format conversion is become to DDS form: by visual interface, the pinup picture format conversion such as the logical JPG of gray scale or TGA or TGA are become to DDS form.Then, the path of visualization interface is set, and the input and output path of picture is set.Again, obtain the material of model pinup picture and judge its material type: the material type of described model pinup picture comprises Standard, the sub-material of multidimensional, shell material.Finally, the expansion name of the pinup picture on change diffuse reflection passage: its method is, when the material of model pinup picture is Standard, directly changes to DDS by diffuse reflection passage pinup picture extension name, if when gray scale passage has pinup picture, also pinup picture extension name is changed to DDS; When the material of model pinup picture is the sub-material of multidimensional, the type of every sub-material is judged, if the type of sub-material is not Standard, report an error, if the type of sub-material is Standard, diffuse reflection passage pinup picture extension name is changed to DDS; When the material of model pinup picture is shell material, the original material of shell material judges, if when original material is Standard or the sub-material of multidimensional, continues execution step S1 or S2, if when original material is not Standard or the sub-material of multidimensional, report an error.For baking material, be Standard, perform step S1, if not Standard reports an error.
The method of a kind of picture format Batch conversion of the present invention makes the work of pinup picture form Batch conversion no longer loaded down with trivial details, can complete optimize pinup picture size, display performance functional, reduced other image crossover tool to not the supporting or technical matters that cannot Batch conversion of DDS form, more intelligent and time saving and energy saving.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (6)

1. a method for picture format Batch conversion, is characterized in that: comprises the following steps,
Step 1, makes a visual interface on computers;
Step 2, by visual interface, becomes DDS form by gray scale passage pinup picture format conversion;
Step 3, arranges the path of visualization interface, and the input and output path of picture is set;
Step 4, obtains the material of model pinup picture and judges its material type;
Step 5, according to the material type of model pinup picture, the expansion name of the pinup picture on change diffuse reflection passage.
2. the method for a kind of picture format Batch conversion according to claim 1, is characterized in that: the form of described gray scale passage pinup picture is JPG or TGA or TGA.
3. the method for a kind of picture format Batch conversion according to claim 1 and 2, is characterized in that: the material type of described model pinup picture comprises Standard, the sub-material of multidimensional, shell material.
4. the method for a kind of picture format Batch conversion according to claim 3, is characterized in that: according to the method for the expansion name of the pinup picture on the material Type Change diffuse reflection passage of model pinup picture, comprises the following steps,
S1, when the material of model pinup picture is Standard, directly changes to DDS by diffuse reflection passage pinup picture extension name;
S2, when the material of model pinup picture is the sub-material of multidimensional, judges the type of every sub-material, if the type of sub-material is not Standard, reports an error, if the type of sub-material is Standard, diffuse reflection passage pinup picture extension name is changed to DDS;
S3 is when the material of model pinup picture is shell material, and the original material of shell material judges, if when original material is Standard or the sub-material of multidimensional, continues execution step S1 or S2, if when original material is not Standard or the sub-material of multidimensional, report an error.
5. the method for a kind of picture format Batch conversion according to claim 4, is characterized in that: in step S1 described above, when the material of model pinup picture is Standard, if when gray scale passage has pinup picture, also pinup picture extension name is changed to DDS.
6. the method for a kind of picture format Batch conversion according to claim 4, is characterized in that: for baking material, be Standard, perform step S1, if not Standard reports an error.
CN201310703577.4A 2013-12-19 2013-12-19 Method for batch conversion of picture formats Pending CN103699732A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310703577.4A CN103699732A (en) 2013-12-19 2013-12-19 Method for batch conversion of picture formats

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310703577.4A CN103699732A (en) 2013-12-19 2013-12-19 Method for batch conversion of picture formats

Publications (1)

Publication Number Publication Date
CN103699732A true CN103699732A (en) 2014-04-02

Family

ID=50361259

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310703577.4A Pending CN103699732A (en) 2013-12-19 2013-12-19 Method for batch conversion of picture formats

Country Status (1)

Country Link
CN (1) CN103699732A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108108166A (en) * 2017-12-11 2018-06-01 苏州蜗牛数字科技股份有限公司 A kind of multi-platform stick picture disposing method and system
CN109189524A (en) * 2018-08-09 2019-01-11 北京金山安全软件有限公司 Image resource generation method and device
CN111986281A (en) * 2020-08-06 2020-11-24 山东金东数字创意股份有限公司 DDS data conversion method and system based on PC terminal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6260043B1 (en) * 1998-11-06 2001-07-10 Microsoft Corporation Automatic file format converter
CN102375859A (en) * 2010-08-25 2012-03-14 阿里巴巴集团控股有限公司 Method and equipment for processing information
CN103440230A (en) * 2013-08-02 2013-12-11 徐方林 Information processing system applicable to text information

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6260043B1 (en) * 1998-11-06 2001-07-10 Microsoft Corporation Automatic file format converter
CN102375859A (en) * 2010-08-25 2012-03-14 阿里巴巴集团控股有限公司 Method and equipment for processing information
CN103440230A (en) * 2013-08-02 2013-12-11 徐方林 Information processing system applicable to text information

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
99019803: "《http://www.tudou.com/programs/view/Swln3nbUeYE/?qq-pf-to=pcqq.c2c》", 21 December 2010 *
LHAMMONDS: "《http://www.nexusmods.com/oblivion/mods/8698/?#》", 8 November 2010 *
徐军 等: "基于ImageJ的图片格式批量转换软件的设计与实现", 《天文研究与技术( 国家天文台台刊)》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108108166A (en) * 2017-12-11 2018-06-01 苏州蜗牛数字科技股份有限公司 A kind of multi-platform stick picture disposing method and system
CN108108166B (en) * 2017-12-11 2020-07-31 苏州蜗牛数字科技股份有限公司 Multi-platform inter-map processing method and system
CN109189524A (en) * 2018-08-09 2019-01-11 北京金山安全软件有限公司 Image resource generation method and device
CN111986281A (en) * 2020-08-06 2020-11-24 山东金东数字创意股份有限公司 DDS data conversion method and system based on PC terminal

Similar Documents

Publication Publication Date Title
CN106600700B (en) Three-dimensional model data processing system
CN107273543B (en) DGN data format conversion method
CN103543993A (en) Application program building method and system
CN102004790A (en) Method for exporting high-throughput data report
CN103176700A (en) Method and terminal for quickly displaying status information of application program
CN103914375A (en) Method and device for testing owner-drawing interface software
CN108121873A (en) A kind of application process of buildings model in curtain wall construction
CN104572201A (en) Three-dimensional model-based spacecraft assembly information modification system and modification method
CN103207730B (en) One can locate pull-alongs flow process drawing generating method and process flow diagram maker
CN104111994A (en) Label data screening method and device based on mixed data source
CN103699732A (en) Method for batch conversion of picture formats
CN105488306A (en) Transmission and transformation project GIS (gas insulated switchgear) equipment model extending method based on IFC
CN104750937B (en) Integrated circuit diagram conversion method based on Hadoop
CN103488502A (en) Method and device for loading data
CN108062443A (en) A kind of BIM model mobile phones quickly design the method with electromechanical Database
CN108170855B (en) CityGML and IFC data unified query and data extraction method
CN103577554A (en) Method and device for triggering multimedia database scanning of Android equipment
CN103473173B (en) A kind of method and device iOS system being carried out to assembly level dynamic debugging
CN104503769A (en) Character dot matrix liquid crystal interface implementation method based on XML (extensive markup language) configuration file
CN107193906B (en) Method and device for generating process pipeline instrument diagram bill of materials
CN101706837A (en) Mathematical model based method for establishing database of fixture components
CN103425844A (en) CAD/CAE (Computer-Aided Design/Computer-Aided Education) system based on data current communication platform and integration method
CN104238861A (en) Method and system for rapidly drawing on electromagnetic screen
CN103425490B (en) Based on the management method running object data in crm system
CN105302567A (en) Device and method for dynamically generating report template

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20140402