Obtaining an CIImage from an unbounded CIFilter?
Obtaining an CIImage from an unbounded CIFilter?
- Subject: Obtaining an CIImage from an unbounded CIFilter?
- From: Carl Hoefs <email@hidden>
- Date: Fri, 19 Jun 2015 14:56:32 -0700
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.
The extent rect attributes of the CIImage obtained from valueForKey:@“outputImage" are garbage:
x:-89884656743115785407263711865852178399035283762922498299458738401578630390014269380294779316383439085770229476757191232117160663444732091384233773351768758493024955288275641038122745045194664472037934254227566971152291618451611474082904279666061674137398913102072361584369088590459649940625202013092062429184.000000
y:-89884656743115785407263711865852178399035283762922498299458738401578630390014269380294779316383439085770229476757191232117160663444732091384233773351768758493024955288275641038122745045194664472037934254227566971152291618451611474082904279666061674137398913102072361584369088590459649940625202013092062429184.000000
w:179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000000
h:179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000000
Xcode 6.3.2, OS X 10.10.3
-Carl
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden