Quantcast
Channel: magick Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 1011

Commented Unassigned: MagickImage.Crop making it so I can't save really large images after cropping [1285]

$
0
0
If you load any Image, and crop it the sRGB disappears (and other values?)

```
using(var image = new MagickImage(file))
{
// in debugger hover mouse over image, you'll see that it has an sRGB value
image.Crop(a smaller box than image rectangle);
// now in debugger hover over image, sRGB is gone - why?
}
```

If you do the same with a really large image (12000x6555) for example
http://goo.gl/rg1k6C

using the above code and the linked image

```
var geo = new MagickGeometry(0,709,12000,5846);
image.Crop(geo);
image.Write(file); // Exception, Insufficient memory
```

Any idea's what Crop is doing to make it so I cannot write the modified image?
Comments: ** Comment from web user: DuneBug **

I just updated via NuGet, and it still gives me memory error and I have 8GB of memory.


Viewing all articles
Browse latest Browse all 1011

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>