Aeroblast 发表于 2019-7-29 22:20

摸鱼写程序不知道第几次 - Windows 预览 for .EPUB

http://imglf5.nosdn.127.net/img/bHlLeVpPL0RHYlV1Q0pXeEVJVCs4K0NjVXB5bnZIQS8yOWZmRC9zT3oyTWZNK0krdWt6T3F3PT0.png?=imageView&thumbnail=500x0&quality=96&stripmeta=0&type=jpg%7Cwatermark&type=2
在数重DDL压境的时候,俺终于心态爆炸直接拿了一天时间摸鱼……
摸鱼不是什么值得水的事情,但是摸鱼好像摸出了点东西……

如图,在文件夹浏览器里查看封面……


之前查了半天,只找到过一个什么CBX Shell,说是If there are more than one images in the EPUB archive, the first available picture will be used as a thumbnail. You can open the EPUB with 7zip (or temporarily rename it to .ZIP to open it with xplorer²) and make sure your desired book thumbnail image is first on the root folder of the EPUB..这也太搓了。而且某解包程序没把封面放到第一个,现在已经有很多资源这样子改都来不及

所以……嗯就是这么个程序。不得不说C++真是魔鬼,而且作为一个系统调用的COM组件调试可真麻烦

虽然我没找到别的,要是万一有人已经做过……不管了,反正也做完了


https://github.com/Aeroblast/EpubThumbnailHandler
(不给编译版,算是设个门槛给有能力处理问题的人,毕竟摸鱼一天的玩意,别搞坏了各位的PC

taroxd 发表于 2019-7-30 17:30

没事,OneDrive 缩略图也是显示第一张图弄得我还特意折腾了代码把封面调到第一张
页: [1]
查看完整版本: 摸鱼写程序不知道第几次 - Windows 预览 for .EPUB