Resize input swatch image before importing
STB resample settings
Swatch importing of arbitrary size and exporting at arbitrary scale factor