{"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\/?p=123","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\/?p=123\">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":{"_seopress_robots_primary_cat":"","_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"episode_type":"","audio_file":"","podmotor_file_id":"","podmotor_episode_id":"","cover_image":"","cover_image_id":"","duration":"","filesize":"","filesize_raw":"","date_recorded":"","explicit":"","block":"","itunes_episode_number":"","itunes_title":"","itunes_season_number":"","itunes_episode_type":"","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\/index.php?rest_route=\/wp\/v2\/posts\/123","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/aldarias.es\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/aldarias.es\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/aldarias.es\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/aldarias.es\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=123"}],"version-history":[{"count":0,"href":"http:\/\/aldarias.es\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/123\/revisions"}],"wp:attachment":[{"href":"http:\/\/aldarias.es\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=123"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/aldarias.es\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=123"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/aldarias.es\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=123"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}