1
0

update README.md

Signed-off-by: Y7000p <xcl@xuegao-tzx.top>
This commit is contained in:
2022-05-16 19:40:27 +08:00
parent f1c53cd018
commit a2a5f98808
42 changed files with 3 additions and 355 deletions

2
.gitignore vendored
View File

@@ -1,4 +1,6 @@
/upload.gradle
/gradle.properties
/.idea
/.gradle
/build
/cer

Binary file not shown.

View File

@@ -1,2 +0,0 @@
#Sun May 15 20:49:35 CST 2022
gradle.version=7.4

Binary file not shown.

8
.idea/.gitignore generated vendored
View File

@@ -1,8 +0,0 @@
# 默认忽略的文件
/shelf/
/workspace.xml
# 基于编辑器的 HTTP 客户端请求
/httpRequests/
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml

1
.idea/.name generated
View File

@@ -1 +0,0 @@
ImageTracer

View File

@@ -1,9 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

6
.idea/compiler.xml generated
View File

@@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CompilerConfiguration">
<bytecodeTargetLevel target="1.8" />
</component>
</project>

View File

@@ -1,6 +0,0 @@
<component name="CopyrightManager">
<copyright>
<option name="notice" value="/*&#10; * Copyright 2022 田梓萱, xcl@xuegao-tzx.top&#10; *&#10; * Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);&#10; * you may not use this file except in compliance with the License.&#10; * You may obtain a copy of the License at&#10; *&#10; * http://www.apache.org/licenses/LICENSE-2.0&#10; *&#10; * Unless required by applicable law or agreed to in writing, software&#10; * distributed under the License is distributed on an &quot;AS IS&quot; BASIS,&#10; * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.&#10; * See the License for the specific language governing permissions and&#10; * limitations under the License.&#10; */" />
<option name="myName" value="开源2.0" />
</copyright>
</component>

19
.idea/gradle.xml generated
View File

@@ -1,19 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="GradleMigrationSettings" migrationVersion="1" />
<component name="GradleSettings">
<option name="linkedExternalProjectsSettings">
<GradleProjectSettings>
<option name="delegatedBuild" value="true" />
<option name="testRunner" value="PLATFORM" />
<option name="distributionType" value="DEFAULT_WRAPPED" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="modules">
<set>
<option value="$PROJECT_DIR$" />
</set>
</option>
</GradleProjectSettings>
</option>
</component>
</project>

View File

