[MacRuby-devel] [MacRuby] #818: NSBitmapImageRep#bitmapData returns empty String
MacRuby
ruby-noreply at macosforge.org
Fri Jul 30 07:15:43 PDT 2010
#818: NSBitmapImageRep#bitmapData returns empty String
-------------------------+--------------------------------------------------
Reporter: emil@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: major | Milestone:
Component: MacRuby | Keywords: bitmap,NSBitmapImageRep, @nsBitmapImageRepObj.bitmapData
-------------------------+--------------------------------------------------
Description changed by eloy.de.enige@…:
Old description:
> after allocating an NSBitmapImageRep with
>
> @nsBitmapImageRepObj = NSBitmapImageRep.alloc.initWithBitmapDataPlanes
> nil,
> pixelsWide:200,
> pixelsHigh:200,
> bitsPerSample:8,
> samplesPerPixel:3,
> hasAlpha:false,
> isPlanar:false,
> colorSpaceName:"NSCalibratedRGBColorSpace",
> bytesPerRow:0,
> bitsPerPixel:0
>
>
> @nsBitmapImageRepObj.bitmapData returns an empty String, with size zero.
New description:
after allocating an NSBitmapImageRep with
{{{
@nsBitmapImageRepObj = NSBitmapImageRep.alloc.initWithBitmapDataPlanes
nil,
pixelsWide:200,
pixelsHigh:200,
bitsPerSample:8,
samplesPerPixel:3,
hasAlpha:false,
isPlanar:false,
colorSpaceName:"NSCalibratedRGBColorSpace",
bytesPerRow:0,
bitsPerPixel:0
}}}
@nsBitmapImageRepObj.bitmapData returns an empty String, with size zero.
--
--
Ticket URL: <http://www.macruby.org/trac/ticket/818#comment:1>
MacRuby <http://macruby.org/>
More information about the MacRuby-devel
mailing list