sd-scripts icon indicating copy to clipboard operation
sd-scripts copied to clipboard

Selection of scaling resampler

Open tkgix opened this issue 3 years ago • 0 comments

Thank you for your hard work.

It would be nice to add a function to select a resampler for Scaling, or replace the default resampler.

Resampler is currently set to INTER_AREA.

In general, the LANCZOS family for upscale and the BICUBIC family for downscale are known to be the best in terms of speed and efficiency to maintain quality. (based on Adobe's products)

Of course, it's right to do this in the process of preparing the dataset, but I think there are times when we have no choice but to use resampler in the process of converting to latent.

If possible, I would like to make these samplers available.

tkgix avatar Feb 08 '23 19:02 tkgix