Skip to content

ConvertFrom-Snapshot

SYNOPSIS

Convierte la salida proporcionada por Get-Snapshot en un objeto [System.Drawing.Image].

SYNTAX

ConvertFrom-Snapshot [-Content] <Byte[]> [<CommonParameters>]

DESCRIPTION

Convierte la salida proporcionada por Get-Snapshot en un objeto [System.Drawing.Image]. Recuerde llamar a Dispose() en Image cuando haya terminado.

REQUIREMENTS

  • Does not require a VMS connection

EXAMPLES

EXAMPLE 1

Select-Camera | Get-Snapshot -Live | ConvertFrom-Snapshot

Obtiene una instantánea en vivo de la cámara seleccionada en el cuadro de diálogo de selección de cámara, la convierte a un objeto System.Drawing.Image y lo guarda en $image

PARAMETERS

-Content

{{ Fill Content Description }}

Type: Byte[]
Parameter Sets: (All)
Aliases: Bytes

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

Accepts a byte array, and will accept the byte array from Get-Snapshot by property name. The property name for

Accepts a byte array, and will accept the byte array from Get-Snapshot by property name. The property name for

Accepts a byte array, and will accept the byte array from Get-Snapshot by property name. The property name for

OUTPUTS

[System.Drawing.Image]

[System.Drawing.Image]

¡No olvide llamar a Dispose () cuando haya terminado con la imagen!

NOTES

Online Help