JohnnyJayJay / spigot-maps

A library to simplify the use of customised maps in Spigot.
GNU Lesser General Public License v3.0
48 stars 4 forks source link

Add support for animated gif #2

Closed JohnnyJayJay closed 5 years ago

JohnnyJayJay commented 5 years ago

Issue #1 is will be resolved with this PR. Apart from the new classes GifImage and GifRenderer, the cropping method in ImageTools was fixed and some general changes were made. Every implementation of AbstractMapRenderer now inherently has a startingPoint field. ImageTools and Checks were moved to a new util package. Some performance improvements were made, such as the removal of unnecessary defensive BufferedImage copies. The gif functionalities make use of a new dependency: com.madgag.gif.fmsware, which can be found here.