|
|
Browse by Tags
All Tags » PoSH Challenge » bitmap » PowerShell
-
Again a level involving a bitmap, so if you follow this series code below should look kind a familiar by now See also : More fun with Bitmaps in Powershell ( PoSH Challenge part 10 )
# Level 14
[System.Reflection.Assembly]::LoadWithPartialName(''System.Drawing'')
$bm = [System.Drawing.Bitmap]::FromFile( 'C:\_spons\wire.png' )
$new = ...
-
For Level 12 more bitmaps but then mixed together and delivered as bytes :
# Level 12
$a=$b=$c=$d=$e = @()
$ba = [System.IO.File]::ReadAllBytes( "C:\PowerShell\PoshChallenge\evil2.gfx" )
foreach ($byte in $ba) {
$a += $byte
[void]$foreach.movenext();$b += $foreach.current
[void]$foreach.movenext();$c += ...
-
As I entered another level about bitmaps, I will reflect a bit more about the way of working with bitmaps in PowerShell instead of posting the solution only. ( if this info is to much of a spoiler for this level you cheated some levels anyway ;-) )
The level was called odd even and involved a distorted bitmap ( paste in solution from Posh ...
-
And another update at the PoSH Challenge front, I'm arrived at Level 20,(had to cheat a bit at level 17 to arive there but more about that later ) so some more posts will follow ;-)
I must say that the The Python Challenge. is really a great piece of work, complements to the composer(s) of this Challenge!!
For the average PowerShell user, ...
-
Level 7 is the first level in the the python challenge that involves working with bitmaps,
before I give my answer to this level of the Python challenge
I made a small PoSH version ,
* Reader Challenge * what text is hidden in the following picture ?
to get you going you can take a look at my solution for level 7 of the Python ...
|
|
|