BNF higher resolution downloads ?

Advice and Help

Moderator: kcleung

Makhtoot
Posts: 1
Joined: Wed Apr 30, 2014 6:15 am
notabot: 42
notabot2: Human

Re: BNF higher resolution downloads ?

Post by Makhtoot »

Hello dear friend
I tried this script but i couldn't get any positive result from it, i think i did everything right but it gives me a strange error that i'll type in the following:

File "C:\Coran\getbnf_1.py", line 109
print ('ERROR: THERE\'S NO OUTPUT FILE!')
^
TabError: inconsistent use of tabs and spaces in indentation


I'll be much appreciated if you could help me out here.
best regards
MBM
Chrysogonus
Posts: 1
Joined: Mon Feb 02, 2015 6:58 pm
notabot: 42
notabot2: Human

Re: BNF higher resolution downloads ?

Post by Chrysogonus »

This script also works on OS X Yosemite, using the included Python installation and ImageMagick installed via Homebrew. Many, many thanks for this! (I'm transcribing a manuscript from the BnF that can only be read if one turns up the brightness, and of course that isn't possible unless one can download the images.)
GeeJee
Posts: 3
Joined: Sat Nov 25, 2017 12:32 am
notabot: 42
notabot2: Human

Re: BNF higher resolution downloads ?

Post by GeeJee »

Sorry to reply to this old thread... :mrgreen:

I can't get this to work correctly. The script works and I do get a set of JPEG files, however, the bottom part of the page is missing.

It concerns this piece in Gallica:
http://gallica.bnf.fr/ark:/12148/bpt6k859488b

This is the command I used in python:
python getbnf.py -a "http://gallica.bnf.fr/proxy?method=R&ar ... 32,230,187" -p 4 -o gigout

The resulting JPEG is attached to this post.

Any help would be very much appreciated!
Attachments
gigout5.jpg
gigout5.jpg (1.41 MiB) Viewed 16572 times
coulonnus
active poster
Posts: 1558
Joined: Thu Jul 12, 2007 8:53 am
notabot: 42
notabot2: Human
Location: Nice, France
Contact:

Re: BNF higher resolution downloads ?

Post by coulonnus »

GeeJee
Posts: 3
Joined: Sat Nov 25, 2017 12:32 am
notabot: 42
notabot2: Human

Re: BNF higher resolution downloads ?

Post by GeeJee »

Excellent! Thank you so much! :D
Post Reply