We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa866ed commit 77aef99Copy full SHA for 77aef99
src/_image.cpp
@@ -392,10 +392,11 @@ Image::resize(const Py::Tuple& args, const Py::Dict& kwargs) {
392
agg::conv_transform<agg::path_storage> imageBox(path, srcMatrix);
393
ras.add_path(imageBox);
394
395
- typedef agg::image_accessor_clip<pixfmt> img_accessor_type;
+ typedef agg::wrap_mode_reflect reflect_type;
396
+ typedef agg::image_accessor_wrap<pixfmt, reflect_type, reflect_type> img_accessor_type;
397
398
pixfmt pixfmtin(*rbufIn);
- img_accessor_type ia(pixfmtin, background);
399
+ img_accessor_type ia(pixfmtin);
400
switch(interpolation)
401
{
402
0 commit comments