Resizes a [System.Drawing.Image] object to the given height with the same aspect ratio.
Resizes a [System.Drawing.Image] object to the given height with the same aspect ratio and outputs a new Image object which uses the same codec as the original image unless otherwise specified.
- Does not require a VMS connection
Get's a live snapshot from $camera and converts it to a System.Drawing.Image object, resizes it to 200 pixels tall and disposes the original image.
Specifies that the original image object should be disposed.
Specifies the new desired height for the resulting resized image
Specifies the Image object to be resized
Specifies the desired output format such as 'BMP', 'JPEG', 'GIF', 'TIFF', 'PNG'
Specifies the desired image quality of the resulting resized image
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Don't forget to call Dispose() when you're done with the image!