2

I'm trying to download an image from this website: http://digitalcollections.tcd.ie/home/index.php?DRIS_ID=MS58_003v from their digitization of the Book of Kells. They obviously want to share the images with the world. My problem is that when I right-click to save image, all I get is a portion of the image about 750 by 950 pixels. If I wanted to, I could screen shot it, segment by segment and then assemble it all in MSPaint, but that is tedious and I might not get the re-allignments right. So, my question is, "How do I get a nice, complete .png image from that website, even though they are using a zoom window?" Any help would be very appreciated.

1 Answers1

1

The most detailed images have the URL like this:

http://digitalcollections.tcd.ie/content/14/pages/MS58_001r/image_files/12/0_0.jpg

which goes up to 9_12.

The MS58_001r is MS58_00 followed by the page's "name" which you can extract using:

$(".toc_page_number").each(function (index, element) {
   console.log(element.textContent.split(" ")[1]);
});

You can easily create a script in python which generates all the links and downloads them, and using PIL you can stitch them together.

Iulian Onofrei
  • 9,188
  • 10
  • 67
  • 113
  • Thanks, man. You've pointed me in the right direction. I'm more of a C# kind of guy, so looks like I have to learn a bit of Python. I see that there is no oversized .jpeg to use anyway. It's all a patchwork, I guess to avoid monster download times. – SojourningStudent Nov 21 '17 at 02:23
  • I think it's because it offers high detail zooming option. So if you zoom to the maximum level, you only see a portion of it, so there's no reason to download the entire high detailed zoomed image, so it uses a bunch of tiles. This is probably the same reason and method Google Maps does it too. – Iulian Onofrei Nov 21 '17 at 08:37