CBZ libraries for C#
.NET has two good options for CBZ:
- System.IO.Compression is built into .NET:
ZipFileandZipArchiveread and write ZIP with random access to entries. Use it when you only need CBZ. - SharpCompress reads ZIP, RAR, 7z and TAR through one API, so the same code opens CBZ, CBR, CB7 and CBT.
Both leave the comic conventions to you: natural page order, cover and ComicInfo.xml (parse it with System.Xml.Linq).
- SharpCompress Read and write CBZ comic book archives in C# with SharpCompress: pages in natural order, cover, ComicInfo.xml and creating a CBZ.
- System.IO.Compression Read and write CBZ comic book archives in C# with System.IO.Compression: pages in natural order, cover extraction, ComicInfo.xml, creating a CBZ.