JpegBitmapEncoder JpegBitmapEncoder JpegBitmapEncoder JpegBitmapEncoder Class

Definition

Defines an encoder that is used to encode Joint Photographics Experts Group (JPEG) format images.

public ref class JpegBitmapEncoder sealed : System::Windows::Media::Imaging::BitmapEncoder
public sealed class JpegBitmapEncoder : System.Windows.Media.Imaging.BitmapEncoder
type JpegBitmapEncoder = class
    inherit BitmapEncoder
Public NotInheritable Class JpegBitmapEncoder
Inherits BitmapEncoder
Inheritance

Remarks

Joint Photographics Experts Group (JPEG) format bitmaps support frame level thumbnails and frame level metadata. They do not support preview, global thumbnails, global metadata, or multiple frames.

Encoding does not work in partial trust. See WPF Partial Trust Security for information on partial trust.

Constructors

JpegBitmapEncoder() JpegBitmapEncoder() JpegBitmapEncoder() JpegBitmapEncoder()

Initializes a new instance of the JpegBitmapEncoder class.

Properties

CodecInfo CodecInfo CodecInfo CodecInfo

Gets information that describes this codec.

(Inherited from BitmapEncoder)
ColorContexts ColorContexts ColorContexts ColorContexts

Gets or sets a value that represents the color profile that is associated with this encoder.

(Inherited from BitmapEncoder)
Dispatcher Dispatcher Dispatcher Dispatcher

Gets the Dispatcher this DispatcherObject is associated with.

(Inherited from DispatcherObject)
FlipHorizontal FlipHorizontal FlipHorizontal FlipHorizontal

Gets or sets a value that indicates whether a Joint Photographics Experts Group (JPEG) image should be flipped horizontally during encoding.

FlipVertical FlipVertical FlipVertical FlipVertical

Gets or sets a value that indicates whether a Joint Photographics Experts Group (JPEG) image should be flipped vertically during encoding.

Frames Frames Frames Frames

Gets or sets the individual frames within an image.

(Inherited from BitmapEncoder)
Metadata Metadata Metadata Metadata

Gets or sets the metadata that will be associated with this bitmap during encoding.

(Inherited from BitmapEncoder)
Palette Palette Palette Palette

Gets or sets a value that represents the BitmapPalette of an encoded bitmap.

(Inherited from BitmapEncoder)
Preview Preview Preview Preview

Gets or sets a BitmapSource that represents the global preview of a bitmap, if there is one.

(Inherited from BitmapEncoder)
QualityLevel QualityLevel QualityLevel QualityLevel

Gets or sets a value that indicates the quality level of the resulting Joint Photographics Experts Group (JPEG) image.

Rotation Rotation Rotation Rotation

Gets or sets a value that represents the degree to which a Joint Photographics Experts Group (JPEG) image is rotated.

Thumbnail Thumbnail Thumbnail Thumbnail

Gets or sets a BitmapSource that represents the global embedded thumbnail.

(Inherited from BitmapEncoder)

Methods

CheckAccess() CheckAccess() CheckAccess() CheckAccess()

Determines whether the calling thread has access to this DispatcherObject.

(Inherited from DispatcherObject)
Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Save(Stream) Save(Stream) Save(Stream) Save(Stream)

Encodes a bitmap image to a specified Stream.

(Inherited from BitmapEncoder)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)
VerifyAccess() VerifyAccess() VerifyAccess() VerifyAccess()

Enforces that the calling thread has access to this DispatcherObject.

(Inherited from DispatcherObject)

Applies to

See also