Re: Biography Discussion
Reply #490 – 2019-10-29 17:43:25
Looking at the debug report the error is occurring on image.Resize() as before. The report also shows that the image existed, had valid dimensions (3141 x 4396) and that the target resize (271 x 379) was as expected. At ~3.5 MB the image isn't especially large and memory usage immediately before the resize event was very low (47.7 MB). As far as I can see this error is outside my control, since the image.Resize() event is handled by Spider Monkey Panel. May be @TheQwertiest can help? I also have that image on my device saved at exactly the same size & here biography loads it without issue. The full debug report is below. image EXIST true image.Width 3141 image.Height 4396 img.crop false circular false imgx 0 imgy 0 imgw 100 imgh 100 image_path C:\Users\PersonalInfoRemoved\AppData\Roaming\foobar2000\yttm\art_img\p\Pink Floyd\Pink Floyd_9634c23d999a4ee7a14107577156f990.jpg image file EXIST true image file SIZE 3460022 this.cache_.img EXIST true this.cache_.img.Width 3141 this.cache_.img.Height 4396 Resize width tw 271 Resize height th 379 SMP memory usage: window.TotalMemoryUsage: 47.75434 MB Error: Spider Monkey Panel v1.2.2-preview+0db3c6a4 (Biography v1.1.2 beta1 with debug code by WilB) Resize failed: GdiPlus error: DrawImage failed with error (0x3): OutOfMemory File: Line: 3283, Column: 26 Stack trace: ImageCache/this.cacheIt@:3283:26 Images/this.load_image_done@:2933:5 on_load_image_done@:3467:53 Error: Spider Monkey Panel v1.2.2-preview+0db3c6a4 (Biography v1.1.2 beta1 with debug code by WilB) Resize failed: GdiPlus error: DrawImage failed with error (0x3): OutOfMemory File: Line: 3283, Column: 26 Stack trace: ImageCache/this.cacheIt@:3283:26 Images/this.load_image_done@:2933:5 on_load_image_done@:3467:53