Package: minidjvu Version: 0.8.svn.2010.05.06-2+b1 Severity: wishlist The file
http://fleksem.klf.uw.edu.pl/~jsbien/DjVu_shapes/Linde/Linde.djvu was created without minidjvu and the files http://fleksem.klf.uw.edu.pl/~jsbien/DjVu_shapes/Linde/Linde_p10.djvu http://fleksem.klf.uw.edu.pl/~jsbien/DjVu_shapes/Linde/Linde_p10_OCRpol.djvu with minidjvu set to 10 pages per dictionary. However the latter files do not contain common dictionary and are larger than the former one. The utility https://bitbucket.org/piotr_sikora/djvulibre-shape-tools/src/ae0c99ebbbd5/tools/inhdict.cpp reports respectively Without minidjvu: user@wheezy:~$ /home/user/djvulibre-shape-tools/tools/inhdict Downloads/Linde.djvu Page 0 shape count: total = 9333 ; inherited = inherited dictionary not found ; page only = 9333 Page 1 shape count: total = 10696 ; inherited = inherited dictionary not found ; page only = 10696 Page 2 shape count: total = 10906 ; inherited = inherited dictionary not found ; page only = 10906 Page 3 shape count: total = 10338 ; inherited = inherited dictionary not found ; page only = 10338 Page 4 shape count: total = 9034 ; inherited = inherited dictionary not found ; page only = 9034 Page 5 shape count: total = 13771 ; inherited = inherited dictionary not found ; page only = 13771 Page 6 shape count: total = 12753 ; inherited = inherited dictionary not found ; page only = 12753 Page 7 shape count: total = 9000 ; inherited = inherited dictionary not found ; page only = 9000 Page 8 shape count: total = 9954 ; inherited = inherited dictionary not found ; page only = 9954 Page 9 shape count: total = 10060 ; inherited = inherited dictionary not found ; page only = 10060 Summary: document contains 105845 total shapes 0 shapes in inherited dictionaries 105845 shapes in page-only dictionaries minidjvu 10 pages per dictionary: user@wheezy:~$ /home/user/djvulibre-shape-tools/tools/inhdict Downloads/test_Linde/Linde.djvu Page 0 shape count: total = 31657 ; inherited = inherited dictionary not found ; page only = 31657 Page 1 shape count: total = 37266 ; inherited = inherited dictionary not found ; page only = 37266 Page 2 shape count: total = 35030 ; inherited = inherited dictionary not found ; page only = 35030 Page 3 shape count: total = 43194 ; inherited = inherited dictionary not found ; page only = 43194 Page 4 shape count: total = 27873 ; inherited = inherited dictionary not found ; page only = 27873 Page 5 shape count: total = 58902 ; inherited = inherited dictionary not found ; page only = 58902 Page 6 shape count: total = 44395 ; inherited = inherited dictionary not found ; page only = 44395 Page 7 shape count: total = 35320 ; inherited = inherited dictionary not found ; page only = 35320 Page 8 shape count: total = 32466 ; inherited = inherited dictionary not found ; page only = 32466 Page 9 shape count: total = 35369 ; inherited = inherited dictionary not found ; page only = 35369 All the files has been created with didjvu: user@sid4OCR:~/Documents/Linde$ didjvu bundle -v -o Linde.djvu *.png p0133.png: - reading image - image size: 5100 x 6600 - converting to DjVu - 0.078 bits/pixel; 56.809:1, 98.24% saved, 18666279 bytes in, 328580 bytes out p0134.png: - reading image - image size: 5100 x 6600 - converting to DjVu - 0.086 bits/pixel; 53.686:1, 98.14% saved, 19319069 bytes in, 359851 bytes out p0135.png: - reading image - image size: 5100 x 6600 - converting to DjVu - 0.085 bits/pixel; 52.962:1, 98.11% saved, 18920975 bytes in, 357253 bytes out p0136.png: - reading image - image size: 5100 x 6600 - converting to DjVu - 0.084 bits/pixel; 53.944:1, 98.15% saved, 19140880 bytes in, 354828 bytes out p0137.png: - reading image - image size: 5100 x 6600 - converting to DjVu - 0.076 bits/pixel; 58.678:1, 98.30% saved, 18740708 bytes in, 319381 bytes out p0138.png: - reading image - image size: 5100 x 6600 - converting to DjVu - 0.100 bits/pixel; 45.893:1, 97.82% saved, 19307885 bytes in, 420714 bytes out p0139.png: - reading image - image size: 5100 x 6600 - converting to DjVu - 0.097 bits/pixel; 46.504:1, 97.85% saved, 19032606 bytes in, 409270 bytes out p0140.png: - reading image - image size: 5100 x 6600 - converting to DjVu - 0.082 bits/pixel; 55.625:1, 98.20% saved, 19113932 bytes in, 343619 bytes out p0141.png: - reading image - image size: 5100 x 6600 - converting to DjVu - 0.081 bits/pixel; 54.928:1, 98.18% saved, 18696001 bytes in, 340372 bytes out p0142.png: - reading image - image size: 5100 x 6600 - converting to DjVu - 0.082 bits/pixel; 55.973:1, 98.21% saved, 19362919 bytes in, 345936 bytes out bundling nan bits/pixel; 53.158:1, 98.12% saved, 190301254 bytes in, 3579912 bytes out user@sid4OCR:~/Documents/Linde$ didjvu bundle -vv -p 10 -o Linde_p10.djvu *.png p0133.png: - reading image - image size: 5100 x 6600 - converting to DjVu + cjb2 -losslevel 0 /tmp/didjvu.Aspw4W.pbm /tmp/didjvu.NroZW8.djvu + djvumake /tmp/didjvu.L2VOyg/result.djvu INFO=5100,6600,300 Sjbz=/tmp/didjvu.NroZW8.djvu p0134.png: - reading image - image size: 5100 x 6600 - converting to DjVu + cjb2 -losslevel 0 /tmp/didjvu.i1TQo_.pbm /tmp/didjvu.kkM44Y.djvu + djvumake /tmp/didjvu.l1a6kd/result.djvu INFO=5100,6600,300 Sjbz=/tmp/didjvu.kkM44Y.djvu p0135.png: - reading image - image size: 5100 x 6600 - converting to DjVu + cjb2 -losslevel 0 /tmp/didjvu.dTQQn2.pbm /tmp/didjvu.gUoSYa.djvu + djvumake /tmp/didjvu.y23z0W/result.djvu INFO=5100,6600,300 Sjbz=/tmp/didjvu.gUoSYa.djvu p0136.png: - reading image - image size: 5100 x 6600 - converting to DjVu + cjb2 -losslevel 0 /tmp/didjvu.24dF9C.pbm /tmp/didjvu.mXyXAb.djvu + djvumake /tmp/didjvu.aMoMBu/result.djvu INFO=5100,6600,300 Sjbz=/tmp/didjvu.mXyXAb.djvu p0137.png: - reading image - image size: 5100 x 6600 - converting to DjVu + cjb2 -losslevel 0 /tmp/didjvu.b0tGwl.pbm /tmp/didjvu._4hnX8.djvu + djvumake /tmp/didjvu.Tr_DOR/result.djvu INFO=5100,6600,300 Sjbz=/tmp/didjvu._4hnX8.djvu p0138.png: - reading image - image size: 5100 x 6600 - converting to DjVu + cjb2 -losslevel 0 /tmp/didjvu.Na1KtM.pbm /tmp/didjvu.mWUQsN.djvu + djvumake /tmp/didjvu.GZbHzQ/result.djvu INFO=5100,6600,300 Sjbz=/tmp/didjvu.mWUQsN.djvu p0139.png: - reading image - image size: 5100 x 6600 - converting to DjVu + cjb2 -losslevel 0 /tmp/didjvu.wq3Hw7.pbm /tmp/didjvu.bkZT5q.djvu + djvumake /tmp/didjvu.eukJyA/result.djvu INFO=5100,6600,300 Sjbz=/tmp/didjvu.bkZT5q.djvu p0140.png: - reading image - image size: 5100 x 6600 - converting to DjVu + cjb2 -losslevel 0 /tmp/didjvu.9qdrfU.pbm /tmp/didjvu.xWJL2R.djvu + djvumake /tmp/didjvu.GjOtnP/result.djvu INFO=5100,6600,300 Sjbz=/tmp/didjvu.xWJL2R.djvu p0141.png: - reading image - image size: 5100 x 6600 - converting to DjVu + cjb2 -losslevel 0 /tmp/didjvu.goVPW_.pbm /tmp/didjvu.4JSsJu.djvu + djvumake /tmp/didjvu.NwUBwd/result.djvu INFO=5100,6600,300 Sjbz=/tmp/didjvu.4JSsJu.djvu p0142.png: - reading image - image size: 5100 x 6600 - converting to DjVu + cjb2 -losslevel 0 /tmp/didjvu.vlBgc7.pbm /tmp/didjvu.AE8SkI.djvu + djvumake /tmp/didjvu.Op46SX/result.djvu INFO=5100,6600,300 Sjbz=/tmp/didjvu.AE8SkI.djvu creating shared dictionaries + minidjvu --indirect --aggression 0 --pages-per-dict 10 /tmp/didjvu.gG9dqc/p0133.djvu /tmp/didjvu.gG9dqc/p0134.djvu /tmp/didjvu.gG9dqc/p0135.djvu /tmp/didjvu.gG9dqc/p0136.djvu /tmp/didjvu.gG9dqc/p0137.djvu /tmp/didjvu.gG9dqc/p0138.djvu /tmp/didjvu.gG9dqc/p0139.djvu /tmp/didjvu.gG9dqc/p0140.djvu /tmp/didjvu.gG9dqc/p0141.djvu /tmp/didjvu.gG9dqc/p0142.djvu __index__.dgYABi.djvu + djvumake /tmp/didjvu.xrbVNr/result.djvu INFO=5100,6600,300 INCL=/tmp/didjvu.zoYIHO/p0133.iff Sjbz=/tmp/didjvu.zoYIHO/p0133.djvu PPM=/tmp/didjvu.ZdWsoI.ppm + djvumake /tmp/didjvu.xP6I2N/result.djvu INFO=5100,6600,300 INCL=/tmp/didjvu.zoYIHO/p0133.iff Sjbz=/tmp/didjvu.zoYIHO/p0134.djvu PPM=/tmp/didjvu.WstvGw.ppm + djvumake /tmp/didjvu.FbYW9h/result.djvu INFO=5100,6600,300 INCL=/tmp/didjvu.zoYIHO/p0133.iff Sjbz=/tmp/didjvu.zoYIHO/p0135.djvu PPM=/tmp/didjvu.lPiTnq.ppm + djvumake /tmp/didjvu.4lyZTe/result.djvu INFO=5100,6600,300 INCL=/tmp/didjvu.zoYIHO/p0133.iff Sjbz=/tmp/didjvu.zoYIHO/p0136.djvu PPM=/tmp/didjvu.7qj4wS.ppm + djvumake /tmp/didjvu.zE5g9y/result.djvu INFO=5100,6600,300 INCL=/tmp/didjvu.zoYIHO/p0133.iff Sjbz=/tmp/didjvu.zoYIHO/p0137.djvu PPM=/tmp/didjvu.JHR0r3.ppm + djvumake /tmp/didjvu.pRBisS/result.djvu INFO=5100,6600,300 INCL=/tmp/didjvu.zoYIHO/p0133.iff Sjbz=/tmp/didjvu.zoYIHO/p0138.djvu PPM=/tmp/didjvu.A9Me7s.ppm + djvumake /tmp/didjvu.MrYJHs/result.djvu INFO=5100,6600,300 INCL=/tmp/didjvu.zoYIHO/p0133.iff Sjbz=/tmp/didjvu.zoYIHO/p0139.djvu PPM=/tmp/didjvu.Hmv_LP.ppm + djvumake /tmp/didjvu.ZmYB1b/result.djvu INFO=5100,6600,300 INCL=/tmp/didjvu.zoYIHO/p0133.iff Sjbz=/tmp/didjvu.zoYIHO/p0140.djvu PPM=/tmp/didjvu.BXWFj2.ppm + djvumake /tmp/didjvu.MmHLTS/result.djvu INFO=5100,6600,300 INCL=/tmp/didjvu.zoYIHO/p0133.iff Sjbz=/tmp/didjvu.zoYIHO/p0141.djvu PPM=/tmp/didjvu.OjRr8Q.ppm + djvumake /tmp/didjvu.hN_IUB/result.djvu INFO=5100,6600,300 INCL=/tmp/didjvu.zoYIHO/p0133.iff Sjbz=/tmp/didjvu.zoYIHO/p0142.djvu PPM=/tmp/didjvu.rWTHcn.ppm bundling + bzz -e - - + djvmcvt -b /tmp/didjvu.cWnKgR/didjvu.yR1JSadjvu /tmp/didjvu.iw2aSf.djvu 0.091 bits/pixel; 49.625:1, 97.98% saved, 190301254 bytes in, 3834764 bytes out I don't think minidjvu should produce a file larger than original without warning. But the crucial question is: how to force minidjvu to create common dictionaries? Best regards Janusz -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 3.2.0-3-486 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages minidjvu depends on: ii libc6 2.13-35 ii libgcc1 1:4.7.1-5 ii libminidjvu0 0.8.svn.2010.05.06-2+b1 ii libstdc++6 4.7.1-5 ii libtiff4 3.9.6-7 minidjvu recommends no packages. Versions of packages minidjvu suggests: ii djview4 [djvu-viewer] 4.9-2 ii djvulibre-bin 3.5.25.3-1 ii evince [djvu-viewer] 3.4.0-2+b1 ii pdf2djvu 0.7.12-2+b1 -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org