[DS-3839] moved the autoorient IM op to the top of the operations list, where it belongs

This commit is contained in:
Hardy Pottinger
2018-02-19 17:40:58 -06:00
parent 724e4cbc98
commit 4cc58b6764

View File

@@ -122,10 +122,10 @@ public abstract class ImageMagickThumbnailFilter extends MediaFilter {
f2.deleteOnExit();
ConvertCmd cmd = new ConvertCmd();
IMOperation op = new IMOperation();
op.autoOrient();
op.addImage(f.getAbsolutePath());
op.thumbnail(width, height);
op.addImage(f2.getAbsolutePath());
op.autoOrient();
if (verbose) {
System.out.println("IM Thumbnail Param: " + op);
}