glide
glide copied to clipboard
Use glide v4 to resize local gif file (for saving to local storage not for displaying it)
trafficstars
Everyone is talking about viewing and displaying the gif. I searched the net many times. please someone share the code snippet to resize the gif image and get the data type which can be used to write file. like byte array, file, drawable, streams, buffers.
File file = Glide.with(reactContext)
.asFile()
.load(url)
// .override(512, 512)
.fitCenter()
.submit(512,512)
.get();