Simple-Comic icon indicating copy to clipboard operation
Simple-Comic copied to clipboard

Any chance of implementing .cbt/webp support?

Open jaegan438 opened this issue 9 years ago • 6 comments

cbt's are .tar as I understand it, and the webp image format is something google came up with for chrome I think. For some reason it's becoming popular to put out comics using these in combination. I note that Simple Comic lists tar as a supported archive format, so I would think implementing the .cbt side should be fairly trivial. I have no idea what would be involved in implementing support for the webp image format. The last time I programmed anything was in FORTRAN. :)

jaegan438 avatar Jan 16 '16 05:01 jaegan438

It should be very easy to add .cbt support, providing that the version of XADMaster used by Simple Comic supports it. If it doesn't, it would be trivial to add it and build it.

Adding webp support would be more complicated, true.

MaddTheSane avatar Jan 16 '16 05:01 MaddTheSane

Just ran across something that might be helpful (or might not, I don't know) in adding webp support: https://github.com/dchest/webp-quicklook

jaegan438 avatar Apr 06 '16 13:04 jaegan438

Unless there is some source of comics being published with webp images that is a non-starter. XADMaster does support tar. I just added tar to the list of allowed archive types. It seems to work. Need to come up with a UTI for the importer though.

arauchfuss avatar Feb 09 '17 22:02 arauchfuss

Mangarock seems to host manga in webp. This means that users who use Mangarock (it's quite popular) won't be able to use Simple Somic. In Hakuneko manga downloader, for example, there is actually the option to download in .cbz, but that archives the .webp files into a .cbz, meaning that for its users, it's not entirely clear as to why Simple Comic can't open the file even though it appears to be in a readable format.

autoditactics avatar Mar 28 '19 21:03 autoditactics

I have created a fork that implements reading of webp files.

MaddTheSane avatar Oct 21 '19 06:10 MaddTheSane

@MaddTheSane Would it possible for you to compile a build and share a links with everybody here, please? I also see that you made a great job of updating the app, like adding a Dark Mode — maybe you could compile it and put to the Releases tab in your repo, and then put a link here?

euf avatar Oct 21 '19 08:10 euf