You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a great feature of library but it is not easy to spot. Initially I was calculating sizes myself which required me to read bytes as BufferedImage to get original image size and then read bytes second time to make library determine output format automatically.
The text was updated successfully, but these errors were encountered:
I also need this feature @coobird.
Another feature: crop an transparent/white backgroud image automatically using a specify margin at orignal aspect ratio? The basic idea is that to find the start and end of X/Y cordinate by comparing pixel
It is a common use-case to crop an image to fit thumbnail size without leaving the gaps on sides. Currently examples page says
but doesn't provide a solution to force size keeping original aspect ratio.
Please add this example to
Forcing thumbnails to be exactly the specified size
section:This is a great feature of library but it is not easy to spot. Initially I was calculating sizes myself which required me to read bytes as BufferedImage to get original image size and then read bytes second time to make library determine output format automatically.
The text was updated successfully, but these errors were encountered: