Skip to content

gigiigig/java-gif-scale-crop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

This is a simple library to scale and crop animated gif in Java.
Is used on my other project java chat.

Use is really simple, GifUtil is class that contains the core method,
so GifUtil.gifInputToOutput(File source, File destination)
is the function that takes a gif file input and write that to file destination.
The function scales image, mantaining aspect ratio,
at the max sides width MAX_IMAGE_DIMENSION , 
that is a static value writed directly on GifUtil class,
edit the code if you need to pass size as paramanter.

About

Simple library to scale and crop gif in java

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published