@@ -1,141 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="JavaDocConfiguration">
<GENERAL>
<MODE>UPDATE</MODE>
<OVERRIDDEN_METHODS>false</OVERRIDDEN_METHODS>
<SPLITTED_CLASS_NAME>true</SPLITTED_CLASS_NAME>
<LEVELS>
<LEVEL>METHOD</LEVEL>
<LEVEL>FIELD</LEVEL>
<LEVEL>TYPE</LEVEL>
</LEVELS>
<VISIBILITIES>
<VISIBILITY>PROTECTED</VISIBILITY>
<VISIBILITY>PUBLIC</VISIBILITY>
<VISIBILITY>DEFAULT</VISIBILITY>
</VISIBILITIES>
</GENERAL>
<TEMPLATES>
<CLASSES>
<CLASS>
<KEY>^.*(public|protected|private)*.+interface\s+\w+.*</KEY>
<VALUE>/**\n
* The interface ${name}.\n
&lt;#if element.typeParameters?has_content&gt; * \n
&lt;/#if&gt;&lt;#list element.typeParameters as typeParameter&gt; * @param &lt;${typeParameter.name}&gt; the type parameter\n
&lt;/#list&gt; */</VALUE>
</CLASS>
<CLASS>
<KEY>^.*(public|protected|private)*.+enum\s+\w+.*</KEY>
<VALUE>/**\n
* The enum ${name}.\n
*/</VALUE>
</CLASS>
<CLASS>
<KEY>^.*(public|protected|private)*.+class\s+\w+.*</KEY>
<VALUE>/**\n
* The type ${name}.\n
&lt;#if element.typeParameters?has_content&gt; * \n
&lt;/#if&gt;&lt;#list element.typeParameters as typeParameter&gt; * @param &lt;${typeParameter.name}&gt; the type parameter\n
&lt;/#list&gt; */</VALUE>
</CLASS>
<CLASS>
<KEY>.+</KEY>
<VALUE>/**\n
* The type ${name}.\n
*/</VALUE>
</CLASS>
</CLASSES>
<CONSTRUCTORS>
<CONSTRUCTOR>
<KEY>.+</KEY>
<VALUE>/**\n
* Instantiates a new ${name}.\n
&lt;#if element.parameterList.parameters?has_content&gt; *\n
&lt;/#if&gt;&lt;#list element.parameterList.parameters as parameter&gt; * @param ${parameter.name} the ${paramNames[parameter.name]}\n
&lt;/#list&gt;&lt;#if element.throwsList.referenceElements?has_content&gt; *\n
&lt;/#if&gt;&lt;#list element.throwsList.referenceElements as exception&gt; * @throws ${exception.referenceName} the ${exceptionNames[exception.referenceName]}\n
&lt;/#list&gt; */</VALUE>
</CONSTRUCTOR>
</CONSTRUCTORS>
<METHODS>
<METHOD>
<KEY>^.*(public|protected|private)*\s*.*(\w(\s*&lt;.+&gt;)*)+\s+get\w+\s*\(.*\).+</KEY>
<VALUE>/**\n
* Gets ${partName}.\n
&lt;#if element.typeParameters?has_content&gt; * \n
&lt;/#if&gt;&lt;#list element.typeParameters as typeParameter&gt; * @param &lt;${typeParameter.name}&gt; the type parameter\n
&lt;/#list&gt;&lt;#if element.parameterList.parameters?has_content&gt; *\n
&lt;/#if&gt;&lt;#list element.parameterList.parameters as parameter&gt; * @param ${parameter.name} the ${paramNames[parameter.name]}\n
&lt;/#list&gt;&lt;#if isNotVoid&gt; *\n
* @return the ${partName}\n
&lt;/#if&gt;&lt;#if element.throwsList.referenceElements?has_content&gt; *\n
&lt;/#if&gt;&lt;#list element.throwsList.referenceElements as exception&gt; * @throws ${exception.referenceName} the ${exceptionNames[exception.referenceName]}\n
&lt;/#list&gt; */</VALUE>
</METHOD>
<METHOD>
<KEY>^.*(public|protected|private)*\s*.*(void|\w(\s*&lt;.+&gt;)*)+\s+set\w+\s*\(.*\).+</KEY>
<VALUE>/**\n
* Sets ${partName}.\n
&lt;#if element.typeParameters?has_content&gt; * \n
&lt;/#if&gt;&lt;#list element.typeParameters as typeParameter&gt; * @param &lt;${typeParameter.name}&gt; the type parameter\n
&lt;/#list&gt;&lt;#if element.parameterList.parameters?has_content&gt; *\n
&lt;/#if&gt;&lt;#list element.parameterList.parameters as parameter&gt; * @param ${parameter.name} the ${paramNames[parameter.name]}\n
&lt;/#list&gt;&lt;#if isNotVoid&gt; *\n
* @return the ${partName}\n
&lt;/#if&gt;&lt;#if element.throwsList.referenceElements?has_content&gt; *\n
&lt;/#if&gt;&lt;#list element.throwsList.referenceElements as exception&gt; * @throws ${exception.referenceName} the ${exceptionNames[exception.referenceName]}\n
&lt;/#list&gt; */</VALUE>
</METHOD>
<METHOD>
<KEY>^.*((public\s+static)|(static\s+public))\s+void\s+main\s*\(\s*String\s*(\[\s*\]|\.\.\.)\s+\w+\s*\).+</KEY>
<VALUE>/**\n
* The entry point of application.\n
&lt;#if element.parameterList.parameters?has_content&gt; *\n
&lt;/#if&gt; * @param ${element.parameterList.parameters[0].name} the input arguments\n
&lt;#if element.throwsList.referenceElements?has_content&gt; *\n
&lt;/#if&gt;&lt;#list element.throwsList.referenceElements as exception&gt; * @throws ${exception.referenceName} the ${exceptionNames[exception.referenceName]}\n
&lt;/#list&gt; */</VALUE>
</METHOD>
<METHOD>
<KEY>.+</KEY>
<VALUE>/**\n
* ${name}&lt;#if isNotVoid&gt; ${return}&lt;/#if&gt;.\n
&lt;#if element.typeParameters?has_content&gt; * \n
&lt;/#if&gt;&lt;#list element.typeParameters as typeParameter&gt; * @param &lt;${typeParameter.name}&gt; the type parameter\n
&lt;/#list&gt;&lt;#if element.parameterList.parameters?has_content&gt; *\n
&lt;/#if&gt;&lt;#list element.parameterList.parameters as parameter&gt; * @param ${parameter.name} the ${paramNames[parameter.name]}\n
&lt;/#list&gt;&lt;#if isNotVoid&gt; *\n
* @return the ${return}\n
&lt;/#if&gt;&lt;#if element.throwsList.referenceElements?has_content&gt; *\n
&lt;/#if&gt;&lt;#list element.throwsList.referenceElements as exception&gt; * @throws ${exception.referenceName} the ${exceptionNames[exception.referenceName]}\n
&lt;/#list&gt; */</VALUE>
</METHOD>
</METHODS>
<FIELDS>
<FIELD>
<KEY>^.*(public|protected|private)*.+static.*(\w\s\w)+.+</KEY>
<VALUE>/**\n
* The constant ${element.getName()}.\n
*/</VALUE>
</FIELD>
<FIELD>
<KEY>^.*(public|protected|private)*.*(\w\s\w)+.+</KEY>
<VALUE>/**\n
&lt;#if element.parent.isInterface()&gt; * The constant ${element.getName()}.\n
&lt;#else&gt; * The ${name}.\n
&lt;/#if&gt; */</VALUE>
</FIELD>
<FIELD>
<KEY>.+</KEY>
<VALUE>/**\n
&lt;#if element.parent.isEnum()&gt; *${name} ${typeName}.\n
&lt;#else&gt; * The ${name}.\n
&lt;/#if&gt;*/</VALUE>
</FIELD>
</FIELDS>
</TEMPLATES>
</component>
</project>

