cbconvert icon indicating copy to clipboard operation
cbconvert copied to clipboard

can you add webp as image target format ?

Open sergiodobrasil opened this issue 7 years ago • 3 comments

sergiodobrasil avatar Jan 03 '19 09:01 sergiodobrasil

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.

gen2brain avatar Jan 03 '19 09:01 gen2brain

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

sergiodobrasil avatar Jan 03 '19 22:01 sergiodobrasil

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?

Protektor-Desura avatar Sep 10 '20 01:09 Protektor-Desura

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 avatar Sep 05 '22 16:09 gen2brain

@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.

gen2brain avatar Sep 14 '22 12:09 gen2brain