You crop it using the CICrop filter.

> On 19 Jun 2015, at 22:56, Carl Hoefs <newsli...@autonomy.caltech.edu> wrote:
> 
> I'm using CoreImage in a Cocoa app and I’m trying to obtain the outputImage 
> (CIImage) of a CICircleSplashDistortion CIFilter. I know that there are 
> certain filters whose output is unbounded, such as this one. So how do I 
> manage such a filter’s outputImage?
> 
> <Error>: CGImageProviderCreate: invalid image provider size: 1.79769e+308 x 
> 1.79769e+308.
> <Error>: CGImageCreate: invalid image width.
> Overflow allocating bitmap backing store.  Cannot back bitmap with 8589934592 
> bytes per row, 2147483648 height, and 1 planes.
> 

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to