Quote:
Originally Posted by godel10
The possibility to use djvu files as pdf ones is really exciting. Thank you very much for this tool.
By the way, one final question. Now that we use the same viewer than for pdf files, do you think it may be possible to have some software merging scribbles for djvu files?
|
It's certainly possible in theory, but I'm afraid that I don't have enough time to write such a program (perhaps later
).
If you can render the scribbles for a single page to an image with the correct resolution, it should be fairly easy to do using imagemagick and djvulibre. The steps for each page with scribbles would consist of:
- extract and decompress djvu page ( djvulibre - ddjvu )
- render scribbles for the page to an image file (own tool, does one already exist?)
- create composite image with scribbles and page ( imagemagick - convert and composite )
- convert image to djvu (djvulibre - not sure which program should be used)
- replace page in original document ( djvulibre - djvm)
The only real issue is the second step, which is not specific to djvu. Recompressing pages may increase the file size of the document (or decrease quality if lossy compression is used).