I’m using the following function to rotate JPG’s with a mouse click. Strange things is that not all of them rotate. Some rotate thru the entire 360. Some rotate 180. Some do not rotate at all, they just sit there!! I did have a line echoing to host to let me know that the Function was being called at every mouse click. So I can only guess that there’s something attached to/in/?? on the images that refuse to cooperate!!! Any insight will be appreciated!! Thanks…Gordon
FUNCTION Rotate($Image) {
$Img = New-Object System.Drawing.Bitmap($Image)
$Img.RotateFlip(“Rotate90FlipNone”)
$Img.Save($Image, “BMP”)
}