Mercurial > cgi-bin > hgweb.cgi > SimpleResizer
view app/src/main/java/com/bartsent/simpleresizer/lib/ScalingKernel.kt @ 6:e8059b166de1
Lanczos works, but is painfully slow.
author | David Barts <n5jrn@me.com> |
---|---|
date | Tue, 16 Feb 2021 17:29:52 -0800 |
parents | |
children |
line wrap: on
line source
package com.bartsent.simpleresizer.lib import android.graphics.Bitmap interface ScalingKernel { val size: Double fun weight(x: Double): Double }