View File

@@ -1,35 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="RemoteRepositoriesConfiguration">
<remote-repository>
<option name="id" value="central" />
<option name="name" value="Maven Central repository" />
<option name="url" value="https://repo1.maven.org/maven2" />
</remote-repository>
<remote-repository>
<option name="id" value="jboss.community" />
<option name="name" value="JBoss Community repository" />
<option name="url" value="https://repository.jboss.org/nexus/content/repositories/public/" />
</remote-repository>
<remote-repository>
<option name="id" value="MavenRepo" />
<option name="name" value="MavenRepo" />
<option name="url" value="https://repo.maven.apache.org/maven2/" />
</remote-repository>
<remote-repository>
<option name="id" value="maven" />
<option name="name" value="maven" />
<option name="url" value="https://mirrors.huaweicloud.com/repository/maven/" />
</remote-repository>
<remote-repository>
<option name="id" value="maven2" />
<option name="name" value="maven2" />
<option name="url" value="https://developer.huawei.com/repo/" />
</remote-repository>
<remote-repository>
<option name="id" value="maven3" />
<option name="name" value="maven3" />
<option name="url" value="https://repo.huaweicloud.com/repository/maven/" />
</remote-repository>
</component>
</project>

15
.idea/misc.xml generated
View File

@@ -1,15 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ExternalStorageConfigurationManager" enabled="true" />
<component name="FrameworkDetectionExcludesConfiguration">
<file type="web" url="file://$PROJECT_DIR$" />
</component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/out" />
</component>
<component name="SwUserDefinedSpecifications">
<option name="specTypeByUrl">
<map />
</option>
</component>
</project>

