peewpw / Invoke-PSImage

Encodes a PowerShell script in the pixels of a PNG file and generates a oneliner to execute
MIT License
2.16k stars 397 forks source link

Not Working Any help would be alsome!! #10

Closed monomaki2035 closed 6 years ago

monomaki2035 commented 6 years ago

Hello I seem to be getting This error: "Invoke-PSImage : Index was outside the bounds of the array. At line:1 char:1

When ever I try to run this test : Invoke-PSImage -Script .\Test.ps1 -Image .\ps_kiwi.png -Out Test-kiwi.png

any help would be golden Thanx

monomaki2035 commented 6 years ago

closed

arnydo commented 6 years ago

Did you find a resolution to this?

wbadart commented 1 year ago

I ran into this error as well and fixed it by using a smaller input image (~5.5kB).