8000 Tell Agg that we're giving it pre-multiplied image data · jonovik/matplotlib@1dac36d · GitHub
[go: up one dir, main page]

Skip to content

Commit 1dac36d

Browse files
committed
Tell Agg that we're giving it pre-multiplied image data
1 parent e406c05 commit 1dac36d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/_image.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
#include "mplutils.h"
3434

3535

36-
typedef agg::pixfmt_rgba32 pixfmt;
36+
typedef agg::pixfmt_rgba32_pre pixfmt;
3737
typedef agg::renderer_base<pixfmt> renderer_base;
3838
typedef agg::span_interpolator_linear<> interpolator_type;
3939
typedef agg::rasterizer_scanline_aa<agg::rasterizer_sl_clip_dbl> rasterizer;

0 commit comments

Comments
 (0)
0