示例#1
0
 /// <summary>
 /// Synchronizes the profiles with the specified meta data.
 /// </summary>
 /// <param name="metaData">The meta data.</param>
 internal void Sync(ImageMetaData metaData)
 {
     this.SyncResolution(ExifTag.XResolution, metaData.HorizontalResolution);
     this.SyncResolution(ExifTag.YResolution, metaData.VerticalResolution);
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Image"/> class
 /// with the height and the width of the image.
 /// </summary>
 /// <param name="width">The width of the image in pixels.</param>
 /// <param name="height">The height of the image in pixels.</param>
 /// <param name="metadata">The metadata.</param>
 /// <param name="configuration">
 /// The configuration providing initialization code which allows extending the library.
 /// </param>
 internal Image(int width, int height, ImageMetaData metadata, Configuration configuration)
     : base(width, height, metadata, configuration)
 {
 }
示例#3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Image{TPixel}"/> class
 /// with the height and the width of the image.
 /// </summary>
 /// <param name="configuration">
 /// The configuration providing initialization code which allows extending the library.
 /// </param>
 /// <param name="width">The width of the image in pixels.</param>
 /// <param name="height">The height of the image in pixels.</param>
 /// <param name="metadata">The images metadata.</param>
 internal Image(Configuration configuration, int width, int height, ImageMetaData metadata)
     : base(configuration, width, height)
 {
     this.MetaData = metadata ?? new ImageMetaData();
 }