• Stars
    star
    3
  • Rank 3,963,521 (Top 79 %)
  • Language
    C++
  • License
    Other
  • Created over 15 years ago
  • Updated about 1 month ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

JBIG2 Encoder

This is an encoder for JBIG2.

JBIG2 encodes bi-level (1 bpp) images using a number of clever tricks to get better compression than G4. This encoder can:

  • Generate JBIG2 files, or fragments for embedding in PDFs
  • Generic region encoding
  • Perform symbol extraction, classification and text region coding
  • Perform refinement coding and,
  • Compress multipage documents

It uses the (Apache-ish licensed) Leptonica library: http://leptonica.com/

You'll need version 1.68.

Known bugs

The refinement coding causes Acrobat to crash. It's not known if this is a bug in Acrobat, though it may well be.

Usage

See the jbig2enc.h header for the high level API, or the jbig2 program for an example of usage:

$ jbig2 -s -p -v *.jpg && pdf.py output >out.pdf

to encode jbig2 files for pdf creation. If you want to encode an image and then view output first to include in pdf

$ jbig2 -s -S -p -v -O out.png *.jpg

If you want to encode an image as jbig2 (can be view in STDU Viewer) run:

$ jbig2 -s feyn.tif >feyn.jb2

More Repositories

1

pond

Pond
Go
910
star
2

xmpp-client

An XMPP client with OTR support
Go
366
star
3

curve25519-donna

Implementations of a fast Elliptic-curve Diffie-Hellman primitive
C
323
star
4

critbit

Critbit trees in C
C
319
star
5

ed25519

ed25519 for Go
179
star
6

ctgrind

Checking that functions are constant time with Valgrind
C
147
star
7

crlset-tools

Tools for dealing with Chrome's CRLSets
Go
137
star
8

extract-nss-root-certs

Go
134
star
9

dnssec-tls-tools

DNSSEC/TLS tools
Python
35
star
10

dnscurve

Tools for DNS curve implementation
C
23
star
11

certificatetransparency

Certificate Transparency stuff
Go
18
star
12

rwb0fuz1024

This is example code for a Rabin-Williams public-key signature scheme designed to provide high speed verification and small signatures.
C
16
star
13

shamirsplit

The shamirsplit package implements Shamir's cryptographic secret sharing algorithm
Go
16
star
14

libdjb

A massaging of DJB's various client libraries into something that's easy to build and use
C
14
star
15

dclxvi

Naehrig, Niederhagen and Schwabe's pairings code, massaged into a shared library.
Assembly
12
star
16

obstcp

Obfuscated TCP
C
11
star
17

gcmsiv

draft-irtf-cfrg-gcmsiv-00
Go
11
star
18

nullok

Scripts that I used to write a blog post about section 7.24.1(2) of C11
Shell
10
star
19

local-dns-cache

DJB's dnscache made to play nicely with modern distributions
C
10
star
20

panda

PANDA key agreement experiment
Go
8
star
21

transport-security-state-generate

7
star
22

lsmsb

Linux Security Modules based sandboxing scheme
C++
7
star
23

tlsclient

C++
5
star
24

cfrgcurve

CFRG document on elliptic curves
XSLT
5
star
25

tls-chacha20poly1305

IETF draft for ChaCha20+Poly1305 in TLS
HTML
4
star
26

tls-padding

TLS padding draft
XML
4
star
27

harfbuzz

Harfbuzz is a unification of the shaping engines from Pango and Qt4 (fork)
3
star
28

spdy-compliance

SPDY compliance tests (mirror)
Go
3
star
29

aweb

Literate programming scheme targetting C and HTML
Haskell
3
star
30

ACVP-wiki

3
star
31

otc

OpenType Condom
C++
2
star
32

technotes

Automatically exported from code.google.com/p/technotes
HTML
1
star
33

pkits-go

PKI testsuite for Go.
Go
1
star