#818: NSBitmapImageRep#bitmapData returns empty String
-------------------------+--------------------------------------------------
Reporter: e...@… | Owner: lsansone...@…
Type: defect | Status: new
Priority: major | Milestone:
Component: MacRuby | Keywords: bitmap,NSBitmapImageRep,
@nsBitmapImageRepObj.bitmapData
-------------------------+--------------------------------------------------
Description changed by eloy.de.en...@…:
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/>
_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel