Class DngImage
- Namespace
- Aspose.Imaging.FileFormats.Dng
- Assembly
- Aspose.Imaging.dll
The API for processing DNG (Digital Negative) image file format used for digital photography needs by providing comprehensive support for raw files and metadata. Designed for use with digital cameras across various manufacturers, it enables developers to manipulate aspects like bits per pixel, extract internal data, and adjust image balance efficiently. With capabilities to update and save image data seamlessly, this API empowers developers to work with DNG files, ensuring high-quality results and versatile processing options.
public class DngImage : RasterCachedImage, IDisposable, IObjectWithBounds, IRasterImageArgb32PixelLoader, IRasterImageRawDataLoader, IHasXmpData, IHasMetadata
- Inheritance
-
DngImage
- Implements
- Inherited Members
Properties
BitsPerPixel
Discover the number of bits per pixel in the image effortlessly with this property. Ideal for understanding the image's pixel depth quickly and accurately.
public override int BitsPerPixel { get; }
Property Value
- int
The image bits per pixel count.
FileFormat
Identify the file format of your image with this property. Perfect for understanding the format - just straightforward details.
public override FileFormat FileFormat { get; }
Property Value
Height
Retrieve the height of the image with this property. Perfect for determining the vertical size of the image without hassle.
public override int Height { get; }
Property Value
- int
The image height.
ImgData
Manage the image data with this property. Whether you're retrieving or updating, this property provides seamless access to the image data for efficient manipulation.
public RawData ImgData { get; set; }
Property Value
- RawData
The img data.
Width
Access the width of the image with this property. Ideal for obtaining the horizontal size of the image quickly and efficiently.
public override int Width { get; }
Property Value
- int
The image width.
Methods
SaveData(Stream)
Saves the data.
protected override void SaveData(Stream stream)
Parameters
stream
StreamThe stream to save data to.
Exceptions
- NotImplementedException
Saving is not supported
UpdateDimensions(int, int)
Updates the image dimensions.
protected override void UpdateDimensions(int newWidth, int newHeight)