Hacker News new | ask | show | jobs
by coobird 252 days ago
Hi, author of Thumbnailator here.

Just FYI, Thumbnailator itself doesn't delegate processing to native processing -- it's just a wrapper around Java's Image I/O[1] functionality. In other words, it delegates the compression/decompression to loaded Image I/O plugins, hence, whether native processes are used depends on those plugins.

In terms of cross-platform support, the default Image I/O plugins that come with Java shouldn't be much of a concern. For 3rd party ones, IIRC there are some that will use native libraries, while others are pure Java. One good library on the Image I/O plugins front is TwelveMonkeys ImageIO[2], which provides plugins to support a wide variety of image formats.

1: https://docs.oracle.com/javase/8/docs/technotes/guides/image...

2: https://github.com/haraldk/TwelveMonkeys