imagemagick.net - GIF image loses its animation in Magick.net -
i reading gif image , creating imagemagick object in c#. write same image output. in output static image without animation.
magickimage image = new magickimage(imagepath); byte[] buffer = image.tobytearray(); httpcontext.current.response.contenttype = "image/gif"; httpcontext.current.response.outputstream.write(buffer, 0, buffer.length); httpcontext.current.response.statuscode = 200;
a magickimage single image. when read .gif file first frame of animation. if want preserve animation should create magickimagecollection instead.
Comments
Post a Comment