Re: [Wikisource-l] Upload/import wizard

2017-01-02 Thread Alex Brollo
You can see a great advantage of djvu files over pdf files into the present file list of any IA item. You can see that IA removed djvu files, but it builds and publishes _djvu.xml file. Why? I presume that IA uses that file to "map words" into its book viewer, since it has a good text structure

Re: [Wikisource-l] Upload/import wizard

2017-01-02 Thread Alex Brollo
Please take a look to https://archive.org/details/spinoza_etica_paravia_djvu, this is precisely a djvu-only item that I uploaded some days ago. I asked for permission to create "djvu-only items" into IA forum and I got it; this is the fiirst item I created; as you see there's some "implicit

Re: [Wikisource-l] Upload/import wizard

2017-01-02 Thread Sam Wilson
On Mon, 2 Jan 2017, at 05:29 PM, Andrea Zanni wrote: > > Ideally, we should talk to IA about this. > Adding a comment on the IA item is a very low-cost solution and I > think is important, adding the djvu would be much better. We should > check if a script can edit every kind of item and

Re: [Wikisource-l] Upload/import wizard

2017-01-02 Thread Alex Brollo
The problem is that many new IA pdf files have a poor resolution / too high compression from beginning, so their quality can't be improved. IA viewer doesnìt use pdf or djvu file, it uses jpg images coming from jp2 images; this explains why images seen by the viewer are so beautiful, while pdf or

Re: [Wikisource-l] Upload/import wizard

2017-01-02 Thread Ankry
> Very interesting. > > About djvu files on IA, they can be built simply by pdf2djvu from pdf > files > of IA, but quality is very poor; [...] Did you try to set the -d parameter to something higher than the default 300? While converting PDF files from Polish digital libraries, I often use -d 450

Re: [Wikisource-l] Upload/import wizard

2017-01-02 Thread Andrea Zanni
On Mon, Jan 2, 2017 at 10:17 AM, Sam Wilson wrote: > And if we're building DjVus for Commons from IA files (either PDFs or the > Jpegs), should we also be adding those DjVus back to the IA item? > (Actually, can we even edit IA items that we haven't created ourselves?) >

Re: [Wikisource-l] Upload/import wizard

2017-01-02 Thread Alex Brollo
Very interesting. About djvu files on IA, they can be built simply by pdf2djvu from pdf files of IA, but quality is very poor; or they can be built, with some more pain, from _jp2.zip images merged with _djvu.xml files, the quality is high but resulting djvu is heavy. As Aubrey told some time