CaptureToBitmap() antialising with transparent background wrong

Dear @jeff,

please can you create a bug-track for CaptureToBitmap().
(tested in Rhino 8 SR 21, and Rhino 9.0.25182.12305, 2025-07-01)

When I create a bitmap with transparent background, the antialiased pixels get a color change to black. Here a png from Rhino and Inkscape:

Here all project files: wrong_antialiasing.zip (788.2 KB)

Thank you

Michael

@Michael_Meyer - was Rhino 9 running in OpenGL or Direct3d display?

– Dale

Hi @dale,

I’ve tested now OpenGL and Direct3D in Rhino 9, no difference, I get the black border.

Thanks

Michael

I think I see what the problem is… I’ll get this fixed in both V8 and V9.

RH-88256

Thanks,
-Jeff

3 Likes

Too close to the RC release date… so this is going to have to go into the 8.x branch… Which means 8.22 is where you’ll see the fix… The next V9 WIP will have it in there though.

Thanks,
-Jeff

1 Like

RH-88256 is fixed in Rhino 8 Service Release 22 Release Candidate

1 Like