Mark Minasi's Reader Forum
Mark Minasi's Reader Forum
Home | Profile | Register | Active Topics | Active Polls | Members | Search | FAQ | Minasi Forum RSS Feed
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 HALP! Questions on Windows and Windows Server
 PowerShell
 Convert images to ASCI code with PowerShell
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

JeffWouters
Here To Stay

Netherlands
147 Posts
Status: offline

Posted - 05/01/2012 :  3:37:17 PM  Show Profile  Visit JeffWouters's Homepage  Click to see JeffWouters's MSN Messenger address  Look at the Skype phone address from JeffWouters  Reply with Quote
For all those people that used to spend hours and hours on converting a picture to ASCI code... here's te easy way with PowerShell:
http://ps1.soapyfrog.com/2007/01/07/convert-images-to-text-ascii-art/

Come on... this is just cool

Greetsz,
Jeff.

Xenophane
Honorable But Hopeless Addict

Denmark
3070 Posts
Status: offline

Posted - 05/02/2012 :  10:04:32 AM  Show Profile  Visit Xenophane's Homepage  Send Xenophane an ICQ Message  Reply with Quote
The script does not seem to work out of the box...
It cannot find the system.drawing.dll..

Workaround could be to add, something like this.

$drawfile= Get-ChildItem -Path C:\windows\assembly -Filter *drawing.dll -Recurse
$dllpath=(Get-Command $($drawfile.Fullname)).definition

(and replace the existing line that starts with $dllpath

EDIT
Spelling

Microsoft Powershell MVP

SIG> George Bernard Shaw : The power of accurate observation is commonly called cynicism by those who have not got it. </SIG>

You can read my blog at www.xipher.dk

Edited by - Xenophane on 05/05/2012 03:37:05 AM
Go to Top of Page

JeffWouters
Here To Stay

Netherlands
147 Posts
Status: offline

Posted - 05/02/2012 :  11:39:14 AM  Show Profile  Visit JeffWouters's Homepage  Click to see JeffWouters's MSN Messenger address  Look at the Skype address for JeffWouters  Reply with Quote
Darn it, didn't test the script... just came across the post and loved the whole idea :-D

Greetsz,
Jeff.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Mark Minasi's Reader Forum © 2002-2011 Mark Minasi Go To Top Of Page
This page was generated in 0.08 seconds. Snitz Forums 2000