My program is supposed to resize an image. It fails and displays a black image on the screen and seems to never really recover from this. After some exploration, I found that I was receiving error #4 with the resize command.
https://www.autoitscript.com/autoit3/docs/libfunctions/_GDIPlus_ImageResize.htm
4: unable to copy image to scaled bitmap
Well that's great and all... but how do I fix it?