{"type":"rich","version":"1.0","provider_name":"phorkie","provider_url":"https:\/\/p.cweiske.de\/","title":"slack transparent profile image","author_name":"Christian Weiske","cache_age":86400,"width":900,"height":900,"html":"<!-- embedding all files of https:\/\/p.cweiske.de\/822 -->\n<link rel=\"stylesheet\" href=\"https:\/\/p.cweiske.de\/css\/embed.css\"\/>\n<div class=\"phork\" id=\"822\">\n    <div class=\"phork-file\">\n <div class=\"phork-content\">\n  \n<div class=\"document\">\n\n\n<p>You can't have a transparent profile avatar image in Slack in 2022-11-29 :(<\/p>\n<p>This was requested in 2014, but did not change in 2017 and 2022: <a class=\"reference external\" href=\"https:\/\/twitter.com\/slackhq\/status\/533006882588622848\">https:\/\/twitter.com\/slackhq\/status\/533006882588622848<\/a><\/p>\n<p>Manually set an image via <tt class=\"docutils literal\">curl<\/tt> (if you have a token with scope <cite>users.profile:write<\/cite>):<\/p>\n<pre class=\"literal-block\">\ncurl -s -XPOST https:\/\/slack.com\/api\/users.setPhoto --form token=xoxp-secret --form image=&#64;myimage.png\n<\/pre>\n<div class=\"section\" id=\"profile-image-with-the-current-time\">\n<h1>Profile image with the current time<\/h1>\n<pre class=\"literal-block\">\nwhile true; do echo -n .; convert cweiske-orange.png -fill blue -gravity Center -pointsize 130 -annotate +0+0 $(date +%H:%M:%S) -resize 128x128 temp1.png; curl -s -XPOST https:\/\/slack.com\/api\/users.setPhoto --form token=xoxp-secret --form image=&#64;temp1.png &gt; \/dev\/null; sleep 3; done\n<\/pre>\n<\/div>\n<\/div>\n\n <\/div>\n <div class=\"phork-meta\">\n  <a href=\"https:\/\/p.cweiske.de\/822\/rev-raw\/2c99561e6f81f907243ceccbaba117023949e911\/README.rst\" style=\"float: right\">view raw source<\/a>\n  <a href=\"https:\/\/p.cweiske.de\/822#README.rst\">README.rst<\/a>\n <\/div>\n<\/div>\n<\/div>\n"}
