Hi Benjamin, On Apr 6, 2009, at 1:38 AM, Benjamin Mollenhauer wrote:
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?
Did you try the Objective-C version in 1) a garbage-collected environment 2) 64-bit? Laurent