The method generates a captcha with a key and a link to the image. Accordingly, the image is downloaded from WWW ( url ). But, the thing is, the image is generated in the .gif format, which complicates further work with it, because Unity3D accepts only .png and .jpg . Actually the question is: the engine does not support System.Drawning , how can this image be loaded into the sprite?
Because the game will be launched when a button is clicked in Windows Forms, then an idea arose to monitor the folder for temporary data, catch the image loaded and written to the file, convert it, and load into the engine already converted, or try to redraw pixel-by-pixel into the texture.