{"id":1143,"date":"2016-03-24T13:32:53","date_gmt":"2016-03-24T17:32:53","guid":{"rendered":"http:\/\/blogs.harvard.edu\/imagingservices\/?p=1143"},"modified":"2016-03-25T08:28:05","modified_gmt":"2016-03-25T12:28:05","slug":"how-big-is-that-image-finding-the-pixel-dimensions-of-drs-stored-images","status":"publish","type":"post","link":"https:\/\/archive.blogs.harvard.edu\/imagingservices\/2016\/03\/24\/how-big-is-that-image-finding-the-pixel-dimensions-of-drs-stored-images\/","title":{"rendered":"How big is that image? Finding the pixel dimensions of DRS-stored images."},"content":{"rendered":"<p>Harvard Library&#8217;s new <a href=\"http:\/\/iiif.lib.harvard.edu\/manifests\/view\/drs:5981093\" target=\"_blank\">page-turner<\/a> accesses DRS-stored images, and technical metadata about the images, via the <a href=\"http:\/\/iiif.io\/\" target=\"_blank\">International Image Interoperability Framework\u00a0API<\/a>.<\/p>\n<p>Once you know the IIIF recipe, you can also use the API to quickly find information about images in DRS. [\u00a0I wish the API would return the image sampling rate (aka, dpi), but that nugget isn&#8217;t part of the IIIF specification. <em>Don&#8217;t get me started<\/em>. ]<\/p>\n<p>You can, however, \u00a0get the pixel dimensions of images stored in DRS, quick and easy.<\/p>\n<p>Here are two recipes:<\/p>\n<ul>\n<li>Referencing a DRS image ID<br \/>\n<strong>\u00a0http:\/\/ids.lib.harvard.edu\/ids\/iiif\/<em>&lt;DRS ID&gt;<\/em>\/info.json<\/strong><\/li>\n<li>Referencing a VIA record ID<br \/>\n<strong>\u00a0http:\/\/ids.lib.harvard.edu\/ids\/iiif\/via:<em>&lt;VIA record ID&gt;<\/em><\/strong><\/li>\n<\/ul>\n<p>Example:\u00a0<a href=\"http:\/\/ids.lib.harvard.edu\/ids\/iiif\/11869105\/info.json\" target=\"_blank\">http:\/\/ids.lib.harvard.edu\/ids\/iiif\/11869105\/info.json<\/a><br \/>\nExample:\u00a0<a href=\"http:\/\/iiif.lib.harvard.edu\/manifests\/via:olvwork279002\" target=\"_blank\">http:\/\/iiif.lib.harvard.edu\/manifests\/via:olvwork279002<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Harvard Library&#8217;s new page-turner accesses DRS-stored images, and technical metadata about the images, via the International Image Interoperability Framework\u00a0API. Once you know the IIIF recipe, you can also use the API to quickly find information about images in DRS. [\u00a0I &hellip; <a href=\"https:\/\/archive.blogs.harvard.edu\/imagingservices\/2016\/03\/24\/how-big-is-that-image-finding-the-pixel-dimensions-of-drs-stored-images\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":5358,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[14440],"tags":[],"class_list":["post-1143","post","type-post","status-publish","format-standard","hentry","category-general-interest"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/archive.blogs.harvard.edu\/imagingservices\/wp-json\/wp\/v2\/posts\/1143","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/archive.blogs.harvard.edu\/imagingservices\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/archive.blogs.harvard.edu\/imagingservices\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/imagingservices\/wp-json\/wp\/v2\/users\/5358"}],"replies":[{"embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/imagingservices\/wp-json\/wp\/v2\/comments?post=1143"}],"version-history":[{"count":12,"href":"https:\/\/archive.blogs.harvard.edu\/imagingservices\/wp-json\/wp\/v2\/posts\/1143\/revisions"}],"predecessor-version":[{"id":1156,"href":"https:\/\/archive.blogs.harvard.edu\/imagingservices\/wp-json\/wp\/v2\/posts\/1143\/revisions\/1156"}],"wp:attachment":[{"href":"https:\/\/archive.blogs.harvard.edu\/imagingservices\/wp-json\/wp\/v2\/media?parent=1143"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/imagingservices\/wp-json\/wp\/v2\/categories?post=1143"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/imagingservices\/wp-json\/wp\/v2\/tags?post=1143"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}