[MacRuby-devel] CIImage / CICrop broken?

Benjamin Mollenhauer benjaminmollenhauer at googlemail.com
Mon Apr 6 01:38:21 PDT 2009


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


More information about the MacRuby-devel mailing list