Commit 22a6206afd2dc1da0b2c81ee7917a5a1bdb3db9a

Authored by Benjamin Renard
1 parent 63412837

Fix bug with image re-orientation in portrait mode

src/InputOutput/IHMImpl/Params/PlotImpl/IHMInputOutputParamsPlotClass.php
... ... @@ -169,7 +169,7 @@ class IHMInputOutputParamsPlotClass extends IHMInputOutputParamsAbstractClass
169 169 $postProcessCmd .= "mv ".$resultFile." ".$waitingResultFile;
170 170  
171 171 if ($this->isInteractiveRequest && $isPortrait)
172   - $postProcessCmd .= " | convert ".$resultFile." -rotate -90 ".$resultFile;
  172 + $postProcessCmd .= " | convert ".$waitingResultFile." -rotate -90 ".$waitingResultFile;
173 173  
174 174 ++$requestIndex;
175 175 }
... ...