Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Export-Bitmap

Export-Bitmap

pscx.dll

Synopsis

PSCX Cmdlet: Exports bitmap objects to various formats.

Syntax

Export-Bitmap [-Bitmap] [-Path] [-PassThru] [-Format] [-Quality] [<CommonParameters>]

Detailed Description

Exports a bitmap object to a specified file format.

Parameters

-Bitmap <Bitmap>

The bitmap to process.

Aliases

None

Required?

true

Position

1

Default value

None

Accept pipeline input?

true (ByValue)

Accept wildcard characters?

false

-Path <String>

Specifies the path to the file that will be created.

Aliases

None

Required?

true

Position

2

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-PassThru <SwitchParameter>

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-Format <BitmapFormat>

Specifies the file format. Supported values are: Bmp, Gif, Jpeg, Png, Tiff.

Aliases

None

Required?

false

Position

3

Default value

Jpeg

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-Quality <Nullable`1>

Specifies the JPEG compression level.

Aliases

None

Required?

false

Position

4

Default value

75

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

Input Type


Return Type

Notes

Examples

-------------------------- EXAMPLE 1 --------------------------

Resizes the bitmap to 10% of its original size and saves it in a JPEG file with quality level 50.

              $bmp = (Import-Bitmap test.bmp | Resize-Bitmap -Perc 10);
              Export-Bitmap $bmp thumb.jpg Jpeg 50