I recently attended a class, which was provided by Corona Services, about NPM and various other SolarWinds Products. It really bugged that we are not able to shrink down the weather.gov map without it looking like pixelated garbage or blow it up with fuzziness that even glasses can't fix. So I decided to write a script that will pull the image shrink it and then post it on a website automatically. I hope this helps everyone that has been looking for something similar. My original idea was to make a new website and post the image there, but Orion is already a ready made site so why waste resources. Once created use Network Atlas and link the background to the "small.gif" or "http://OrionSite:8787/Orion/MapGrabber/small.gif" If you have any questions about anything regarding this please let me know. Everything in the script has a purpose so if you deviate I cannot guarantee the same results I got.
Programs used: CMD or Power Shell, wget, and imagemagick
-----------Read Me-----------
****WGET will not run in PowerShell****
****Must make a new directory on the Orion Server in this example "MapGrabber" is the directory****
****Programs required are wget and imagemagick and running them in cmd****
****After completed you may schedule the .bat or .ps1 file to run about every 10 or 15 min****
****You must run the script as an Admin or you will not be able to delete the old files or download the new ones****
****"Invoke-WebRequest" is a Power Shell v3 command only****
****http://sourceforge.net/projects/imagemagick/files/latest/download****
****http://downloads.sourceforge.net/gnuwin32/wget-1.11.4-1-setup.exe****
*********CMD*********
echo off
cd "C:\Program Files (x86)\GnuWin32\bin"
wget -P C:\inetpub\SolarWinds\Orion\MapGrabber\ http://radar.weather.gov/Conus/Loop/NatLoop.gif
cd "C:\inetpub\SolarWinds\Orion\MapGrabber"
convert -coalesce NatLoop.gif coalesce.gif
convert -size 3400x1600 coalesce.gif -resize 1000x470 small.gif
del NatLoop.gif
del coalesce.gif
*********Power Shell*********
Invoke-WebRequest http://radar.weather.gov/Conus/Loop/NatLoop.gif -OutFile C:\inetpub\SolarWinds\Orion\MapGrabber\NatLoop.gif
cd "C:\inetpub\SolarWinds\Orion\MapGrabber"
convert -coalesce NatLoop.gif coalesce.gif
convert -size 3400x1600 coalesce.gif -resize 1000x470 small.gif
del NatLoop.gif
del coalesce.gif