Hello
I have a problem with an AccessViolationException on a long image. Is there a max size for the image?
I have created a small program that shows the problem:
```
private void Window_Loaded(object sender, RoutedEventArgs e)
{
DrawLine(737, 11700); //crashes with AccessViolationException
DrawLine(737, 11000); //renders ok
}
private void DrawLine(int w, int h)
{
var bmp = BitmapFactory.New(w, h);
using (bmp.GetBitmapContext())
{
bmp.DrawLine(0, 0, 0, h-1, Color.FromRgb(0, 0, 0));
}
image1.Source = bmp;
}
```
I have a problem with an AccessViolationException on a long image. Is there a max size for the image?
I have created a small program that shows the problem:
```
private void Window_Loaded(object sender, RoutedEventArgs e)
{
DrawLine(737, 11700); //crashes with AccessViolationException
DrawLine(737, 11000); //renders ok
}
private void DrawLine(int w, int h)
{
var bmp = BitmapFactory.New(w, h);
using (bmp.GetBitmapContext())
{
bmp.DrawLine(0, 0, 0, h-1, Color.FromRgb(0, 0, 0));
}
image1.Source = bmp;
}
```