Ascii art in windows power shell
Upcoming SlideShare
Loading in...5
×
 

Ascii art in windows power shell

on

  • 1,326 views

 

Statistics

Views

Total Views
1,326
Views on SlideShare
1,326
Embed Views
0

Actions

Likes
0
Downloads
0
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Ascii art in windows power shell Ascii art in windows power shell Presentation Transcript

  • CIS 216Highline Community CollegeDan 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 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
  • 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 thisgame Play the game, get the high score, play your winningsong http://ps1.soapyfrog.com/2007/08/26/grrr-source-code-including-invaders/