{"id":1343,"date":"2013-04-01T08:45:46","date_gmt":"2013-04-01T06:45:46","guid":{"rendered":"http:\/\/shakaran.net\/blog\/?p=1343"},"modified":"2016-01-31T12:17:43","modified_gmt":"2016-01-31T11:17:43","slug":"pygifme-un-simple-comando-para-generar-gif-animados","status":"publish","type":"post","link":"https:\/\/shakaran.net\/blog\/2013\/04\/pygifme-un-simple-comando-para-generar-gif-animados\/","title":{"rendered":"pygifme un simple comando para generar gif animados"},"content":{"rendered":"\r\n\r\npygifme es un script en python que he portado como desarrollo en base al script original&nbsp;gifme&nbsp;escrito en ruby de&nbsp;Zach Holman (GitHub).\r\n\r\nEl script de ruby es bastante antiguo, pero al utilizarlo y ver su c\u00f3digo para ver como funcionaba se me ocurri\u00f3 portarlo a python como simple pr\u00e1ctica y prueba al tratarse de algo sencillo y sin demasiadas dependencias.\r\n\r\nLa funcionalidad es exactamente la misma, a\u00f1adiendo un par de peque\u00f1os cambios y realizando comprobaciones m\u00e1s exhaustivas <a href=\"https:\/\/shakaran.net\/blog\/2013\/04\/pygifme-un-simple-comando-para-generar-gif-animados\/\" class=\"more-link\">Leer m\u00e1s [...]<\/a>","protected":false},"excerpt":{"rendered":"<p>pygifme es un script en python que he portado como desarrollo en base al script original&nbsp;gifme&nbsp;escrito en ruby de&nbsp;Zach Holman (GitHub). El script de ruby es bastante antiguo, pero al utilizarlo y ver su c\u00f3digo para ver como funcionaba se&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[84,247,1152,214],"tags":[719,1204,1203,1206,1208,1199,1207,1058,1198,1202,1200,1169,529,1196,226,1205,1161,1209,1210,1201,1197],"class_list":["post-1343","post","type-post","status-publish","format-standard","hentry","category-open-source","category-python-open-source","category-ruby","category-software-libre","tag-a","tag-argcomplete","tag-argparse","tag-cloudapp","tag-gif","tag-gifme","tag-gifs","tag-github","tag-holman","tag-imagemagick","tag-inefficiencies","tag-pip","tag-port","tag-pygifme","tag-python","tag-requirements","tag-ruby-2","tag-test","tag-unitest","tag-utomating","tag-zach","no-post-thumbnail"],"jetpack_publicize_connections":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>pygifme un comando simple para generar gif animados<\/title>\n<meta name=\"description\" content=\"pygifme un simple comando para generar gif animados, port de script de\u00a0Zach Holman\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/shakaran.net\/blog\/2013\/04\/pygifme-un-simple-comando-para-generar-gif-animados\/\" \/>\n<meta property=\"og:locale\" content=\"es_ES\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"pygifme un comando simple para generar gif animados\" \/>\n<meta property=\"og:description\" content=\"pygifme un simple comando para generar gif animados, port de script de\u00a0Zach Holman\" \/>\n<meta property=\"og:url\" content=\"https:\/\/shakaran.net\/blog\/2013\/04\/pygifme-un-simple-comando-para-generar-gif-animados\/\" \/>\n<meta property=\"og:site_name\" content=\"Shakaran\" \/>\n<meta property=\"article:published_time\" content=\"2013-04-01T06:45:46+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2016-01-31T11:17:43+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/shakaran.net\/blog\/wp-content\/uploads\/2013\/04\/mother-of-god.gif\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@shakaran87\" \/>\n<meta name=\"twitter:label1\" content=\"Escrito por\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tiempo de lectura\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/shakaran.net\/blog\/2013\/04\/pygifme-un-simple-comando-para-generar-gif-animados\/\",\"url\":\"https:\/\/shakaran.net\/blog\/2013\/04\/pygifme-un-simple-comando-para-generar-gif-animados\/\",\"name\":\"pygifme un comando simple para generar gif animados\",\"isPartOf\":{\"@id\":\"https:\/\/shakaran.net\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/shakaran.net\/blog\/2013\/04\/pygifme-un-simple-comando-para-generar-gif-animados\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/shakaran.net\/blog\/2013\/04\/pygifme-un-simple-comando-para-generar-gif-animados\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/shakaran.net\/blog\/wp-content\/uploads\/2013\/04\/mother-of-god.gif\",\"datePublished\":\"2013-04-01T06:45:46+00:00\",\"dateModified\":\"2016-01-31T11:17:43+00:00\",\"author\":{\"@id\":\"https:\/\/shakaran.net\/blog\/#\/schema\/person\/be105ef72be5556cce2db416e1f0ae86\"},\"description\":\"pygifme un simple comando para generar gif animados, port de script de\u00a0Zach Holman\",\"breadcrumb\":{\"@id\":\"https:\/\/shakaran.net\/blog\/2013\/04\/pygifme-un-simple-comando-para-generar-gif-animados\/#breadcrumb\"},\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/shakaran.net\/blog\/2013\/04\/pygifme-un-simple-comando-para-generar-gif-animados\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\/\/shakaran.net\/blog\/2013\/04\/pygifme-un-simple-comando-para-generar-gif-animados\/#primaryimage\",\"url\":\"http:\/\/shakaran.net\/blog\/wp-content\/uploads\/2013\/04\/mother-of-god.gif\",\"contentUrl\":\"http:\/\/shakaran.net\/blog\/wp-content\/uploads\/2013\/04\/mother-of-god.gif\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/shakaran.net\/blog\/2013\/04\/pygifme-un-simple-comando-para-generar-gif-animados\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Portada\",\"item\":\"https:\/\/shakaran.net\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"pygifme un simple comando para generar gif animados\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/shakaran.net\/blog\/#website\",\"url\":\"https:\/\/shakaran.net\/blog\/\",\"name\":\"Shakaran\",\"description\":\"Blog de un ingeniero inform\u00e1tico superior y sysadmin\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/shakaran.net\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"es\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/shakaran.net\/blog\/#\/schema\/person\/be105ef72be5556cce2db416e1f0ae86\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\/\/shakaran.net\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/b2592d3b37575130bc6551aee0d29430?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/b2592d3b37575130bc6551aee0d29430?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"description\":\"Senior Backend Engineer &amp; Sysadmin (Freelancer)\",\"sameAs\":[\"http:\/\/www.quijost.com\",\"https:\/\/x.com\/shakaran87\"],\"url\":\"https:\/\/shakaran.net\/blog\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"pygifme un comando simple para generar gif animados","description":"pygifme un simple comando para generar gif animados, port de script de\u00a0Zach Holman","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/shakaran.net\/blog\/2013\/04\/pygifme-un-simple-comando-para-generar-gif-animados\/","og_locale":"es_ES","og_type":"article","og_title":"pygifme un comando simple para generar gif animados","og_description":"pygifme un simple comando para generar gif animados, port de script de\u00a0Zach Holman","og_url":"https:\/\/shakaran.net\/blog\/2013\/04\/pygifme-un-simple-comando-para-generar-gif-animados\/","og_site_name":"Shakaran","article_published_time":"2013-04-01T06:45:46+00:00","article_modified_time":"2016-01-31T11:17:43+00:00","og_image":[{"url":"http:\/\/shakaran.net\/blog\/wp-content\/uploads\/2013\/04\/mother-of-god.gif","type":"","width":"","height":""}],"author":"admin","twitter_card":"summary_large_image","twitter_creator":"@shakaran87","twitter_misc":{"Escrito por":"admin","Tiempo de lectura":"3 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/shakaran.net\/blog\/2013\/04\/pygifme-un-simple-comando-para-generar-gif-animados\/","url":"https:\/\/shakaran.net\/blog\/2013\/04\/pygifme-un-simple-comando-para-generar-gif-animados\/","name":"pygifme un comando simple para generar gif animados","isPartOf":{"@id":"https:\/\/shakaran.net\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/shakaran.net\/blog\/2013\/04\/pygifme-un-simple-comando-para-generar-gif-animados\/#primaryimage"},"image":{"@id":"https:\/\/shakaran.net\/blog\/2013\/04\/pygifme-un-simple-comando-para-generar-gif-animados\/#primaryimage"},"thumbnailUrl":"http:\/\/shakaran.net\/blog\/wp-content\/uploads\/2013\/04\/mother-of-god.gif","datePublished":"2013-04-01T06:45:46+00:00","dateModified":"2016-01-31T11:17:43+00:00","author":{"@id":"https:\/\/shakaran.net\/blog\/#\/schema\/person\/be105ef72be5556cce2db416e1f0ae86"},"description":"pygifme un simple comando para generar gif animados, port de script de\u00a0Zach Holman","breadcrumb":{"@id":"https:\/\/shakaran.net\/blog\/2013\/04\/pygifme-un-simple-comando-para-generar-gif-animados\/#breadcrumb"},"inLanguage":"es","potentialAction":[{"@type":"ReadAction","target":["https:\/\/shakaran.net\/blog\/2013\/04\/pygifme-un-simple-comando-para-generar-gif-animados\/"]}]},{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/shakaran.net\/blog\/2013\/04\/pygifme-un-simple-comando-para-generar-gif-animados\/#primaryimage","url":"http:\/\/shakaran.net\/blog\/wp-content\/uploads\/2013\/04\/mother-of-god.gif","contentUrl":"http:\/\/shakaran.net\/blog\/wp-content\/uploads\/2013\/04\/mother-of-god.gif"},{"@type":"BreadcrumbList","@id":"https:\/\/shakaran.net\/blog\/2013\/04\/pygifme-un-simple-comando-para-generar-gif-animados\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Portada","item":"https:\/\/shakaran.net\/blog\/"},{"@type":"ListItem","position":2,"name":"pygifme un simple comando para generar gif animados"}]},{"@type":"WebSite","@id":"https:\/\/shakaran.net\/blog\/#website","url":"https:\/\/shakaran.net\/blog\/","name":"Shakaran","description":"Blog de un ingeniero inform\u00e1tico superior y sysadmin","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/shakaran.net\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"es"},{"@type":"Person","@id":"https:\/\/shakaran.net\/blog\/#\/schema\/person\/be105ef72be5556cce2db416e1f0ae86","name":"admin","image":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/shakaran.net\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/b2592d3b37575130bc6551aee0d29430?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b2592d3b37575130bc6551aee0d29430?s=96&d=mm&r=g","caption":"admin"},"description":"Senior Backend Engineer &amp; Sysadmin (Freelancer)","sameAs":["http:\/\/www.quijost.com","https:\/\/x.com\/shakaran87"],"url":"https:\/\/shakaran.net\/blog\/author\/admin\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pAPNv-lF","jetpack-related-posts":[],"jetpack_likes_enabled":true,"amp_enabled":true,"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/shakaran.net\/blog\/wp-json\/wp\/v2\/posts\/1343"}],"collection":[{"href":"https:\/\/shakaran.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/shakaran.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/shakaran.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/shakaran.net\/blog\/wp-json\/wp\/v2\/comments?post=1343"}],"version-history":[{"count":0,"href":"https:\/\/shakaran.net\/blog\/wp-json\/wp\/v2\/posts\/1343\/revisions"}],"wp:attachment":[{"href":"https:\/\/shakaran.net\/blog\/wp-json\/wp\/v2\/media?parent=1343"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/shakaran.net\/blog\/wp-json\/wp\/v2\/categories?post=1343"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/shakaran.net\/blog\/wp-json\/wp\/v2\/tags?post=1343"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}