This is an automated email from the ASF dual-hosted git repository.
mraible pushed a change to branch bound-image-decoding-6.1.x
in repository https://gitbox.apache.org/repos/asf/roller.git
from 4150161eb Merge remote-tracking branch 'origin/roller-6.1.x' into
bound-image-decoding-6.1.x
add 6feb3caca Size thumbnail subsampling from both sides and skip images
too narrow to scale
add 0dc5923f7 Make thumbnails only from JPEG, PNG, GIF and BMP images
add 80e3d819f Keep the upload working when an image can't be decoded for
its thumbnail
add df7c607ca Close the streams the thumbnail tests open and give each
upload its own name
add 4b7c57e7c Drop the old thumbnail and size when an image is replaced by
a file that isn't an image
add 905be73cb Serve the original for the thumbnail of an image too large
to have one
No new revisions were added by this update.
Summary of changes:
CHANGES.md | 9 +-
.../business/jpa/JPAMediaFileManagerImpl.java | 80 +++++++++++++--
.../apache/roller/weblogger/pojos/MediaFile.java | 6 ++
.../rendering/servlets/MediaResourceServlet.java | 28 ------
.../weblogger/business/MediaFileThumbnailTest.java | 110 +++++++++++++++++++--
.../business/jpa/ThumbnailSubsamplingTest.java | 73 ++++++++++++++
.../servlets/MediaResourceThumbnailTest.java | 20 +---
7 files changed, 262 insertions(+), 64 deletions(-)
create mode 100644
app/src/test/java/org/apache/roller/weblogger/business/jpa/ThumbnailSubsamplingTest.java