Skip to content

Commit

Permalink
Fixed imagemagick transforms not working as expected. Fixes #943
Browse files Browse the repository at this point in the history
  • Loading branch information
mpscholten committed Jul 3, 2021
1 parent 501388f commit aa2cbd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion IHP/FileStorage/Preprocessor/ImageMagick.hs
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,5 @@ applyImageMagick convertTo otherParams fileInfo = do
imageMagickProcess <- Process.runCommand (cs imageMagickCommand)
imageMagickExitCode <- Process.waitForProcess imageMagickProcess

newContent <- LBS.readFile tempFilePath
newContent <- LBS.readFile convertedFilePath
pure fileInfo { Wai.fileContent = newContent }

0 comments on commit aa2cbd1

Please sign in to comment.