Thread - Obtaining High-Resolution Images

Overview > Main Forums > User Talk > ⟨User:Tim.willis1685
Obtaining High-Resolution Images ⟨User:Tim.willis1685 [#10290]

Hi Tim Willis,
I've just realized, that you upload quite many scores and espacially manuscript scans from other pages like SLUB.
The scans you can download from these pages are usually much lower in resolution than the ones these libraries hold.
I have written a simple JAVA program that you can use to get the original high resolution scans from some of these pages. The usage is described here where you can also download the program.
I used it to download some of the Heinichen scans from SLUB, that you uploaded here already, again so you can see the differences.
I would really appreciate if you could try and use the JAVA program, because the scans obtained are of really much higher quality.
Thank you in advance.

Posted at 20:25, 23 March 2015 by Piupianissimo (administrator)

Thank you for the great resource. Unfortunately I am not very technological and at the moment i can't get it to work. I have downloaded it and it all looks correct, but when I enter the details of the file I want and click "download", nothing happens. I have tried downloading from a few different libraries. Do have any advice? I hope I will be able to use it. It will be very helpful. Thanks again.

Posted at 12:52, 24 March 2015 by Tim.willis1685 (administrator)

That's bad. Is it possible that you upload a screenshot of the program when you want to download from SLUB (SLUB should be the easiest kind of download)? Or otherwise just write down all parameters you used for the download here.
And a question. Do you perhaps connect to the internet via a proxy server? If you need that I will have to check and add the proxy communication again first (I disabled it because I had problems with the implementation), otherwise it can't work.
When we don't find the reason the easy way I may be forced to add some kind of exception logging or messaging. That would of cause always be preferable for a good program. The user should always be able to see what is wrong. I just spared that first to save time.
Now let's try to find a solution for you (and perhaps others with a similar problem).

Posted at 20:12, 24 March 2015 by Piupianissimo (administrator)

Hi Piupianissimo,

I made some changes to my JAVA program (I had an old one hiding in my computer that needed to be removed). I managed to get this from SLUB. SBB is also working, but I am not having any luck with other websites (ONB or BachDig).



Posted at 11:04, 25 March 2015 by Tim.willis1685 (administrator)

Do you have the most updated Java software? I don't mean Piu's program, the Java you download from their website. That could also be an issue.

Posted at 15:59, 25 March 2015 by Sallen112 (administrator)

Sometimes the images read are very big. That might especially be a problem when reading tiled images (as is the case with BachDig). Do you use the jar file or the Windows executable? With the wrapper in the windos executable I've set the heap space to use for JAVA to around 1500MB. That is enough for most images and doesn't need a 64bit OS. When you use an OS other than Windows and have to use the jar you should start the JAVA VM with the option -Xmx1500m or something in that size region.
Again I have to apologize for not giving any sort of exception handling. That should show an "out of memory" error in that case.
I'm happy you could get something to run at least.
Oh, and JAVA 1.6 should be ok. I myself didn't run it with 1.7 or even 1.8 yet.

Posted at 17:36, 25 March 2015 by Piupianissimo (administrator)

I think it's working now! I have successfully downloaded scans from each of the libraries listed. Thanks again. This will be very helpful.

Posted at 05:12, 27 March 2015 by Tim.willis1685 (administrator)

What did you do to fix the problem?

Posted at 17:51, 27 March 2015 by Sallen112 (administrator)

I'm not sure. I think updating by JAVA runtime program might have helped.

Posted at 07:34, 28 March 2015 by Tim.willis1685 (administrator)

Hi Piupianissimo,

Would you suggest, that when uploading a HiRes file, one should split it into movements? I plan on uploading as many Zelenka HiRes files as I can, but some of them (even with 70% quality) are as big as 160MB.

On the contrary, files from ONB seem to be of very low quality. I run them through your program at 100% quality, but the result is still very poor. See Violin Concerto in B-flat major, D.Anh.3 (Tartini, Giuseppe). Did you notice this as well?

Posted at 08:40, 1 April 2015 by Tim.willis1685 (administrator)

Hi Tim Willis,
I have to admit that I've realized the often much lower resolution of the scans on ONB compared to the resolutions of the scans on SLUB for example, when I tested the downloder program. But that seems to be the best we can get from this site.
About you using different quality levels for the localy saved jpg images, you should not use a value smaller than 80%. These compression levels simply mean, that some information in the pictures gets lost. The lower the lever the more gets lost. 100% means actualy no compression at all. But pictures with 100% quality level can usualy be a factor of 5-10 bigger than at 80%. And there are no big differences between them. When you are not shure about the size/quality you can always use 100% in the downloader program and use some freeware graphic tool to change the level later. So you won't have to download the images again when the compression level was perhaps too high. And you have to know, that these compression level is only used for images taken from pages that present them in a tiled way (BnF, LOEB, BLB, Milan, Morgan, Bach Digital). The images from all the other sites are being read directly. So the compression you get is the one of the original pictures on these sites (some images from SLUB are 100% compression level and very big - you should compress them with a graphics program).
The resolution on the other hand - what is the number of pixels of the image - is given by the images the libraries have scanned (or at least that I was able to find on their servers - perhaps they own other, better images that are unreachable for us, I don't know). Here I tried to get the best images possible.
Now for the splitting into movements or parts or whatever. I always had the problem that I wasn't able to upload files bigger than 100MB (even though I understood that the maximum size should be 150MB or something like this). But I think it is a good idea to split these extremely big files into some kind of pieces that make sense.

So to bring everything to the point. I whould advise to:

  • always use a jpeg compression of 80% (with tiled images - BnF, LOEB, BLB, Milan, Morgan, Bach Digital).
  • with directly downloaded images being extremely big use a graphics program to compress after download (this depends on the pixel resolution - an image with about 3000x4000 pixel should not be much bigger than about 2MB).
  • split files that are bigger than 100MB into movement/parts/...

I hope that helps you a bit.

By the way, I've realized that you have already uploaded many scores downloaded with this program. That realy makes me happy!!!

Posted at 17:22, 1 April 2015 by Piupianissimo (administrator)
Pages: [01] 02
You must be logged in to reply to this thread.