gen2brain / cbconvert

CBconvert is a Comic Book converter
GNU General Public License v3.0
215 stars 13 forks source link

can you add webp as image target format ? #2

Closed sergiodobrasil closed 2 years ago

gen2brain commented 5 years ago

Yes, it is easy to add webp format, but it is not easy to compile GUI/frontend again, because it is using a QML library that doesn't work anymore. Whole GUI needs to be rewritten in some other library. For CMD it is easy to add though.

sergiodobrasil commented 5 years ago

ok, thx. i will try to add the webp support on the CMD when i get some freetime. @+

Protektor-Desura commented 4 years ago

I take it that webp support was never added to the CMD version? I was wondering if AVIF (AV1 image) support could be added to the CMD version as well?

gen2brain commented 2 years ago

WebP support is added and the new release is uploaded, only CLI, and defunct GUI is removed. I will probably rewrite GUI sometime. Both Linux and Windows binaries are now fully static binaries.

As for AVIF, currently, there is only an encoder library for Go (cgo bindings), and the comic book readers I am using don't have support at all.

gen2brain commented 2 years ago

@Protektor-Desura support for AVIF is also added, via libheif and libaom. Both Windows and Linux binaries are fully statically compiled. As for support in comic book readers, with https://github.com/novomesk/qt-avif-image-plugin I got YacReader to work. The results are impressive, 75M file is down to 30M, if I resize the comic to 1280, which I usually do, it is down to 15M! The only downside is that it is painfully slow to encode to AVIF.