JpegEncoder Class |
An ImageEncoder that will write JPEG images to a Stream.
Namespace: Atalasoft.Imaging.Codec
The JpegEncoder type exposes the following members.
Name | Description | |
---|---|---|
JpegEncoder | Initializes a new instance of a JpegEncoder. | |
JpegEncoder(Int32) |
Initializes a new instance of the JpegEncoder specifying the quality.
| |
JpegEncoder(Int32, Int32) | Initializes a new instance of a JpegEncoder specifying the quality and smoothing. | |
JpegEncoder(Int32, Int32, Boolean) | Initializes a new instance of a JpegEncoder specifying the quality, smoothing, and progressive value.
|
Name | Description | |
---|---|---|
AppMarkers | Gets or sets the JPEG APPn Markers that will be saved with the image. | |
ComText | Gets or sets COM Text Markers that are to be saved with the image. | |
DctMode | Gets or sets the DCT compression mode used for encoding. | |
ImageType | Get the ImageType associated with this Encoder Setting. | |
IptcTags | Gets or sets IPTC Metadata that will be saved with the image. | |
PhotoshopResources | Gets or sets Photoshop resources to be saved with the image. | |
Progressive | Gets or sets a value indicating if the image is saved progressively. | |
Quality | Gets or sets the quality level of the Jpeg as it's encoded to a file. Valid values are 1 - 100 with a
default of 75. | |
Smoothing | Gets or sets the smoothing level when saving a Jpeg image. | |
SupportedPixelFormats | Returns an array of pixel formats supported by this encoder. (Overrides ImageEncoderSupportedPixelFormats.) | |
Xmp | Gets or sets a byte array containing XMP data. |
Name | Description | |
---|---|---|
CopyJpegWithNewMarkers(Stream, Stream) | Performs a lossless copy of the JPEG image data into a new image while replacing the JPEG metadata with
new metadata. | |
CopyJpegWithNewMarkers(String, String) | These methods perform a lossless copy of the JPEG image data into a new image while replacing the JPEG
metadata with new metadata. | |
CopyJpegWithNewMarkers(Stream, Stream, JpegMarkerCopyFlags) | These methods perform a lossless copy of the JPEG image data into a new image while replacing the JPEG
metadata with new metadata. | |
CopyJpegWithNewMarkers(String, String, JpegMarkerCopyFlags) | These methods perform a lossless copy of the JPEG image data into a new image while replacing the JPEG
metadata with new metadata. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsPixelFormatSupported | Returns true if the given PixelFormat can be encoded with the derived encoder. (Inherited from ImageEncoder.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Save | Encode an AtalaImage as a Jpeg image to a stream. (Overrides ImageEncoderSave(Stream, AtalaImage, ProgressEventHandler).) | |
SetDownsamplingFactors | Sets the downsampling factors used when compressing the image data. This will affect both quality and
file size of the saved image. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
This ImageEncoder can be passed into the the AtalaImage or Workspace objects when saving to specify a JPEG image.
Metadata can be written with the JPEG image including EXIF, IPTC and COM Comments. See the Atalasoft.Imaging.Metadata namespace for more information.
If the image being saved contains a ColorProfile, it will be embedded within the file.