Keep the order in the documentation examples

https://imagemagick.org/Usage/thumbnails/
This commit is contained in:
Manav Rathi 2024-05-13 11:33:25 +05:30
parent 631b1772e4
commit 957c2a64df
No known key found for this signature in database

View file

@ -143,10 +143,10 @@ const generateImageThumbnailCommand = (
throw new Error(CustomErrorMessage.NotAvailable);
return [
imageMagickPath(),
inputFilePath,
"-auto-orient",
"-define",
`jpeg:size=${2 * maxDimension}x${2 * maxDimension}`,
inputFilePath,
"-auto-orient",
"-thumbnail",
`${maxDimension}x${maxDimension}`,
"-unsharp",