Skip to content

Commit

Permalink
Use imagemagick 7+ api
Browse files Browse the repository at this point in the history
  • Loading branch information
bischofmax committed Sep 18, 2023
1 parent 1cba30a commit f210827
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export class PreviewService {
): PassThrough {
const mimeType = previewParams.outputFormat ?? fileRecord.mimeType;
const format = this.getFormat(mimeType);
const im = subClass({ imageMagick: true });
const im = subClass({ imageMagick: '7+' });

const preview = im(original.data, fileRecord.name);
const { width } = previewParams;
Expand Down

0 comments on commit f210827

Please sign in to comment.