Open jlb6907 opened 2 years ago
Hi jlb6907! As you can see, SnDjVu is progressing pretty slowly right now, but I definitely intend to implement JB2 decoding for sndjvu_codec. My current tentative plan is to publish an initial (v0.1.0) release of sndjvu_format, sndjvu_codec, and sndjvu after I've written implementations of Zprime and BZZ encoding and put the whole thing through some basic tests. After that, JB2 encoding and decoding should be easily in reach for sndjvu_codec v0.2.0—that part of the specification is quite straightforward and relatively explicit. I don't have a confident estimate of when those releases will be ready, though.
The implementation in sndjvu_codec::jb2
(and similarly for sndjvu_codec::iw44
when that exists) will likely be pretty low-level. Eventually there will be a separate crate (sndjvu_image?) that implements the full DjVu mixed raster content model with JB2 + IW44 + secondary formats like JPEG, using sndjvu_codec as the engine (and other libraries for the secondary formats). That crate will be suitable for building a DjVu viewer application, for example.
Now working on this on the jb2 branch (very very WIP).
Do you plan to decode bi-level djvu image ? Do you have an approximate time frame ?