6 Apr
2009
6 Apr
'09
8:38 a.m.
Hi, i have the problem, that under MacRuby cropping of an CIImage fails. Whether i use CIFilter or CIImage#imageByCroppingToRect. Whereas a Cocoa-Application the same code works just fine, my Ruby version repeats the same cropped Image over and over again. Have a look at the Screenshot: http://i43.tinypic.com/a3f2vt.jpg See the source: Objective-C: http://pastie.org/438181 Ruby-Version: http://pastie.org/438183 I noticed, that the Ruby version runs fine, if I load the image fresh from a file before each crop. Next thing i tried, was to write a Objective-C-Class to do my cropping and display it in my ruby view. Didn't work either. Some comments on this? Did I miss something or should I fill a bug report? Ben