aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
blob: 9bd01af9de12f227dfd16379712305994b98a3a7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Melon
=====

Melon: Converter that produces PDF from CNKI proprietary formats

Development
-----------

Currently, PDF, CAJ, and KDH can be converted. Please report 
any failures with a sample that can reproduce the behaviour.

HN support is being worked on.

KDH is essentially an invalid PDF file xor'ed with a predetermined key.
You may want to convert the decrypted KDH to valid PDF, although some
PDF readers can display the invalid PDF.

Usage
=====

`make`

Optionally, `make install`

`melon -o OUTPUT INPUT`

Options
-------

-o, --output  
Specify output file  

-b, --buffer  
Set buffer size (default 512k)  

-v, --verbose  
Print more information (twice for even more)

Thanks
======

This project is inspired by [https://github.com/JeziL/caj2pdf](https://github.com/JeziL/caj2pdf)