Methods and steps of DjVu to PDG

Source: Internet
Author: User

Ma Jian
Email:[email protected]
Published: 2008.08.03
Updated: 2008.08.24

Supplementary Note: This article is written earlier, when the PDG browser only supports pure PDG, does not support the file named PDG, which is actually djvu. Now Unicornviewer already support named PDG, real DjVu files, so for the bulk of the DjVu, most of the Pdgrenamer renamed as PDG, compressed into a ZIP package after the unicornviewer look. If it is a multi-page DjVu, you can use Djvutoy to split the page and rename it, or browse directly with the high version unicornviewer.

Statement:
1, I would like to dedicate this article to all the warm-blooded people, do not like to toss the need to see.
2, this article welcome reprint, but reprint when please indicate the original author for strnghrs.
3, DjVu converted to PDG, open may be a bit slow: since the space to earn profits, in time to pay a little cost is also should.

First, prepare to scatter page DjVu
How to obtain the DjVu file will not have to ask me, ask also will not have the result.
If you get a packaged multi-page DjVu, you can use the Djvutoy "file splitting" feature to disassemble it.

Ii. Renaming of documents
The DjVu needs to be renamed PDG, and conforms to the PDG file name specification: The main file name is 6 letters, numbers, control fame PDG, are lowercase.
The main file name consists of a prefix plus a number with the prefix meaning:
CoV: Cover
bOK: title
Leg: Copyright
FOW: Preface
!: Directory
Att: Appendix
BAC: Back cover
Ins: Inserts
The body page is not prefixed, and is encoded directly with a 6-digit number.
Renaming tools a lot, I used to use Renameit. If someone makes a special tool, it is estimated that you can earn some forum currency.

Iii. turning into a real PDG file
The PDG file itself is to support DjVu compression, just need to precede the PDG file header, so after the conversion is complete, the total length of the file will be larger than the total length of the original DjVu file.
Conversion method: With the Djvutoy "PDG compression" function, select the previous step named PDG, is the DjVu file folder, pay attention not to select "Convert to express version", so as to ensure maximum clarity.
For black and white single-layer DjVu (only SJBZ segment, no FG44, BG44, FGBZ, etc.), Djvutoy will embed the original DjVu file directly after the PDG file header to achieve lossless conversion. For grayscale, color DjVu (including FG44, BG44, FGBZ, etc.), because the PDG browser interpretation of such files is different (upside down, color swap), so can only be decoded first, and then re-compressed into a single layer of DjVu (only BG44), so the file quality or length may be a little loss.

Methods and steps of DjVu to PDG

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.