sorry previous commit message was wrong, should read
added shrink procedure with proper color averaging, it is triggered from scale in case the old with/height are multiples of the new width/height git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -258,7 +258,6 @@ wxImage wxImage::ShrinkBy( int xFactor , int yFactor ) const
|
||||
|
||||
for (long y = 0; y < height; y++)
|
||||
{
|
||||
|
||||
for (long x = 0; x < width; x++)
|
||||
{
|
||||
unsigned long avgRed = 0 ;
|
||||
|
Reference in New Issue
Block a user