SlideShare ist ein Scribd-Unternehmen logo
1 von 7
CIS 216
Highline Community College
Dan Morrill
 The Soapy Frog image converter
 http://ps1.soapyfrog.com/wp-
content/uploads/2007/01/convert-image2textps1.txt
 http://ps1.soapyfrog.com/2007/01/07/convert-images-
to-text-ascii-art/
 Some Free Art to convert
 http://www.flickr.com/commons
 I recommend Flickr Commons for free copyright images
 Pulled from Flickr Commons
 This can be done in any Powershell – might be easier
to do this on your desktop
 ./convert-image2text.ps1 imagefile
[ -maxwidth nchars ] [-palette ascii | shade | bw ]
 CD to the place you put the image and the PS1 file
 Do a DIR to make sure both are in the same spot (in
this case I am using the desktop)
 Run ./convert-image2text.ps1 image.jpg (or what ever
you named it)
 *Don’t forget to set your execution policy
Challenge: Can you fix the error?
 Using the GRRR Code from Soapy Frog – make it work
 There are errors in there
 Use Online Resources Liberally to help you debug this
game
 Play the game, get the high score, play your winning
song
 http://ps1.soapyfrog.com/2007/08/26/grrr-source-
code-including-invaders/
Ascii art in windows power shell

Weitere ähnliche Inhalte

Mehr von Dan Morrill

Understanding the security_organization
Understanding the security_organizationUnderstanding the security_organization
Understanding the security_organizationDan Morrill
 
You should ask before copying that media
You should ask before copying that mediaYou should ask before copying that media
You should ask before copying that mediaDan Morrill
 
Cis 216 – shell scripting
Cis 216 – shell scriptingCis 216 – shell scripting
Cis 216 – shell scriptingDan Morrill
 
Understanding advanced persistent threats (APT)
Understanding advanced persistent threats (APT)Understanding advanced persistent threats (APT)
Understanding advanced persistent threats (APT)Dan Morrill
 
AWS Hadoop and PIG and overview
AWS Hadoop and PIG and overviewAWS Hadoop and PIG and overview
AWS Hadoop and PIG and overviewDan Morrill
 
What is cloud computing
What is cloud computingWhat is cloud computing
What is cloud computingDan Morrill
 
Social Media Plan for CityU of Seattle
Social Media Plan for CityU of SeattleSocial Media Plan for CityU of Seattle
Social Media Plan for CityU of SeattleDan Morrill
 
Case Studies In Social Media Chinese
Case Studies In Social Media ChineseCase Studies In Social Media Chinese
Case Studies In Social Media ChineseDan Morrill
 
Case Studies In Social Media
Case Studies In Social MediaCase Studies In Social Media
Case Studies In Social MediaDan Morrill
 
Turn On Tune In Step Out
Turn On Tune In Step OutTurn On Tune In Step Out
Turn On Tune In Step OutDan Morrill
 
Technology And The Future Of Management
Technology And The Future Of ManagementTechnology And The Future Of Management
Technology And The Future Of ManagementDan Morrill
 

Mehr von Dan Morrill (12)

Understanding the security_organization
Understanding the security_organizationUnderstanding the security_organization
Understanding the security_organization
 
You should ask before copying that media
You should ask before copying that mediaYou should ask before copying that media
You should ask before copying that media
 
Cis 216 – shell scripting
Cis 216 – shell scriptingCis 216 – shell scripting
Cis 216 – shell scripting
 
Understanding advanced persistent threats (APT)
Understanding advanced persistent threats (APT)Understanding advanced persistent threats (APT)
Understanding advanced persistent threats (APT)
 
AWS Hadoop and PIG and overview
AWS Hadoop and PIG and overviewAWS Hadoop and PIG and overview
AWS Hadoop and PIG and overview
 
What is cloud computing
What is cloud computingWhat is cloud computing
What is cloud computing
 
Social Media Plan for CityU of Seattle
Social Media Plan for CityU of SeattleSocial Media Plan for CityU of Seattle
Social Media Plan for CityU of Seattle
 
BSIS Overview
BSIS OverviewBSIS Overview
BSIS Overview
 
Case Studies In Social Media Chinese
Case Studies In Social Media ChineseCase Studies In Social Media Chinese
Case Studies In Social Media Chinese
 
Case Studies In Social Media
Case Studies In Social MediaCase Studies In Social Media
Case Studies In Social Media
 
Turn On Tune In Step Out
Turn On Tune In Step OutTurn On Tune In Step Out
Turn On Tune In Step Out
 
Technology And The Future Of Management
Technology And The Future Of ManagementTechnology And The Future Of Management
Technology And The Future Of Management
 

Ascii art in windows power shell

  • 1. CIS 216 Highline Community College Dan Morrill
  • 2.  The Soapy Frog image converter  http://ps1.soapyfrog.com/wp- content/uploads/2007/01/convert-image2textps1.txt  http://ps1.soapyfrog.com/2007/01/07/convert-images- to-text-ascii-art/  Some Free Art to convert  http://www.flickr.com/commons  I recommend Flickr Commons for free copyright images
  • 3.  Pulled from Flickr Commons
  • 4.  This can be done in any Powershell – might be easier to do this on your desktop  ./convert-image2text.ps1 imagefile [ -maxwidth nchars ] [-palette ascii | shade | bw ]  CD to the place you put the image and the PS1 file  Do a DIR to make sure both are in the same spot (in this case I am using the desktop)  Run ./convert-image2text.ps1 image.jpg (or what ever you named it)  *Don’t forget to set your execution policy
  • 5. Challenge: Can you fix the error?
  • 6.  Using the GRRR Code from Soapy Frog – make it work  There are errors in there  Use Online Resources Liberally to help you debug this game  Play the game, get the high score, play your winning song  http://ps1.soapyfrog.com/2007/08/26/grrr-source- code-including-invaders/