{"id":123,"date":"2011-02-23T15:07:00","date_gmt":"2011-02-23T15:07:00","guid":{"rendered":"http:\/\/aldarias.es\/wordpress\/?p=123"},"modified":"2011-02-23T15:07:00","modified_gmt":"2011-02-23T15:07:00","slug":"poner-la-fecha-en-las-fotos-convert-exif","status":"publish","type":"post","link":"http:\/\/aldarias.es\/wordpress\/poner-la-fecha-en-las-fotos-convert-exif\/","title":{"rendered":"PONER LA FECHA EN LAS FOTOS: CONVERT, EXIF"},"content":{"rendered":"<p><span style=\"font-weight: bold;\">1) INTRODUCCION<\/span><\/p>\n<p>Anteriormente tenia una c\u00e1mara que ponia la fecha en las fotos, pero<br \/>la que tengo ahora no lo hace.<\/p>\n<p>La idea es hacer un script que lo haga y de forma autom\u00e1tica a todas las fotos.<\/p>\n<p><span style=\"font-weight: bold;\">2) SCRIPT<\/span>: fechaenfoto.sh<\/p>\n<p># Por : Paco Aldarias<br \/># 23.2.2011<br \/># Script que pone la fecha como marca de agua en foto<br \/># Tags: Marca Agua Fecha Foto<br \/># Ejecutar como: sh fechaenfoto.sh foto.jpg<\/p>\n<p>imagen=$1<br \/>f1=$(exiftime $imagen | awk &#8216;\/Created\/ {print $3}&#8217;)<br \/>anyo=$(echo $f1 | cut -d \u00ab:\u00bb -f1)<br \/>mes=$(echo $f1 | cut -d \u00ab:\u00bb -f2)<br \/>dia=$(echo $f1 | cut -d \u00ab:\u00bb -f3)<br \/>convert -font Bookman-DemiItalic  -fill darkred -stroke magenta -pointsize 50  -draw \u00abtext 2225,1850 &#8216;$dia-$mes-$anyo'\u00bb $imagen f$imagen<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1) INTRODUCCION Anteriormente tenia una c\u00e1mara que ponia la fecha en las fotos, perola que tengo ahora no lo hace. La idea es hacer un script que lo haga y de forma autom\u00e1tica a todas las fotos. 2) SCRIPT: fechaenfoto.sh &hellip; <a href=\"http:\/\/aldarias.es\/wordpress\/poner-la-fecha-en-las-fotos-convert-exif\/\">Sigue leyendo <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[173,175,174],"tags":[],"class_list":["post-123","post","type-post","status-publish","format-standard","hentry","category-fecha","category-foto","category-marca-de-agua"],"_links":{"self":[{"href":"http:\/\/aldarias.es\/wordpress\/wp-json\/wp\/v2\/posts\/123","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/aldarias.es\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/aldarias.es\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/aldarias.es\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/aldarias.es\/wordpress\/wp-json\/wp\/v2\/comments?post=123"}],"version-history":[{"count":0,"href":"http:\/\/aldarias.es\/wordpress\/wp-json\/wp\/v2\/posts\/123\/revisions"}],"wp:attachment":[{"href":"http:\/\/aldarias.es\/wordpress\/wp-json\/wp\/v2\/media?parent=123"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/aldarias.es\/wordpress\/wp-json\/wp\/v2\/categories?post=123"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/aldarias.es\/wordpress\/wp-json\/wp\/v2\/tags?post=123"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}