Open jaegan438 opened 8 years ago
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.
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
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.
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.
I have created a fork that implements reading of webp files.
@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?
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. :)