The most relavent infomation about the exact problem I can find here, but I am wondering about a solution What is the maximum resolution of C# .NET Bitmap?
The below image is code from microsoft Image Composition Editor, an abondoned program used for stitching large panoramas, however PNG's are limited in export to no larger than 65535x65535 due to a limitation of the .NET frameworks Bitmap() function,
I am wondering if anyone could help point me in the right direction to update this part of the code to support the later Window Imaging Components functions that seem to not have this limitation, I believe the program was compiled with that tool set included as it can import using WIC codecs.
The exact issue is with "result = new Bitmap(memoryStream);" the function has an exception on any dimension outside that limit.
Edit: I've used another program to make a PNG that is larger than 2GB for reference, seems windows photo veiwer can handle up to ~3.85GB png's of any dimensions so there must be someway around it, even in the 2GB limit, that still allows for ~2GP, https://ln.sync.com/dl/466f3f0a0/sz3c4w7n-kkzx9ixg-acjr6bjx-r87u9zfp
File is "[Group 2]-001_IMG_4195-1050 images_0005.png"