View File

@@ -1,34 +0,0 @@
g java:S112:"FDefine and throw a dedicated exception instead of using a generic one.(<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>8<><38><EFBFBD>֌0
b java:S112K"FDefine and throw a dedicated exception instead of using a generic one.(<28><><EFBFBD><EFBFBD>8<><38><EFBFBD>֌0
<EFBFBD>
java:S1319q"dThe type of "options" should be an interface such as "Map" rather than the implementation "HashMap".(<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>8<><38><EFBFBD>֌0
t
java:S1104<18>"QMake width a static final constant or non-public and provide accessors if needed.(<28><>ۋ<EFBFBD><DB8B><EFBFBD><EFBFBD><EFBFBD>8<><38><EFBFBD>֌0
p
java:S1104<18>"RMake height a static final constant or non-public and provide accessors if needed.(<28><><EFBFBD><EFBFBD>8<><38><EFBFBD>֌0
t
java:S1104<18>"QMake width a static final constant or non-public and provide accessors if needed.(<28><>ۋ<EFBFBD><DB8B><EFBFBD><EFBFBD><EFBFBD>8<><38><EFBFBD>֌0
p
java:S1104<18>"RMake height a static final constant or non-public and provide accessors if needed.(<28><><EFBFBD><EFBFBD>8<><38><EFBFBD>֌0
s
java:S1104<18>"PMake data a static final constant or non-public and provide accessors if needed.(<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>8<><38><EFBFBD>֌0
n
java:S2095?"LUse try-with-resources or close this "BufferedWriter" in a "finally" clause.(<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>8<><38><EFBFBD>֌0
<EFBFBD>
java:S1186/"<22>Add a nested comment explaining why this method is empty, throw an UnsupportedOperationException or complete the implementation.(时<><E697B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><38>֌0
x
java:S1450*"VRemove the "rawdata" field and declare it as a local variable in the relevant methods.(<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><38>֌0
?
java:S1118/"Hide this public constructor.(时<><E697B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD>8쎵֌0
^ java:S899="BDo something with the "boolean" value returned by "createNewFile".(<28>ܲ<EFBFBD>8<><38><EFBFBD>֌0
P
java:S1172E".Remove this unused method parameter "options".(<28>ڂ<EFBFBD><DA82><EFBFBD><EFBFBD><EFBFBD><EFBFBD>8<><38><EFBFBD>֌0
<EFBFBD>
java:S1130K"lRemove the declaration of thrown exception 'java.lang.Exception', as it cannot be thrown from method's body.(<28><><EFBFBD><EFBFBD><38>֌0
] java:S125Z"<This block of commented-out lines of code should be removed.(<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><38>֌0
Z java:S106r"9Replace this use of System.out or System.err by a logger.(ܳ<><DCB3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>8֌0
B
java:S1659<18>"$Declare "height" on a separate line.(<28><><EFBFBD><EFBFBD>8<><38><EFBFBD>֌0
B
java:S1659<18>"$Declare "height" on a separate line.(<28><><EFBFBD><EFBFBD>8<><38><EFBFBD>֌0

View File

