2015.01.25 15:44 "[Tiff] How to generate JBIG encoded TIFFs?", by Ludolf Holzheid

2015.01.25 17:03 "Re: [Tiff] How to generate JBIG encoded TIFFs?", by Ludolf Holzheid

On 2015-01-25 19:34 +0300, Yuriy Kaminskiy wrote:

Hello List,

I compiled libtiff with JBIG support, but I can't get tiffcp to write the output JBIG encoded (and yes, the input is bi-level data).

> [..]

So, you should first convert file to single-strip layout:

tiffcp -r-1 test-in.tiff tmp.tiff

... and then recompress it to jbig:

tiffcp -c jbig tmp.tiff test-out.tiff

Ah, you need two conversion steps. I didn't expect this.

This does the trick, thanks,

Ludolf

--

Ludolf Holzheid    [ˈluˑ.doːlf ˈhɔlts.haɪd]

Heinrichstraße 6   [ˈhaɪn.ʀɪçˌʃtʀɑː.sə 6]
68642 Bürstadt     [68642 ˈbyːʁ.ʃtat]

PGP key fingerprint: 92DC 63E6 B2CD BCFD 8A6C E390 6306 0DA6 4629 72FB