thumbnailator
thumbnailator copied to clipboard
Thumbnailator - a thumbnail generation library for Java
I need to make thumbnails from photos and I don't know in advance if they need rotation or not: ``` Thumbnails.of(new FileInputStream(origFile)) .useExifOrientation(true).outputFormat("jpg") .size(280, 360) .toFile(thumbFile); ``` The problem here...
Hello, I'd like to use this library in one of my projects, though I noticed that it doesn't provide a module info. I was going to add one myself and...
## Expected behavior Executing the following code: `Thumbnails.of(imgInputStream).useExifOrientation(true).size(newWidth, newHeight).outputFormat("jpg").outputQuality(quality).toOutputStream(os);` given a newWidth of 350px and a newHeight of 662px for an image with an original width of 2160px and an...
Highly-compressed images in the form of large PNGs or malicious PNG decompression bombs could lead to `OutOfMemoryError`s. While I haven't researched whether decompression bombs can actually happen with the default...
Thumbnailator has several internal processes in a course of a single thumbnail operation: reading the image, resizing the image, applying filters and writing the image. Currently, there is no way...
Currently, Thumbnailator does not require setting the `BufferedImage` type and will (attempt to) use the types as the input source. (More specifically, the image type that is used by the...
Currently, bulk processing like `toFiles` will halt as soon as any errors occur, such as file not existing. An option to ignore such errors (with a callback to provide which...
When bulk processing operations like `toFiles` encounters an error part way through processing the input files, it will still output files that have been processed successfully, but will stop and...
## Expected behavior When uploading multipe large images (5000x7000) the resizing fails with OutOfMemoryError described in #1 ## Actual behavior Resizing of multipe large images images is successfull ## Environment...