Relative Content

Tag Archive for powershellimageimage-processingsystem.drawing

Powershell code is not saving images with the correct orientation

I’m looking for help determining why I can’t set the orientation before I save the image. No matter what numerical values I manually assign to the variable “$imageOrientation” the image always saves as landscape. I have portrait photos that I want to save in the original orientation, but they save as landscape. I tried setting the original image orientation and the compressed image orientation, but cannot figure out the syntax, some direction would be very appreciated.