Ascii art in windows power shell

  • 818 views
Uploaded on

 

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
818
On Slideshare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
Downloads
1
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. CIS 216Highline Community CollegeDan 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 easierto 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 (inthis case I am using the desktop) Run ./convert-image2text.ps1 image.jpg (or what everyou 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 thisgame Play the game, get the high score, play your winningsong http://ps1.soapyfrog.com/2007/08/26/grrr-source-code-including-invaders/