This XP compatible DLL is a better upscaling solution for VB6 LOB applications which need to scale their 16x16 icons at runtime for High DPI screens.
xBRZ is a pixel-art scaling algorithm which can be used to upscale application icons and images for modern High DPI aware applications.
![]()
The xBRZ upscaler seems to be especially successful with 16x16 icons and produces much better upscaled High DPI icons (esp. x2 and x3 factors) compared to bicubic interpolation.
The ScalePicture procedure resizes to 150% by first upscaling x2 with xBRZ to 200% and then downsampling to 150% using WIC for bicubic interpolation.
cheers,
</wqw>
p.s. xBRZ name apparently comes from "xScale By Rules" (the original idea of xBR algorithm on GPU) and Zenju (the author of CPU based implementation).
p.p.s. Implementing the algorithm in pure VB6 is to be done.
xBRZ is a pixel-art scaling algorithm which can be used to upscale application icons and images for modern High DPI aware applications.

The xBRZ upscaler seems to be especially successful with 16x16 icons and produces much better upscaled High DPI icons (esp. x2 and x3 factors) compared to bicubic interpolation.
The ScalePicture procedure resizes to 150% by first upscaling x2 with xBRZ to 200% and then downsampling to 150% using WIC for bicubic interpolation.
cheers,
</wqw>
p.s. xBRZ name apparently comes from "xScale By Rules" (the original idea of xBR algorithm on GPU) and Zenju (the author of CPU based implementation).
p.p.s. Implementing the algorithm in pure VB6 is to be done.