Charltsing.Liu

Results 106 comments of Charltsing.Liu

反正你也是把Utf8转成Unicode,不如直接用Unicode 我把代码改成这样了: entrypoint.cpp IMAGE_INFO_API imageinfo::ImageInfo* imageinfo_parse_file_unicode(const wchar_t* path) { imageinfo::ImageInfo* info = new imageinfo::ImageInfo(); *info = imageinfo::parse(path); return info; ImageInfo.cs [DllImport(DllPath, EntryPoint = "imageinfo_parse_file_unicode", CharSet = CharSet.Unicode)] public static extern...

目前在辽宁联通和移动上github都很麻烦。每次只能几分钟,然后就被断网。 间隔十几分钟或者更长时间才能再上,然后再被断网。 所以我目前不具备维护项目的条件。 不过,我过些日子发一个内存加载native dll的C#版给你,你可以用它修改一下,放到你的存储库里面做官方示例,以后我找起来也方便。 C#版的例子有一个就行,也不需要天天维护。

ImageInfo-sharp包括imageinfo-native,ImageInfo-sharp,imageinfo-demo三个项目 ImageInfo-sharp采用内存加载的方式调用原生dll。使用的MemoryModule来自https://github.com/wwh1004/MemoryModule 这个项目也是国内大神搞的。测试了三年,在上万台电脑跑过,很可靠。 其它具体项目说明看readme.txt [ImageInfo-sharp.zip](https://github.com/user-attachments/files/16500505/ImageInfo-sharp.zip) 使用MemoryModule的目的是避免多出两个原生dll文件。可以单文件部署或者调用。 如果你觉得可用的话,以你的名义放在存储库里面吧。方便我以后升级查找。因为entrypoint.cpp还需要你来维护。

ImageMagick can recognize the other sample.avif and sample2.avif, but cannot recognize sample3.avif. Is it possible to enhance the read function? [avifs.zip](https://github.com/user-attachments/files/16507292/avifs.zip) ![1](https://github.com/user-attachments/assets/a6ca3b95-0199-4266-aa42-a54889114655) ![2](https://github.com/user-attachments/assets/058d63b4-2072-4144-a4ad-1d7b56528628) ![3](https://github.com/user-attachments/assets/c61d672f-0dfb-403a-bc3b-aa064e557239)

也许以后可以考虑增加修复pdf的功能

As a temporary solution, it may be possible to add a Index number to all MakerNote tags and display all ascii characters for each

Perhaps all we need to do is read the ascii text

通过网盘分享的文件:PdfWithSeveralSeparationImages20230308.zip 链接: https://pan.baidu.com/s/1rSqwTRdsMCAqRG6jc7XrNw?pwd=bcq8 提取码: bcq8 这有个老外从3万个pdf里面提取的若干页面,都是Separation色彩空间,供你测试用。 文件太大,240兆,我只能放百度盘了。

原理是一样的,但是靠正则不能处理各种水印。只有采用通配符处理原始字节码才行。 另外,PDFCommander表面上是一个万能水印工具,其实本质上是一个PDF命令行编辑工具。只是对外宣传说水印方便菜鸟理解而已,毕竟你不能让菜鸟用命令行去编辑PDF。 命令行的好处是可以批量处理同一批次的PDF文档。

![捕获](https://github.com/user-attachments/assets/380241d1-b167-4c61-acff-4359f01d44cf) 最理想的是做文档分析,并输出。类似上面的图。 这是用[PdfPig](https://github.com/UglyToad/PdfPig)输出的文本信息,但是它不能输出原始字节码。