-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Description
It looks like the Celiagg backend starts out with a completely transparent image, but the Image/agg backend starts out filled with white. It looks like Quartz and Cairo also start out transparent, QPainter doesn't initialize to anything, so Agg is probably the odd-one out.
Celiagg initializes with zeros:
Line 112 in 0ae01f0
| buffer = np.zeros(shape, dtype=np.uint8) |
Agg initializes with 255:
Lines 38 to 44 in 0ae01f0
| pixel_map = PixelMap( | |
| width, | |
| height, | |
| pix_format_string_map[pix_format], | |
| 255, | |
| bool(bottom_up), | |
| ).set_bmp_array() |
Metadata
Metadata
Assignees
Labels
No labels