My testsystem has Intel HD 3000 graphics.
This works, image is 2048 x 2048
img = LoadImageResized( "dome_hd.jpg", 1,1, 0 )
LoadImage() is also effected and LoadImageResized with 0.5 x 0.5 also does the error with the tiny-JPEG
All pictures are 2048 x 2048, created with Irfanview to dome_hd.jpg and dome.png, dome.png then was optimised with truepng, same name. and dome_hd.jpg was optimised via tinypng.com and the result is dome_hd_tn.jpg
Original is dome.dds
Files are from FPSC Classic (Dome) MP45\entitybank\historypack\buildings
Also with the PNG file it works, but not with an JPEG I created with
https://tinypng.com/
But, the JPEG is shown correctly in other programs and it also loads right on my GTX 770 (tinypng-jpeg with same code)
so it maybe a combination big-texture, old graphics-card and maybe strange JPEG compression
Maybe the JPEG from tinypng is not RGB anymore?