#
ConsoleImage Powershell Module
#
Something Fun 🎮
Maybe it really does depend on what your definition of fun is, but yes this module is another whacky module that probably won't be needed by most, but the few who do want or need it, then kaboom here it is. Images that can actually be displayed in your Powershell console window. Really? Yes, it is for real, no the graphics do not render that well, and the more simple the image is the better the outcome. This does depend on screen resolution to get the better picture.
Maybe life is to short to always be trying to pull of technical stuff, for me this project was just about doing something I had not seen in the shell before, a proper image file being loaded.
#
Never really thought about this 📻
So to me when you ay Powershell or really even thing of any console, you do not think, yes this is just the application to open and view my images in. In-fact I didn't even know it was possible, as I just had not seen it done before. So I know some other crazy-heads had beaten me to putting something like this on the Powershell gallery, but my excuse for doing this was that I didn't see any of the existing module were using the binary module approach which for the last month or so I have been onvesting my own personal time to understand this better, and release some new modules for the Powershell gallery.
#
Example ▶️
Well there is two functions for this, and I can only seem to get good results using the local image as opposed to an image from a URL. I believe this is because by default it wants to open the image from the URL in something else other than Powershell (I cannot blame Windows for this) so the image doesn't seem to work on my personal laptop. However I am more than happy to show some demos of the same picture, original vs being displayed in the Powershell console.
Show-LocalImage -Path 'C:\Builds\MyBlog\RecentModules\imgs\psIcon.png'
#
That's All 🖐️
First off a massive thanks for reading. I know this module will not go down for saving the planet or anything like that. However it may just be what you were looking for? Although most probably not, but at least you know it can be done.