Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

284
Vistas
Android: Animated gif image resize in kmagick

I am using kamagick for resizing gif images in android. It works fine for static but gives incorretc output for gif or animated webp files.

        Magick.initialize().use {
            val wand = MagickWand()
            // getting image
            wand.readImage(src) 

            // resizing image 
            wand.resizeImage(512,512,FilterType.UndefinedFilter)  

            // Saving image
            wand.writeImage(dst)

            promise.resolve("Done at ${dst}")
        }

Input: (animated gif having multiple frames)

input cat gif

Output: I think its single frame and that also messed up but resizes according to input for height width.

output cat gif

Whats happening here. How to fix it?

over 4 years ago · Santiago Trujillo
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda