jwilk-archive / pdf2djvu

PDF to DjVu converter
GNU General Public License v2.0
93 stars 17 forks source link

if use c44 - add --crcb options #74

Open jwilk opened 11 years ago

jwilk commented 11 years ago

Issue reported by mivan748 at Google Code:

-crcbnormal -crcbhalf -crcbdelay n -crcbfull -crcbnormal and -crcbdelay 0. -crcbnone

may be useful to get higher image quality sometimes your pdf2djvu produces awful images

jwilk commented 11 years ago

Comment submitted by mivan748 at Google Code:

and comment - what crcb opt uses your pdf2djvu

jwilk commented 11 years ago

pdf2djvu uses c44 only in very exceptional situations: to create a solid-color (non-white) background. It doesn't call it with any --crcb* options, so the default --crcbnormal is being used.

In all other cases, pdf2djvu uses csepdjvu to create IW44 layers, which doesn't have any options to control resolution of chrominance encoding.

jwilk commented 11 years ago

Comment submitted by mivan748 at Google Code:

i convert pdf with raster images and c44 opts has great effect on img quality images was lowcolor (32color) and it was hard to obtain acceptable quality with same size so the idea is to code such pdf with lowcolor opts of c44 to reach high compression with same quality. present 0.7.14 codes such images in excessible sized iw44 chunks... why crcb opts omitted? it can be helpful...

jwilk commented 11 years ago

Comment submitted by mivan748 at Google Code:

--bg-subsample=n
Specifies the background subsampling ratio. The default is 3. Valid values are integers
between 1 and 12, inclusive

so that option provided by what?

question created by wierd results - screenshots good compressed with 300-1000% increased file size...