Click or drag to resize

JpegDecoder Class

An ImageDecoder used to read JPEG images from a Stream.

Inheritance Hierarchy

Namespace:  Atalasoft.Imaging.Codec
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: (.NET 4.5.2, x86)
public class JpegDecoder : ImageDecoder, 

The JpegDecoder type exposes the following members.

Public methodJpegDecoder
Initializes a new instance of a JpegDecoder.
Public methodJpegDecoder(JpegScaleFactor)
Initializes a new instance of a JpegDecoder specifying the Jpeg scaling factor.
Public propertyScaleFactor
Gets or sets a value indicating the scale factor to use when reading Jpeg's.
Public propertySupportedImageType Obsolete.
Returns a Jpeg ImageType enumeration value.
(Overrides ImageDecoderSupportedImageType.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetBestScale
Gets the best scale given a requested scale factor. For a JPEG, this would result in either 1, 1/2, 1/4, 1/16, or 1/32
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetImageInfo
Retreive information from a Jpeg image stored in a Stream without decoding the image data.
(Overrides ImageDecoderGetImageInfo(Stream).)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsValidFormat

Returns true if the specified Stream contains a Jpeg image.

(Overrides ImageDecoderIsValidFormat(Stream).)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRead
Returns an AtalaImage from a Stream containing a Jpeg encoded image.
(Overrides ImageDecoderRead(Stream, ProgressEventHandler).)
Public methodReadScaled
Gets an AtalaImage of the requested scale.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

By default, when opening a Jpeg image using the AtalaImage or Workspace objects, this decoder will automatically be selected from the %RegisteredDecoders% and does not have to be explicitly set.

Jpeg images can store metadata such as EXIF and IPTC into the images. See the %Atalasoft.Imaging.Metadata% namespace for more information on reading this information from a Jpeg image.

See Also