Skip to main content
deleted 2 characters in body
Source Link

Than youYou could simply:

curl https://i.sstatic.net/xvbHP.png |
  perl -e 'use GD;GD::Image->trueColor(1);$i=GD::Image->newFromPng(
      STDIN);my($x,$y)=$i->getBounds();for my$k(0..$x-1){for my$l(0
      ..$y-1){$_.=pack"UUU",$i->rgb($i->getPixel($k,$l))};};eval'

or, with arguments (You have to add -s switch to perl command):

wget -O - http://fhauri.cartou.ch/ascii-clock/ascii-clock.png |
  perl -se 'use GD;GD::Image->trueColor(1);$i=GD::Image->newFromPng(
      STDIN);my($x,$y)=$i->getBounds();for my$k(0..$x-1){for my$l(0
      ..$y-1){$_.=pack"UUU",$i->rgb($i->getPixel($k,$l))};};eval' -- -a 18

Than you could simply:

curl https://i.sstatic.net/xvbHP.png |
  perl -e 'use GD;GD::Image->trueColor(1);$i=GD::Image->newFromPng(
      STDIN);my($x,$y)=$i->getBounds();for my$k(0..$x-1){for my$l(0
      ..$y-1){$_.=pack"UUU",$i->rgb($i->getPixel($k,$l))};};eval'

You could simply:

curl https://i.sstatic.net/xvbHP.png |
  perl -e 'use GD;GD::Image->trueColor(1);$i=GD::Image->newFromPng(
      STDIN);my($x,$y)=$i->getBounds();for my$k(0..$x-1){for my$l(0
      ..$y-1){$_.=pack"UUU",$i->rgb($i->getPixel($k,$l))};};eval'

or, with arguments (You have to add -s switch to perl command):

wget -O - http://fhauri.cartou.ch/ascii-clock/ascii-clock.png |
  perl -se 'use GD;GD::Image->trueColor(1);$i=GD::Image->newFromPng(
      STDIN);my($x,$y)=$i->getBounds();for my$k(0..$x-1){for my$l(0
      ..$y-1){$_.=pack"UUU",$i->rgb($i->getPixel($k,$l))};};eval' -- -a 18
deleted 2 characters in body
Source Link

LetOne more another perl version!!!

Ok, thisThis require having gd2-perl installed. But you! (You could replace curl by wget -O - ;-)

Let another perl version!!!

Ok, this require having gd2-perl installed. But you could replace curl by wget -O - ;-)

One more another perl version!!!

This require having gd2-perl installed! (You could replace curl by wget -O - ;-)

replaced http://codegolf.stackexchange.com/ with https://codegolf.stackexchange.com/
Source Link

This version is strongly linked to this other answerthis other answer, with the main advantage: You could run this quietly, for a while! So you could find an upgraded version there or on this ascii-clock for geeks web page.

This version is strongly linked to this other answer, with the main advantage: You could run this quietly, for a while! So you could find an upgraded version there or on this ascii-clock for geeks web page.

This version is strongly linked to this other answer, with the main advantage: You could run this quietly, for a while! So you could find an upgraded version there or on this ascii-clock for geeks web page.

added 152 characters in body
Source Link
Loading
Add link to fhauri.cartou.ch upgraded page
Source Link
Loading
added 558 characters in body
Source Link
Loading
added 247 characters in body
Source Link
Loading
added 861 characters in body
Source Link
Loading
cosmetic changes and add bold for ticks and handles
Source Link
Loading
added 3241 characters in body
Source Link
Loading
edited body
Source Link
Loading
Source Link
Loading