@@ -1,46 +0,0 @@
k java:S117]"QRename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
\
java:S2184<18>"ECast one of the operands of this subtraction operation to a "double".(Ğ<><C49E>
c
java:S3973q"HUse indentation to denote the code conditionally executed by this "for".(<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
U
java:S1118":Add a private constructor to hide the implicit public one.(瞁<><E79E81><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
Q java:S125'"<This block of commented-out lines of code should be removed.(<28><><EFBFBD><EFBFBD>
m
java:S3776H"RRefactor this method to reduce its Cognitive Complexity from 29 to the 15 allowed.(<28>ӄ<EFBFBD><D384><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
U
java:S1659Z"?Declare "cd" and all following declarations on a separate line.(<28><><EFBFBD><EFBFBD>
P java:S125e"<This block of commented-out lines of code should be removed.(<28><><EFBFBD>}
n
java:S3776<18>"RRefactor this method to reduce its Cognitive Complexity from 36 to the 15 allowed.(<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
i
java:S3776<18>"RRefactor this method to reduce its Cognitive Complexity from 24 to the 15 allowed.(<28><><EFBFBD><EFBFBD>
=
java:S1659<18>"&Declare "holepath" on a separate line.(ɴ<><C9B4>
i
java:S3776<18>"RRefactor this method to reduce its Cognitive Complexity from 22 to the 15 allowed.(<28><><EFBFBD><EFBFBD>
V
java:S1659<18>"@Declare "pp2" and all following declarations on a separate line.(<28>д
[
java:S1659<18>"DDeclare "nextidx" and all following declarations on a separate line.(ף<><D7A3>
H
java:S5261<18>"1Add explicit curly braces to avoid dangling else.(<28><><EFBFBD><EFBFBD>
M
java:S5261<18>"1Add explicit curly braces to avoid dangling else.(<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
I
java:S1135<18>"2Complete the task associated to this TODO comment.(<28><>¨
@
java:S1659<18>"$Declare "seqend" on a separate line.(<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<
java:S1659<18>"&Declare "segtype2" on a separate line.(<28><><EFBFBD>n
R java:S125<18>"<This block of commented-out lines of code should be removed.(ʿ<><CABF>
W java:S125<18>"<This block of commented-out lines of code should be removed.(<28><>Ӓ<EFBFBD><D392><EFBFBD><EFBFBD><EFBFBD>
I
java:S1135<18>"2Complete the task associated to this TODO comment.(<28><>¨
n
java:S3776<18>"RRefactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed.(򃨂<><F283A882><EFBFBD><EFBFBD><EFBFBD>
V
java:S1659<18>"?Declare "py" and all following declarations on a separate line.(<28><>ط
V
java:S1659<18>"?Declare "t1" and all following declarations on a separate line.(ܢ<><DCA2>

View File

@@ -1,5 +0,0 @@
J
java:S2699"-Add at least one assertion to this test case.(<28><><EFBFBD><EFBFBD>8<><38><EFBFBD><EFBFBD><EFBFBD>0
<EFBFBD>
java:S3577"<22>Rename class "Test" to match the regular expression: '^((Test|IT)[a-zA-Z0-9_]+|[A-Z][a-zA-Z0-9_]*(Test|Tests|TestCase|IT|ITCase))$'(ӵ<><D3B5><38><DEA0><EFBFBD>0

View File

@@ -1,22 +0,0 @@
k
;src/main/java/com/xcl/imagetracer_mod/VectorizingUtils.java,7\6\7694485864010b12895922b15f2a2725fba0800a
_
/src/test/java/com/xcl/imagetracer_mod/Test.java,e\1\e10c18fde270132583fe384e4bd43a528f6d5e3d
c
3src/main/java/com/xcl/imagetracer_mod/SVGUtils.java,1\5\1586d759e116a7db0964977c1b73b0ffb0d15141
h
8src/main/java/com/xcl/imagetracer_mod/SelectiveBlur.java,c\0\c0e3efd21e2289b1fc9bd254fb2d359b2be6d8aa
f
6src/main/java/com/xcl/imagetracer_mod/ImageTracer.java,0\a\0ab6f53a3ca221a03ba699f735c59475a23a261b
?
settings.gradle,0\5\05efc8b1657769a27696d478ded1e95f38737233
<
build.gradle,f\0\f07866736216be0ee2aba49e392191aeae700a35
:
.gitignore,a\5\a5cc2925ca8258af241be7e5b0381edf30266302
A
gradle.properties,2\a\2afbb999f001938c88fa43fc2ef52abf0f8213e4
9
README.md,8\e\8ec9a00bfd09b3190ac6b22251dbb1aa95a0579d

6
.idea/vcs.xml generated
View File

@@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>

View File

@@ -1,4 +1,5 @@
# ImageTracerJava
ImageTracerJava(A library that can transfer pictures such as PNG to SVG)<br>
ImageTracerJava(一个可以把png等图片转svg的开源Java库)