Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
D
DataEditorX
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
聖園ミカ
DataEditorX
Commits
d21714d9
Commit
d21714d9
authored
Nov 21, 2015
by
keyongyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2.4.0.2
parent
395acb21
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
63 additions
and
53 deletions
+63
-53
DataEditorX/Common/MyBitmap.cs
DataEditorX/Common/MyBitmap.cs
+16
-10
DataEditorX/Properties/AssemblyInfo.cs
DataEditorX/Properties/AssemblyInfo.cs
+1
-1
DataEditorX/changed.txt
DataEditorX/changed.txt
+2
-0
DataEditorX/readme.txt
DataEditorX/readme.txt
+1
-1
win32/DataEditorX.exe
win32/DataEditorX.exe
+0
-0
win32/DataEditorX.vshost.exe.config
win32/DataEditorX.vshost.exe.config
+40
-40
win32/changed.txt
win32/changed.txt
+2
-0
win32/readme.txt
win32/readme.txt
+1
-1
win32/win32.zip
win32/win32.zip
+0
-0
No files found.
DataEditorX/Common/MyBitmap.cs
View file @
d21714d9
...
...
@@ -118,7 +118,7 @@ public static Bitmap Cut(Bitmap sourceBitmap, int StartX, int StartY, int cutWid
/// <param name="filename">保存路径</param>
/// <param name="quality">质量</param>
/// <returns>是否保存成功</returns>
public
static
bool
SaveAsJPEG
(
Bitmap
bitmap
,
string
filename
,
int
quality
)
public
static
bool
SaveAsJPEG
(
Bitmap
bitmap
,
string
filename
,
int
quality
=
90
)
{
if
(
bitmap
!=
null
)
{
...
...
@@ -134,17 +134,23 @@ public static bool SaveAsJPEG(Bitmap bitmap, string filename, int quality)
if
(
codec
.
MimeType
.
IndexOf
(
"jpeg"
)
>
-
1
)
{
ici
=
codec
;
break
;
}
if
(
quality
<
0
||
quality
>
100
)
}
if
(
quality
<
0
||
quality
>
100
)
quality
=
60
;
EncoderParameters
encoderParams
=
new
EncoderParameters
();
encoderParams
.
Param
[
0
]
=
new
EncoderParameter
(
Encoder
.
Quality
,
(
long
)
quality
);
if
(
ici
!=
null
)
if
(
ici
!=
null
)
{
bitmap
.
Save
(
filename
,
ici
,
encoderParams
);
bitmap
.
Dispose
();
return
true
;
}
else
bitmap
.
Save
(
filename
,
ImageFormat
.
Jpeg
);
{
return
false
;
}
return
true
;
}
return
false
;
}
...
...
DataEditorX/Properties/AssemblyInfo.cs
View file @
d21714d9
...
...
@@ -28,4 +28,4 @@
//
// You can specify all the values or you can use the default the Revision and
// Build Numbers by using the '*' as shown below:
[
assembly
:
AssemblyVersion
(
"2.4.0.
1
"
)]
[
assembly
:
AssemblyVersion
(
"2.4.0.
2
"
)]
DataEditorX/changed.txt
View file @
d21714d9
★更新历史
2.4.0.2
修改导入游戏卡图
2.4.0.1
更新数据
2.4.0.0
...
...
DataEditorX/readme.txt
View file @
d21714d9
[DataEditorX]2.4.0.
1
[DataEditorX]
[DataEditorX]2.4.0.
2
[DataEditorX]
[URL]https://github.com/247321453/DataEditorX/raw/master/win32/win32.zip[URL]
★运行环境(Environment)
...
...
win32/DataEditorX.exe
View file @
d21714d9
No preview for this file type
win32/DataEditorX.vshost.exe.config
View file @
d21714d9
...
...
@@ -13,9 +13,9 @@
<!--
MSE
language
data
/
mse_xxx
.
txt
-->
<
add
key
=
"mse"
value
=
"Chinese-Simplified"
/>
<!--
Language
data
/
cardinfo_xxxx
.
txt
data
/
language_xxx
.
txt
-->
<
add
key
=
"language"
value
=
"Chinese
"
/>
<
add
key
=
"language"
value
=
"english
"
/>
<!--
Check
system
language
when
running
program
first
time
-->
<
add
key
=
"check_system_language"
value
=
"fals
e"
/>
<
add
key
=
"check_system_language"
value
=
"tru
e"
/>
<!--
async
load
data
-->
<
add
key
=
"async"
value
=
"false"
/>
<!--
DataEditorX
source
code
-->
...
...
@@ -44,7 +44,7 @@
<
add
key
=
"fontname"
value
=
"Consolas"
/>
<
add
key
=
"fontsize"
value
=
"14.5"
/>
<!--
MSE
path
-->
<
add
key
=
"mse_path"
value
=
"./MagicSetEditor2/mse.exe"
/>
<
add
key
=
"mse_exprotpath"
value
=
"./exprot"
/>
<
add
key
=
"mse_path"
value
=
"./MagicSetEditor2/mse.exe"
/>
<
add
key
=
"mse_exprotpath"
value
=
"./exprot"
/>
</
appSettings
>
</
configuration
>
\ No newline at end of file
win32/changed.txt
View file @
d21714d9
★更新历史
2.4.0.2
修改导入游戏卡图
2.4.0.1
更新数据
2.4.0.0
...
...
win32/readme.txt
View file @
d21714d9
[DataEditorX]2.4.0.
1
[DataEditorX]
[DataEditorX]2.4.0.
2
[DataEditorX]
[URL]https://github.com/247321453/DataEditorX/raw/master/win32/win32.zip[URL]
★运行环境(Environment)
...
...
win32/win32.zip
View file @
d21714d9
No preview for this file type
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