Skip to content

Commit

Permalink
Fix conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
ledyba committed May 10, 2022
1 parent 21cf18e commit 0a9c4d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/lib/media/Convert.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export async function resizeImage(src: string, dst: string, maxSize: number) {
default:
r = await spawn('magick', [
'convert',
`${src}[0]`,
src,
'-resize', `${maxSize}x${maxSize}`,
dst
]);
Expand Down

0 comments on commit 0a9c4d2

Please sign in to comment.