From 73fe8fe0b38c0a16a164212bb2aec4c8b8960399 Mon Sep 17 00:00:00 2001 From: Oupson Date: Sun, 20 Sep 2020 10:44:03 +0200 Subject: [PATCH] Typo --- .../oupson/apng/encoder/ExperimentalApngEncoder.kt | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/apng_library/src/main/java/oupson/apng/encoder/ExperimentalApngEncoder.kt b/apng_library/src/main/java/oupson/apng/encoder/ExperimentalApngEncoder.kt index fdd2758..248cac5 100644 --- a/apng_library/src/main/java/oupson/apng/encoder/ExperimentalApngEncoder.kt +++ b/apng_library/src/main/java/oupson/apng/encoder/ExperimentalApngEncoder.kt @@ -19,7 +19,7 @@ import kotlin.math.min // TODO OPTIMISE APNG /** * A class to write APNG - * @param outputStream The ouput stream. + * @param outputStream The output stream. * @param width Width of the animation * @param height Height of the animation * @param numberOfFrames The number of frame the animation is composed. @@ -167,7 +167,12 @@ class ExperimentalApngEncoder( * @throws IOException If something failed when writing into the output stream. */ @JvmOverloads - @Throws(NullPointerException::class, InvalidFrameSize::class, InvalidFrameSize::class, IOException::class) + @Throws( + NullPointerException::class, + InvalidFrameSize::class, + InvalidFrameSize::class, + IOException::class + ) fun writeFrame( inputStream: InputStream, delay: Float = 1000f, @@ -356,7 +361,7 @@ class ExperimentalApngEncoder( } /** - * Write the image data into the ouputStrea. + * Write the image data into the outputStream. * This will write one or more PNG "IDAT"/"fdAT" chunks. In order * to conserve memory, this method grabs as many rows as will * fit into 32K bytes, or the whole image; whichever is less.