dsa-t
dsa-t
Added a screenshot with `wxIMAGE_QUALITY_BOX_AVERAGE`, it looks like nearest, but blurry.
Bicubic is similar to bilinear, but very slightly more blurry.
I think it's best to **not** use bilinear filtering in `wxIMAGE_QUALITY_NORMAL` for upscaling, otherwise images will be blurry.
> I don't actually know which images are we talking about here The difference is in the launcher panel icons: 
> how does "Schematic Editor" icon lose its bottom-right quadrant contents entirely then I'm not entirely sure what this refers to.
> but the comment in `wxBitmapHelpers::Rescale()` says that `wxIMAGE_QUALITY_NEAREST` is best for preserving sharp lines It's best for preserving sharp lines when upscaling. > I indeed remember that some images...
But upscaling with `wxIMAGE_QUALITY_NEAREST` is not suitable for photos, for example. And upscaling icons with `ResampleBicubic` will make them blurry.
So the current `wxIMAGE_QUALITY_HIGH` may be fine for photos, but I haven't tested it.
> Wait, but this is about downscaling and these icons are bigger than the small versions in the "Project View". Does this mean that they're downscaled from even bigger versions...
> 1. In master, change `wxIMAGE_QUALITY_NORMAL` to have a value different from `wxIMAGE_QUALITY_NEAREST` (i.e. `5`) and make it behave as this PR, i.e. use `NEAREST` when upscaling and `BILINEAR` when...