{"id":919,"date":"2016-09-11T22:32:41","date_gmt":"2016-09-11T13:32:41","guid":{"rendered":"https:\/\/www.agent-grow.com\/self20percent\/?p=919"},"modified":"2016-09-12T13:59:01","modified_gmt":"2016-09-12T04:59:01","slug":"%e3%82%ab%e3%83%a1%e3%83%a9%e8%b2%b7%e3%81%84%e3%81%be%e3%81%97%e3%81%9f%e3%81%ae%e3%81%a7exif%e8%a7%a3%e6%9e%90%ef%be%9f%d0%b4%ef%be%9f","status":"publish","type":"post","link":"https:\/\/www.agent-grow.com\/self20percent\/2016\/09\/11\/%e3%82%ab%e3%83%a1%e3%83%a9%e8%b2%b7%e3%81%84%e3%81%be%e3%81%97%e3%81%9f%e3%81%ae%e3%81%a7exif%e8%a7%a3%e6%9e%90%ef%be%9f%d0%b4%ef%be%9f\/","title":{"rendered":"\u30ab\u30e1\u30e9\u8cb7\u3044\u307e\u3057\u305f\u306e\u3067Exif\u89e3\u6790(\uff9f\u0434\uff9f)"},"content":{"rendered":"<p>\u3069\u3046\u3082UC\u30ed\u30b9\u306e\u50d5\u3067\u3059(\u00b4\uff1b\u03c9\uff1b\uff40)<br \/>\n\u672c\u65e5\u653e\u9001\u306e\u30ac\u30f3\u30c0\u30e0UC Re:96\u306e\u6700\u7d42\u8a71\u3088\u304b\u3063\u305f\u3067\u3059\u306a\u3041\u3002<br \/>\n\u30aa\u30fc\u30c9\u30ea\u30fc\u306e\u6f14\u8aac\u306f\u3050\u3063\u3068\u304f\u308b\u3082\u306e\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n<strong><span style=\"color: #ff0000\">\u300c\u79c1\u305f\u3061\u306e\u4e2d\u306b\u7720\u308b\u3001\u53ef\u80fd\u6027\u3068\u3044\u3046\u540d\u306e\u795e\u300d<\/span><\/strong><br \/>\nUC\u306f\u3053\u306e\u4e00\u8a00\u306b\u3064\u304d\u307e\u3059\u306a\u3002<\/p>\n<p>\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u50d5\u306b\u3082\u65b0\u305f\u306a\u53ef\u80fd\u6027\u3068\u3044\u3046\u540d\u306e\u795e\u304c\u30fb\u30fb\u30fb\u3084\u3069\u3063\u305f\u3088\u3046\u306a\uff1f(\uff9f\u0434\uff9f)<\/p>\n<p><!--more--><\/p>\n<p><span style=\"color: #ff0000\"><strong>\u305d\u308c\u306f\u30ab\u30e1\u30e9\u3067\u3059(\uff9f\u0434\uff9f)<\/strong><\/span><br \/>\n\u3084\u3063\u3068\u30ab\u30e1\u30e9\u304c\u6765\u307e\u3057\u305f\uff01<br \/>\n\u3044\u3084\u3041\u301c\u9577\u304b\u3063\u305f\u3002\u6ce8\u6587\u3057\u3066\u304b\u30891\u30f6\u6708\u534a\u306f\u5f85\u3061\u307e\u3057\u305f\u3002<\/p>\n<p>\u3068\u308a\u3042\u3048\u305a\u3001\u8272\u3093\u306a\u7269\u3092\u64ae\u3063\u3066\u3044\u3063\u3066\u8155\u3092\u78e8\u3044\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059(\uff40\u30fb\u03c9\u30fb\u00b4)<\/p>\n<p>\u306a\u304a\u3001\u5f0a\u793e\u306b\u306f\u30ab\u30e1\u30e9\u30de\u30f3\u304c\u591a\u6570\u5728\u7c4d\u3057\u3066\u3044\u308b\u3088\u3046\u3067\u3059\u305e\u3002<a href=\"https:\/\/employment.en-japan.com\/desc_775567\/\">\u30ab\u30e1\u30e9\u3068IT\u306b\u8208\u5473\u304c\u3042\u308b\u304b\u305f\u306f\u305c\u3072\u3053\u3061\u3089\u3082\u5fa1\u89a7\u304f\u3060\u3055\u3044<\/a>\uff08\uff3e\u03c9\uff3e\uff09<\/p>\n<p>&nbsp;<\/p>\n<p>\u3055\u3066\u3001\u30ab\u30e1\u30e9\u3067\u64ae\u3063\u305f\u753b\u50cf\u3068\u3044\u3048\u3070\u3001<strong><span style=\"color: #ff0000\">Exif\u30c7\u30fc\u30bf<\/span><\/strong>\u3067\u3059\u306a\u3002<br \/>\n\u4ee5\u524d\u4ed5\u4e8b\u3067Exif\u3092\u53d6\u308a\u6271\u3063\u305f\u308a\u3057\u3066\u304a\u308a\u307e\u3057\u305f\u3002\u5f53\u6642\u306fPHP\u3067\u3054\u306b\u3087\u3054\u306b\u3087\u3057\u3066\u304a\u308a\u307e\u3057\u305f\u304c\u3001\u3001\u4eca\u56de\u306fPython\u3067Exif\u3092\u898b\u3066\u3044\u304f\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u3068\u3044\u3046\u3053\u3068\u3067\u307e\u305a\u306fPython\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304b\u3089\u3002<br \/>\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5\u306b\u3064\u3044\u3066\u306f<a href=\"https:\/\/www.agent-grow.com\/self20percent\/2016\/09\/11\/centos7%e3%81%abpython3%e3%82%92yum%e3%81%a7%e5%85%a5%e3%82%8c%e3%81%a6%e3%81%bf%e3%81%be%e3%81%99%ef%be%9f%d0%b4%ef%be%9f\/\">\u3053\u3061\u3089<\/a>\u304b\u3089<\/p>\n<p>Python\u3067\u3068\u308a\u3042\u3048\u305aExif\u60c5\u5831\u3092\u53d6\u308a\u51fa\u3059\u306b\u306f<a href=\"https:\/\/pillow.readthedocs.io\/en\/3.3.x\/\">Pillow<\/a>\u3068\u3044\u3046\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u6709\u540d\u306a\u3088\u3046\u3067\u3059\u3002<br \/>\n\u3068\u3044\u3046\u3053\u3068\u3067Pillow\u3092\u5165\u308c\u3066\u307f\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n$ sudo pip3.5 install Pillow\r\n<\/pre>\n<p>\u3053\u308c\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5b8c\u4e86\u3067\u3059\u3002\u7c21\u5358\u3067\u3059\u306d\u3002<br \/>\n\u3067\u306f\u5b9f\u969b\u306bExif\u3092\u3076\u3063\u3053\u629c\u3044\u3066\u898b\u307e\u3057\u3087\u3046(\uff9f\u0434\uff9f)<\/p>\n<p>\u30b5\u30f3\u30d7\u30eb\u753b\u50cf\u306f\u3053\u306e\u72db\u72ac\u69d8\u3067\u3059\u3002<\/p>\n<p>\n\t\t<style type=\"text\/css\">\n\t\t\t#gallery-1 {\n\t\t\t\tmargin: auto;\n\t\t\t}\n\t\t\t#gallery-1 .gallery-item {\n\t\t\t\tfloat: left;\n\t\t\t\tmargin-top: 10px;\n\t\t\t\ttext-align: center;\n\t\t\t\twidth: 33%;\n\t\t\t}\n\t\t\t#gallery-1 img {\n\t\t\t\tborder: 2px solid #cfcfcf;\n\t\t\t}\n\t\t\t#gallery-1 .gallery-caption {\n\t\t\t\tmargin-left: 0;\n\t\t\t}\n\t\t\t\/* see gallery_shortcode() in wp-includes\/media.php *\/\n\t\t<\/style>\n\t\t<div data-carousel-extra='{&quot;blog_id&quot;:1,&quot;permalink&quot;:&quot;https:\/\/www.agent-grow.com\/self20percent\/2016\/09\/11\/%e3%82%ab%e3%83%a1%e3%83%a9%e8%b2%b7%e3%81%84%e3%81%be%e3%81%97%e3%81%9f%e3%81%ae%e3%81%a7exif%e8%a7%a3%e6%9e%90%ef%be%9f%d0%b4%ef%be%9f\/&quot;}' id='gallery-1' class='gallery galleryid-919 gallery-columns-3 gallery-size-thumbnail'><dl class='gallery-item'>\n\t\t\t<dt class='gallery-icon landscape'>\n\t\t\t\t<a href='https:\/\/www.agent-grow.com\/self20percent\/2016\/09\/11\/%e3%82%ab%e3%83%a1%e3%83%a9%e8%b2%b7%e3%81%84%e3%81%be%e3%81%97%e3%81%9f%e3%81%ae%e3%81%a7exif%e8%a7%a3%e6%9e%90%ef%be%9f%d0%b4%ef%be%9f\/dsc00159-1\/'><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/www.agent-grow.com\/self20percent\/wp-content\/uploads\/2016\/09\/DSC00159-1-150x150.jpg\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" data-attachment-id=\"923\" data-permalink=\"https:\/\/www.agent-grow.com\/self20percent\/2016\/09\/11\/%e3%82%ab%e3%83%a1%e3%83%a9%e8%b2%b7%e3%81%84%e3%81%be%e3%81%97%e3%81%9f%e3%81%ae%e3%81%a7exif%e8%a7%a3%e6%9e%90%ef%be%9f%d0%b4%ef%be%9f\/dsc00159-1\/\" data-orig-file=\"https:\/\/www.agent-grow.com\/self20percent\/wp-content\/uploads\/2016\/09\/DSC00159-1.jpg\" data-orig-size=\"800,533\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;3.5&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;ILCE-6000&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;1472993466&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;30&quot;,&quot;iso&quot;:&quot;500&quot;,&quot;shutter_speed&quot;:&quot;0.016666666666667&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"dsc00159-1\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/www.agent-grow.com\/self20percent\/wp-content\/uploads\/2016\/09\/DSC00159-1-1024x683.jpg\" \/><\/a>\n\t\t\t<\/dt><\/dl>\n\t\t\t<br style='clear: both' \/>\n\t\t<\/div>\n<br \/>\n\u3048\u3047\u3002\u79c1\u304c\u8fd1\u6240\u306e\u795e\u793e\u3067\u64ae\u3063\u3066\u304d\u307e\u3057\u305f(\uff9f\u0434\uff9f)<\/p>\n<p>\u305d\u3057\u3066exif\u3092\u629c\u3044\u3066\u307f\u308bPython\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u306f\u3053\u3061\u3089\u3067\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nimport pprint\r\nfrom PIL import Image\r\nimport PIL.ExifTags\r\n\r\nimg = Image.open(&quot;sample.jpg&quot;)\r\nexif_data = img._getexif()\r\n\r\nexif = {\r\n    PIL.ExifTags.TAGS&#x5B;k]: v\r\n    for k, v in img._getexif().items()\r\n    if k in PIL.ExifTags.TAGS\r\n}\r\n\r\npp = pprint.PrettyPrinter(width=41, compact=True)\r\n\r\npp.pprint(exif)\r\n<\/pre>\n<p>\u203b\u30a4\u30f3\u30c7\u30f3\u30c8\u306f\u3057\u3063\u304b\u308a\u5b88\u3063\u3066\u3063\u304f\u3060\u3055\u3044\u306d\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u305d\u3057\u3066\u3053\u308c\u3092exif.py\u3068\u3044\u3046\u540d\u524d\u3067\u4fdd\u5b58\u3057\u3066\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n# python3.5 exif.py\r\n{'ApertureValue': (361471, 100000),\r\n 'BrightnessValue': (12324, 2560),\r\n 'ColorSpace': 1,\r\n 'Contrast': 0,\r\n 'CustomRendered': 0,\r\n 'DateTime': '2016:09:04 19:59:42',\r\n 'DateTimeDigitized': '2016:09:04 '\r\n                      '12:51:06',\r\n 'DateTimeOriginal': '2016:09:04 '\r\n                     '12:51:06',\r\n 'DigitalZoomRatio': (16, 16),\r\n 'ExifOffset': 206,\r\n 'ExifVersion': b'0230',\r\n 'ExposureBiasValue': (23, 10),\r\n 'ExposureMode': 0,\r\n 'ExposureProgram': 3,\r\n 'ExposureTime': (1, 60),\r\n 'FNumber': (35, 10),\r\n 'FileSource': b'\\x03',\r\n 'Flash': 16,\r\n 'FocalLength': (300, 10),\r\n 'FocalLengthIn35mmFilm': 45,\r\n 'FocalPlaneResolutionUnit': 3,\r\n 'FocalPlaneXResolution': (83662979,\r\n                           32768),\r\n 'FocalPlaneYResolution': (83662979,\r\n                           32768),\r\n 'ISOSpeedRatings': 500,\r\n 'LensModel': 'E 30mm F3.5 Macro',\r\n 'LensSpecification': ((300, 10),\r\n                       (300, 10),\r\n                       (35, 10),\r\n                       (35, 10)),\r\n 'LightSource': 0,\r\n 'Make': 'SONY',\r\n 'MaxApertureValue': (926, 256),\r\n 'MeteringMode': 2,\r\n 'Model': 'ILCE-6000',\r\n 'ResolutionUnit': 2,\r\n 'Saturation': 0,\r\n 'SceneCaptureType': 0,\r\n 'SceneType': b'\\x01',\r\n 'Sharpness': 0,\r\n 'ShutterSpeedValue': (5906891, 1000000),\r\n 'Software': 'Adobe Photoshop Lightroom '\r\n             '6.6.1 (Macintosh)',\r\n 'WhiteBalance': 0,\r\n 'XResolution': (240, 1),\r\n 'YResolution': (240, 1)}\r\n<\/pre>\n<p>\u8272\u3005\u51fa\u3066\u304d\u307e\u3057\u305f\u3002\u3053\u308c\u304c\u5642\u306eExif\u3067\u3059\u3002\u30d0\u30fc\u30b8\u30e7\u30f3\u306f2.3\u3067\u3059\u306d\u3002<br \/>\n\u4f7f\u3063\u3066\u308b\u30ab\u30e1\u30e9\u306e\u30e1\u30fc\u30ab\u30fc\u3084\u6a5f\u7a2e\u3001\u30ec\u30f3\u30ba\u3001\u73fe\u50cf\u3057\u305f\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u306e\u60c5\u5831\u304c\u3060\u3060\u6f0f\u308c\u3067\u3059\u3002<\/p>\n<p>\u304a\u305d\u308d\u3057\u3084((((\uff1b\uff9f\u0414\uff9f))))\uff76\uff9e\uff78\uff76\uff9e\uff78\uff8c\uff9e\uff99\uff8c\uff9e\uff99<\/p>\n<p>Exif\u306f\u3042\u308b\u7a0b\u5ea6\u57fa\u672c\u7684\u306a\u4ed5\u69d8\u306f\u6c7a\u307e\u3063\u3066\u3044\u308b\u3082\u306e\u306e\u3001\u3069\u306e\u3088\u3046\u306b\u5b9f\u88c5\u3059\u308b\u304b\u306f\u30e1\u30fc\u30ab\u30fc\u306b\u59d4\u306d\u3089\u308c\u3066\u3044\u308b\u611f\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n\u30e1\u30fc\u30ab\u30fc\u304c\u540c\u3058\u3067\u3082\u6a5f\u7a2e\u304c\u7570\u306a\u308c\u3070\u4fdd\u5b58\u3055\u308c\u308b\u60c5\u5831\u304c\u5168\u304f\u7570\u306a\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u305d\u306e\u5834\u5408\u3001\u30e1\u30fc\u30ab\u30fc\u306e\u4ed5\u69d8\u306b\u3057\u305f\u304c\u3063\u3066\u30d0\u30a4\u30ca\u30ea\u30d5\u30a1\u30a4\u30eb\u3092\u76f4\u63a5\u3044\u3058\u308a\u306a\u304c\u3089\u60c5\u5831\u3092\u629c\u3044\u305f\u308a\u3082\u3057\u307e\u3059\u3002<\/p>\n<p>\uff08\u305d\u3093\u306a\u3053\u3068\u3057\u306a\u304f\u3066\u3082\u3042\u308b\u7a0b\u5ea6\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u305d\u308d\u3063\u3066\u3044\u307e\u3059\u304c\u3001\u305d\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u4e2d\u3067\u306f\u8272\u3005\u3054\u306b\u3087\u3054\u306b\u3087\u82e6\u52b4\u306e\u5f8c\u304c\u898b\u53d7\u3051\u3089\u308c\u307e\u3059(\uff1b\u00b4\u0414\uff40)\uff09<\/p>\n<p>\u8272\u3005\u3068\u5965\u6df1\u3044\u3082\u306e\u3067\u3059\u3001Exif\u3081(\uff1b\u00b4\u0414\uff40)<\/p>\n<p>&nbsp;<\/p>\n<p>\u305d\u3093\u306aExif\u3055\u3093\u306e\u304a\u8a71\u3057\u3067\u3057\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3069\u3046\u3082UC\u30ed\u30b9\u306e\u50d5\u3067\u3059(\u00b4\uff1b\u03c9\uff1b\uff40) \u672c\u65e5\u653e\u9001\u306e\u30ac\u30f3\u30c0\u30e0UC Re:96\u306e\u6700\u7d42\u8a71\u3088\u304b\u3063\u305f\u3067\u3059\u306a\u3041\u3002 \u30aa\u30fc\u30c9\u30ea\u30fc\u306e\u6f14\u8aac\u306f\u3050\u3063\u3068\u304f\u308b\u3082\u306e\u304c\u3042\u308a\u307e\u3059\u3002 \u300c\u79c1\u305f\u3061\u306e\u4e2d\u306b\u7720\u308b\u3001\u53ef\u80fd\u6027\u3068\u3044\u3046\u540d\u306e\u795e\u300d UC\u306f\u3053\u306e\u4e00\u8a00\u306b\u3064\u304d\u307e\u3059\u306a\u3002 \u3068 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":923,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":true,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[10],"tags":[87,86,88],"class_list":["post-919","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tech","tag-exif","tag-python3","tag-88"],"jetpack_featured_media_url":"https:\/\/www.agent-grow.com\/self20percent\/wp-content\/uploads\/2016\/09\/DSC00159-1.jpg","jetpack_shortlink":"https:\/\/wp.me\/p7Bq4F-eP","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.agent-grow.com\/self20percent\/wp-json\/wp\/v2\/posts\/919","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.agent-grow.com\/self20percent\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.agent-grow.com\/self20percent\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.agent-grow.com\/self20percent\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.agent-grow.com\/self20percent\/wp-json\/wp\/v2\/comments?post=919"}],"version-history":[{"count":0,"href":"https:\/\/www.agent-grow.com\/self20percent\/wp-json\/wp\/v2\/posts\/919\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.agent-grow.com\/self20percent\/wp-json\/wp\/v2\/media\/923"}],"wp:attachment":[{"href":"https:\/\/www.agent-grow.com\/self20percent\/wp-json\/wp\/v2\/media?parent=919"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.agent-grow.com\/self20percent\/wp-json\/wp\/v2\/categories?post=919"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.agent-grow.com\/self20percent\/wp-json\/wp\/v2\/tags?post=919"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}