✨小透明・宸✨

Results 76 comments of ✨小透明・宸✨

Free texture packer uses [Max Rects Packer](https://github.com/soimy/maxrects-packer) written in JS to get the images' position (x, y, w, h) in packed sprite sheet. So the sprite sheet and tcl code...

My Node.js script to generate the sprite sheet (then compress with TinyPNG) and tcl code that replaces `load_images`: package.json ```json { "type": "module", "dependencies": { "maxrects-packer": "^2.7.3", "sharp": "^0.30.5" }...

![](https://user-images.githubusercontent.com/47057319/55552885-45e1d780-5711-11e9-9590-0585bf14517a.PNG) The same problem occured when I opened a file with content ```F6 00 09 00 00 00 00 00 00 00```, the ```F6``` was "replaced" with ```C3 B6``` and...

> > > 可以把字体文件转成网页字体eof之类的,这样能够缩小体积 然而这个是把字体文件直接放在服务器上,所以并不需要考虑字体的体积问题(ゝ∀・) 不过[网页版](https://suulnnka.github.io/BullshitGenerator/index.html)的原作者还是可以考虑一下的,甚至可以考虑使用 [html2canvas](https://github.com/niklasvh/html2canvas) 在前端直接生成图片~ꉂ(ˊᗜˋ*)

正常情况下可以运行时会先显示出可用的显卡型号的,先试一下更新显卡驱动? 另外你的显卡是否支持 Vulkan?很多比较旧的型号并不支持,应该也就无法使用。

1650 的话按理来说应该是支持的,不过就算是 Real-ESRGAN ncnn Vulkan 用的 [ncnn-vulkan 框架那边的 FAQ](https://github.com/Tencent/ncnn/wiki/faq#vkcreateinstance-failed--9) 也只是建议更新驱动😂 或许可以重装一下试试看?不过还不行的话,这毕竟不是 GUI 部分的问题,也可以试试去 Real-ESRGAN ncnn Vulkan 的 issue 区反馈。

先等等,Real-ESRGAN-ncnn-vulkan 还没有跟着更新(Real-ESRGAN 在 release 里面上传的两个 pth 文件并不能直接拿到这里使用)。我也会盯着那边的[和更新 0.3.0 相关的 issue](https://github.com/xinntao/Real-ESRGAN-ncnn-vulkan/issues/25),等到更新了就会加上。

生成图片是在前端完成的,点赞数量太多就需要在页面上加上一堆小图片,生成的时间当然就会长一些。 不想让这种计算密集型任务把页面卡死就得用 Web Workers,但是实现的话应该会比较麻烦……

![](https://user-images.githubusercontent.com/47057319/122892573-1530fb80-d378-11eb-83bb-e3eb031969d5.png) ![](https://user-images.githubusercontent.com/47057319/122892608-1c580980-d378-11eb-8a44-22a99989ac1e.png) 获取的标题和生成的截图都是正常的……