mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-08 02:24:18 +00:00
Merge pull request #1957 from hardyoyo/DS-3839-support-autoorient-for-imagemagick-thumbnails-dspace-master
[DS-3839] forward-porting DSPR#1956 for master branch
This commit is contained in:
@@ -125,6 +125,7 @@ public abstract class ImageMagickThumbnailFilter extends MediaFilter {
|
|||||||
op.addImage(f.getAbsolutePath());
|
op.addImage(f.getAbsolutePath());
|
||||||
op.thumbnail(width, height);
|
op.thumbnail(width, height);
|
||||||
op.addImage(f2.getAbsolutePath());
|
op.addImage(f2.getAbsolutePath());
|
||||||
|
op.autoOrient();
|
||||||
if (verbose) {
|
if (verbose) {
|
||||||
System.out.println("IM Thumbnail Param: " + op);
|
System.out.println("IM Thumbnail Param: " + op);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user