10 Commits

Author SHA1 Message Date
WMJ 4428289574 -修复无法正常读取某些JPEG中EXIF数据的问题 (fixed #188) 2023-11-08 17:22:30 +08:00
WMJ c54146734a +增加渲染生成图片PDF的功能 2022-10-28 19:56:51 +08:00
WMJ 82b0790106 !优化并重构部分代码 2022-04-03 10:13:48 +08:00
Calcitem b1699f2921 Fix the typo 2022-01-22 11:33:11 +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 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
WMJ 26201307ad +合并图片功能使用JPEG图片EXIF的旋转角度 2021-12-26 20:35:46 +08:00
WMJ b42bfb98fa PDF补丁丁公开源代码 2021-12-24 20:35:03 +08:00