which formats are supports by imgscalr library?

509 views Asked by At

I want to show for users scaled images to reduce internet traffic between client and server.

To resolve my problem I've found library with name imgscalr

At github page write that this library bad support gif.

I couldn't find list of supported formats.
In our application user can load any picture with any extension thus this questin is very actual for me.

Please help or advice another way.

2

There are 2 answers

0
Riyad Kalla On BEST ANSWER

Correct - imgscalr operates directly on the decoded BufferedImage instances - meaning something (typically ImageIO) has already decoded the file into raw image data and imgscalr itself has no concern of 'file format' -- it's just working on RGB values.

0
gstackoverflow On

As I understood it depends on used java version for example for java 7 this library supports following formats:

https://docs.oracle.com/javase/7/docs/api/javax/imageio/package-summary.html