Commit Graph

17 Commits

Author SHA1 Message Date
WMJ 4c4adb386f +允许提取灰度掩膜图像 2023-01-18 19:29:36 +08:00
WMJ c54146734a +增加渲染生成图片PDF的功能 2022-10-28 19:56:51 +08:00
WMJ 3dc38bfffa !注释标识异常情况的处理原因 2022-07-22 21:53:57 +08:00
WMJ ab9a561ff7 !提高导出图片功能对轻微格式错误的图片的兼容性 2022-07-22 20:51:54 +08:00
WMJ 9fdf417c03 - 修复 JBIG2 编码器的导出错误 (fixed #110) 2022-06-04 17:27:22 +08:00
WMJ 82b0790106 !优化并重构部分代码 2022-04-03 10:13:48 +08:00
WMJ e7265cf1a7 !清理不使用的代码 2022-01-24 10:00:02 +08:00
Calcitem b1699f2921 Fix the typo 2022-01-22 11:33:11 +08:00
WMJ ab5373841c !清理重构代码 2022-01-20 20:24:25 +08:00
Calcitem e58db93a4f 将部分 switch 语句转换为 switch 表达式
switch表达式是 C# 8.0 的新功能。
C# 8.0 从 VS2019 开始支持,本项目要求使用 VS2019 以上版本,
因此此新语法糖应都能支持。
2022-01-20 20:24:25 +08:00
Calcitem a7a9ec3f9c Use null propagation (IDE0031)
This style rule concerns with the use of null-conditional operator versus ternary conditional expression with null check.

Reference:
https://docs.microsoft.com/en-us/dotnet/fundamentals/code-analysis/style-rules/ide0031
2022-01-16 20:05:25 +08:00
Calcitem a25ebdfd4d 部分 if 条件翻转以缩小代码嵌套层级
一般是在 if 控制范围很大的情况下进行调整,如果控制范围小则不调整。
从第三方代码的 Demo 中复制的代码块不修改。
2022-01-15 09:39:10 +08:00
Calcitem 19a7245c17 Fix some build warnings
Include:
Warning	CS0168	The variable 'ex' is declared but never used
Warning	CS0649	Field 'EditModel.AutoBookmarkStyle.MatchPattern' is never assigned to, and will always have its default value null
Warning	CS0649	Field 'BookmarkElement.AutoLevel' is never assigned to, and will always have its default value 0
2022-01-13 08:56:15 +08:00
WMJ 3f5f52301f !格式化源代码 2022-01-06 09:08:16 +08:00
Calcitem 3c4fdc8969 Convert .cs and .txt file encoding to UTF-8 with BOM
Convert the file encoding format to prevent VS from issuing
warnings and displaying garbled characters.
2022-01-04 00:14:51 +08:00
WMJ 26201307ad +合并图片功能使用JPEG图片EXIF的旋转角度 2021-12-26 20:35:46 +08:00
WMJ b42bfb98fa PDF补丁丁公开源代码 2021-12-24 20:35:03 +08:00