coobird / thumbnailator

Thumbnailator - a thumbnail generation library for Java
MIT License
5.08k stars 780 forks source link

Add functionality to generate thumbnails with a fixed-size frame #218

Open pbaris opened 5 months ago

pbaris commented 5 months ago

Implementation allows thumbnail generation to be framed with a fixed size (dimension), and the color of the frame can be set. The changes add two new parameters to the thumbnail generation - "useFrame" and "frameColor" - while retaining backward compatibility with the existing functions. A new class, "FramedThumbnailMaker," has been created to handle the framing. Also, increased minor version of the library.