Online tools to resize images:
Downsample 8-bit color depth(channel-wise) to lower depth to speed up calculation at the cost of accuracy.
pixels of alpha value above the threshold are converted to completely opaque one, those below completely transparent.