Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
I
ImgGen
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
ImgGen
Commits
81b28eee
Commit
81b28eee
authored
Nov 09, 2020
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix fonts dir
parent
81111245
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
Program.cs
Program.cs
+5
-2
readme.txt
readme.txt
+1
-0
No files found.
Program.cs
View file @
81b28eee
...
@@ -58,9 +58,12 @@ namespace ImgGen
...
@@ -58,9 +58,12 @@ namespace ImgGen
private
static
void
Main
(
string
[]
args
)
private
static
void
Main
(
string
[]
args
)
{
{
fontCollection
=
new
PrivateFontCollection
();
fontCollection
=
new
PrivateFontCollection
();
foreach
(
string
font
in
Directory
.
GetFile
s
(
"./fonts"
))
if
(
Directory
.
Exist
s
(
"./fonts"
))
{
{
fontCollection
.
AddFontFile
(
font
);
foreach
(
string
font
in
Directory
.
GetFiles
(
"./fonts"
))
{
fontCollection
.
AddFontFile
(
font
);
}
}
}
encoderInfo
=
GetEncoderInfo
(
"image/jpeg"
);
encoderInfo
=
GetEncoderInfo
(
"image/jpeg"
);
...
...
readme.txt
View file @
81b28eee
...
@@ -15,6 +15,7 @@ https://github.com/mycard/ImgGen/wiki/效果预览
...
@@ -15,6 +15,7 @@ https://github.com/mycard/ImgGen/wiki/效果预览
文泉驿微米黑
文泉驿微米黑
方正隶变_GBK
方正隶变_GBK
MatrixBoldSmallCaps
MatrixBoldSmallCaps
字体可安装至系统,也可放至fonts目录
生成卡图:
生成卡图:
在执行目录创建pico目录,放入对应密码的中间图规格的png或jpg图片,运行ImgGen.exe,即可在picn目录内生成卡图。
在执行目录创建pico目录,放入对应密码的中间图规格的png或jpg图片,运行ImgGen.exe,即可在picn目录内生成卡图。
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment