// TODO: use InvalidImageContentException here, if we decide to define it
thrownewInvalidImageContentException($"Can not decode image. Failed to allocate buffers for possibly degenerate dimensions: {dims.Width}x{dims.Height}. This error can happen for very large RLE bitmaps, which are not supported.",ex);
thrownewImageFormatException($"Can not decode image. Failed to allocate buffers for possibly degenerate dimensions: {dims.Width}x{dims.Height}. This error can happen for very large RLE bitmaps, which are not supported.",ex);
// TODO: use InvalidImageContentException here, if we decide to define it
thrownewInvalidImageContentException($"Can not decode image. Failed to allocate buffers for possibly degenerate dimensions: {dims.Width}x{dims.Height}.",ex);
// TODO: use InvalidImageContentException here, if we decide to define it
thrownewInvalidImageContentException($"Can not decode image. Failed to allocate buffers for possibly degenerate dimensions: {dims.Width}x{dims.Height}.",ex);
// TODO: use InvalidImageContentException here, if we decide to define it
thrownewInvalidImageContentException($"Can not decode image. Failed to allocate buffers for possibly degenerate dimensions: {dims.Width}x{dims.Height}.",ex);