i noticed that GraphicsMagick does not write jbig
files. Setting l0 parameter of jbg_enc_options to zero
instead of -1 (like in jbigkit's pbmtools) solved the
Logged In: YES
Thanks! There must be some weakness in the test suite which
allowed this bug to get by. The fix is now in all CVS
branches and will be in the next development snapshot.
Unfortunately, I am noticing that this fix does not work
equally well for all libjbig versions. With some versions it
leads to "Floating point exception(core dumped)".