This is an automated email from the ASF dual-hosted git repository.
ptuomola pushed a change to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract.git.
from 8144557 FINERACT-1112 Replace ZoneId.systemDefault() with tenant's
timezone
new 0af9aa3 Clean up ImageData (FINERACT-1201)
new 716ba79 Simplify ImageData.resizeImage (FINERACT-1201)
new 465623d Factor out ImageData.resize into ImageResizer (FINERACT-1201)
new 140c55b Replace use of InputStream by ByteSource in ImageData
(FINERACT-1201)
The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../infrastructure/core/domain/JdbcSupport.java | 4 +-
.../api/DocumentManagementApiResource.java | 2 +-
.../documentmanagement/api/ImagesApiResource.java | 49 +++++---
.../contentrepository/S3ContentRepository.java | 12 +-
.../documentmanagement/data/FileData.java | 2 +-
.../documentmanagement/data/ImageData.java | 129 ++++-----------------
.../documentmanagement/data/ImageResizer.java | 94 +++++++++++++++
.../service/ImageReadPlatformServiceImpl.java | 21 ++--
8 files changed, 177 insertions(+), 136 deletions(-)
create mode 100644
fineract-provider/src/main/java/org/apache/fineract/infrastructure/documentmanagement/data/ImageResizer.java