Mercurial > cgi-bin > hgweb.cgi > SimpleResizer
diff app/src/main/java/com/bartsent/simpleresizer/lib/LanczosKernel.kt @ 35:6607f675a5f7
Add licensing.
author | David Barts <n5jrn@me.com> |
---|---|
date | Thu, 11 Mar 2021 22:41:48 -0800 |
parents | 86740f593b6c |
children |
line wrap: on
line diff
--- a/app/src/main/java/com/bartsent/simpleresizer/lib/LanczosKernel.kt Thu Mar 11 17:31:56 2021 -0800 +++ b/app/src/main/java/com/bartsent/simpleresizer/lib/LanczosKernel.kt Thu Mar 11 22:41:48 2021 -0800 @@ -1,5 +1,9 @@ package com.bartsent.simpleresizer.lib +/* + * Some code in this file has been adapted from: https://github.com/disintegration/imaging/ . + */ + import kotlin.math.PI import kotlin.math.abs import kotlin.math.sin