sksamuel / scrimage

JVM - Java, Kotlin, Scala image processing library
https://sksamuel.github.io/scrimage
Apache License 2.0
1.07k stars 140 forks source link

WebP & ImageOutputStream #262

Closed OpenDEM closed 1 year ago

OpenDEM commented 1 year ago

Is it possible to write WebP to an ImageIO OutputStream? I have not been able to get this to work.

sksamuel commented 1 year ago

google's webp binaries operate on files, so you would need to make an ImmutableImage and then write out to an OutputStream from there.

On Sun, 5 Mar 2023 at 08:07, OpenDEM @.***> wrote:

Is it possible to write WebP to an ImageIO OutputStream? I have not been able to get this to work.

— Reply to this email directly, view it on GitHub https://github.com/sksamuel/scrimage/issues/262, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFVSGTDV5WNSVSRDQUDMMDW2SM3JANCNFSM6AAAAAAVQGA45U . You are receiving this because you are subscribed to this thread.Message ID: @.***>

OpenDEM commented 1 year ago

Thanks a lot for the fast support!