VintaSoft Imaging .NET SDK v8.6
In This Topic
    VintaSoft Imaging .NET SDK: API changes in version 7.1
    In This Topic

    Changes in Vintasoft.Imaging.dll

    New classes:

    public class Vintasoft.Imaging.Codecs.Jpeg.JpegDecodeSettings Class that contains settings of JPEG decoding.
    public class Vintasoft.Imaging.ImageReloadEventArgs Provides data for the Reloading and Reloaded events.

    Removed classes:

    public class Vintasoft.Imaging.ImageReloadedEventArgs Use the Vintasoft.Imaging.ImageReloadEventArgs class instead.
    public class Vintasoft.Imaging.ImageReloadingEventArgs Use the Vintasoft.Imaging.ImageReloadEventArgs class instead.

    Changed classes:

    Vintasoft.Imaging.VintasoftImage
    Added properties
    public bool HasPixelData { get; } Gets a value indicating whether image has pixel data.
    Added methods
    public bool Reload(System.Drawing.Rectangle) Reloads the VintasoftImage from the source.
    Changed events
    public event System.EventHandlerImageReloadingEventArgs> Reloading public event System.EventHandlerImageReloadEventArgs> Reloading
    public event System.EventHandlerImageReloadedEventArgs> Reloaded public event System.EventHandlerImageReloadEventArgs> Reloaded

    Vintasoft.Imaging.Codecs.DecoderBase
    Added methods
    public Vintasoft.Imaging.Codecs.IRasterGridEditor GetRasterGridEditor() Returns the raster grid editor for image.

    Vintasoft.Imaging.Codecs.TiffDecoder
    Added methods
    public Vintasoft.Imaging.Codecs.IRasterGridEditor GetRasterGridEditor() Returns the raster grid editor for image.

    Vintasoft.Imaging.Codecs.EncoderBase
    Added methods
    public Vintasoft.Imaging.Codecs.ImageInfo GetEncodedImageInfo(Vintasoft.Imaging.VintasoftImage) Emulates image saving and returns information about saved image without saving the image.

    Vintasoft.Imaging.Codecs.Jpeg2000EncoderSettings
    Changed properties
    public int FileSize { get; set; } public Int64 FileSize { get; set; }

    Vintasoft.Imaging.Codecs.JpegEncoder
    Added methods
    public Vintasoft.Imaging.Codecs.ImageInfo GetEncodedImageInfo(Vintasoft.Imaging.VintasoftImage) Emulates image saving and returns information about saved image without saving the image.

    Vintasoft.Imaging.Codecs.TiffEncoder
    Added methods
    public Vintasoft.Imaging.Codecs.ImageInfo GetEncodedImageInfo(Vintasoft.Imaging.VintasoftImage) Emulates image saving and returns information about saved image without saving the image.

    Vintasoft.Imaging.Codecs.TiffEncoderSettings
    Added properties
    public Vintasoft.Imaging.Codecs.Tiff.TiffFileFormat FileFormat { get; set; } Gets or sets the format of TIFF file.
    public Vintasoft.Imaging.Codecs.Tiff.TiffFileVersion FileVersion { get; set; } Gets or sets the version of TIFF file.
    public bool UseTiles { get; set; } Gets or sets a value indicating whether image must be encoded using tiles.
    public System.Drawing.Size TileSize { get; set; } Gets or sets a tile size.
    public bool UsePredictor { get; set; } Gets or sets a value indicating whether predictor must be used for encoding image.

    Vintasoft.Imaging.Metadata.PageMetadata
    Added properties
    public int BitsPerPixel { get; } Gets the image's bit depth.

    Vintasoft.Imaging.Metadata.BitmapMetadata
    Added properties
    public int BitsPerPixel { get; } Gets the number of bits per pixel for image.

    Vintasoft.Imaging.Metadata.BmpMetadata
    Added properties
    public int BitsPerPixel { get; } Gets the number of bits per pixel for image.

    Vintasoft.Imaging.Metadata.EmfMetadata
    Added properties
    public int BitsPerPixel { get; } Gets the number of bits per pixel for image.

    Vintasoft.Imaging.Metadata.GifPageMetadata
    Added properties
    public int BitsPerPixel { get; } Gets the number of bits per pixel for image.

    Vintasoft.Imaging.Metadata.IconPageMetadata
    Added properties
    public int BitsPerPixel { get; } Gets the number of bits per pixel for image.

    Vintasoft.Imaging.Metadata.JpegMetadata
    Added properties
    public int BitsPerPixel { get; } Gets the number of bits per pixel for image.

    Vintasoft.Imaging.Metadata.PngPageMetadata
    Added properties
    public int BitsPerPixel { get; } Gets the number of bits per pixel for image.

    Vintasoft.Imaging.Metadata.TiffPageMetadata
    Added properties
    public int BitsPerPixel { get; } Gets the number of bits per pixel for image.

    Vintasoft.Imaging.Metadata.WmfMetadata
    Added properties
    public int BitsPerPixel { get; } Gets the number of bits per pixel for image.

    Vintasoft.Imaging.Codecs.Jpeg.JpegFile
    Added properties
    public Vintasoft.Imaging.Codecs.Jpeg.JpegDecodeSettings DecodeSettings { get; set; } Gets or sets decode settings of this JpegFile.
    Removed constructors
    public void JpegFile(System.IO.Stream, bool) Use the DecodeSettings property instead of the boolean parameter of constructor.

    Vintasoft.Imaging.Codecs.Tiff.TiffPage
    Added methods
    public void SetStripImage(int, Vintasoft.Imaging.VintasoftImage, System.EventHandlerProgressEventArgs>) Sets an image of the TIFF page strip.
    public void SetTileImage(int, Vintasoft.Imaging.VintasoftImage, System.EventHandlerProgressEventArgs>) Sets an image of the TIFF page tile.
    Renamed methods
    public Vintasoft.Imaging.VintasoftImage GetImageStrip(int, int, int, System.EventHandlerProgressEventArgs>) public Vintasoft.Imaging.VintasoftImage GetStripImage(int, int, int, System.EventHandlerProgressEventArgs>)
    public Vintasoft.Imaging.VintasoftImage GetImageTile(int, int, System.EventHandlerProgressEventArgs>) public Vintasoft.Imaging.VintasoftImage GetTileImage(int, int, System.EventHandlerProgressEventArgs>)

    Vintasoft.Imaging.VintasoftBitmap
    Added properties
    public bool HasPixelData { get; } Gets a value indicating whether bitmap has pixel data.

    Vintasoft.Imaging.UnmanagedBitmap
    Added properties
    public bool HasPixelData { get; } Gets a value indicating whether bitmap has pixel data.
    Added constructors
    public void UnmanagedBitmap(int, int, int, Vintasoft.Imaging.Resolution, Vintasoft.Imaging.PixelFormat, Vintasoft.Imaging.Palette, IntPtr, bool)
    public void UnmanagedBitmap(int, int, int, Vintasoft.Imaging.Resolution, Vintasoft.Imaging.PixelFormat, Vintasoft.Imaging.Palette) Initializes a new instance of the UnmanagedBitmap class.

    Vintasoft.Imaging.ImageRendering.ImageRenderer
    Added methods
    public void InvalidateSourceImage(System.Drawing.Rectangle) Invalidates the specified region of the source image.

    Vintasoft.Imaging.ImageProcessingProgressEventArgs
    Removed properties
    public int Progress { get; } Returns the progress, in percent, of current action.
    public bool CanCancel { get; } Gets a value indicating whether current processing process can be canceled.
    public bool Cancel { get; set; } Gets or sets a value indicating whether current processing process should be canceled.

    Vintasoft.Imaging.ImageViewer
    Added properties
    public Single RendererCacheDataSize { get; } Gets or sets the size, in megabytes, of data in renderer cache.
    Added methods
    public void SetFocusedIndexSync(int) Sets a new value of the ImageViewerBase.FocusedIndex property synchronously.
    Changed events
    public event System.EventHandler ImageReloading public event System.EventHandlerImageReloadEventArgs> ImageReloading
    public event System.EventHandlerImageReloadedEventArgs> ImageReloaded public event System.EventHandlerImageReloadEventArgs> ImageReloaded

    Vintasoft.Imaging.VisualTools.UserInteraction.UserInteractionVisualTool
    Added events
    public event Vintasoft.Imaging.PropertyChangedEventHandler ActiveInteractionControllerChanged Occurs when the UserInteractionVisualTool.ActiveInteractionController property is changed.

    Vintasoft.Imaging.VisualTools.UserInteraction.PointBasedObjectRectangularTransformer
    Added properties
    public Vintasoft.Imaging.VisualTools.UserInteraction.InteractionPoint RotationCenterPoint { get; set; } Gets or sets the rotation center point.
    Changed properties
    public int RotationPointDistance { get; set; } public Single RotationPointDistance { get; set; }

    Vintasoft.Imaging.VisualTools.UserInteraction.RectangularObjectTransformer
    Added properties
    public Vintasoft.Imaging.VisualTools.UserInteraction.InteractionPoint RotationCenterPoint { get; set; } Gets or sets the rotation center point.
    Changed properties
    public int RotationPointDistance { get; set; } public Single RotationPointDistance { get; set; }

    Vintasoft.Imaging.VisualTools.UserInteraction.InteractionPoint
    Added properties
    public Single InteractionRadius { get; set; } Gets or sets the interaction radius of interaction point.
    Added methods
    public bool IsPointOnArea(Vintasoft.Imaging.ImageViewer, int, int) Determines whether a point, in viewer space, is contained within the interaction area.

    Vintasoft.Imaging.VisualTools.UserInteraction.InteractionRectangularPoint
    Added methods
    public bool IsPointOnArea(Vintasoft.Imaging.ImageViewer, int, int) Determines whether a point, in viewer space, is contained within the interaction area.

    Vintasoft.Imaging.VisualTools.UserInteraction.RotationAssistantArea
    Changed properties
    public int DiscreteAngle { get; set; } public Single DiscreteAngle { get; set; }

    Vintasoft.Imaging.ImageRendering.ImageRendererCache
    Added methods
    public void Clear(System.Drawing.Rectangle) Clears the cache.


    New interfaces:

    public interface Vintasoft.Imaging.Codecs.IRasterGridEditor An interface for raster image editor which can replace image rectangle without reencoding of whole image.

    Changed interfaces:

    Vintasoft.Imaging.Codecs.IJpeg2000Encoder
    Added methods
    public Vintasoft.Imaging.Codecs.ImageInfo GetEncodedImageInfo(Vintasoft.Imaging.VintasoftImage) Emulates image saving and returns information about saved image without saving the image.

    Vintasoft.Imaging.VisualTools.UserInteraction.ISupportInteractiveObjectRotation
    Added properties
    public Vintasoft.Imaging.VisualTools.UserInteraction.InteractionPoint RotationCenterPoint { get; set; } Gets or sets the rotation center point.
    Changed properties
    public int RotationPointDistance { get; set; } public Single RotationPointDistance { get; set; }






    Changes in Vintasoft.Wpf.Imaging.UI.dll

    Changed classes:

    Vintasoft.Wpf.Imaging.UI.WpfImageViewer
    Added methods
    public void SetFocusedIndexSync(int) Sets synchronously a new value of the WpfImageViewerBase.FocusedIndex property.
    Changed events
    public event System.EventHandler ImageReloading public event System.EventHandlerImageReloadEventArgs> ImageReloading
    public event System.EventHandlerImageReloadedEventArgs> ImageReloaded public event System.EventHandlerImageReloadEventArgs> ImageReloaded

    Vintasoft.Wpf.Imaging.UI.VisualTools.UserInteraction.WpfPointBasedObjectRectangularTransformer
    Added properties
    public Vintasoft.Wpf.Imaging.UI.VisualTools.UserInteraction.WpfInteractionPoint RotationCenterPoint { get; set; } Gets or sets the rotation center point.

    Vintasoft.Wpf.Imaging.UI.VisualTools.UserInteraction.WpfUserInteractionVisualTool
    Added methods
    public void InvalidateItem(Vintasoft.Wpf.Imaging.UI.VisualTools.UserInteraction.IWpfInteractiveObject) Invalidates an interactive object.
    Added events
    public event Vintasoft.Imaging.PropertyChangedEventHandler`1[Vintasoft.Wpf.Imaging.UI.VisualTools.UserInteraction.IWpfInteractionController] ActiveInteractionControllerChanged Occurs when WpfUserInteractionVisualTool.ActiveInteractionController property is changed.

    Vintasoft.Wpf.Imaging.UI.VisualTools.UserInteraction.WpfRectangularObjectTransformer
    Added properties
    public Vintasoft.Wpf.Imaging.UI.VisualTools.UserInteraction.WpfInteractionPoint RotationCenterPoint { get; set; } Gets or sets the rotation center point.

    Vintasoft.Wpf.Imaging.UI.VisualTools.UserInteraction.WpfInteractionPoint
    Added properties
    public Double InteractionRadius { get; set; } Gets or sets the interaction radius of interaction point.
    Added methods
    public bool IsViewerPointOnArea(Vintasoft.Wpf.Imaging.UI.WpfImageViewer, System.Windows.Point) Determines whether a point, in viewer space, is contained within the interaction area.

    Vintasoft.Wpf.Imaging.UI.VisualTools.UserInteraction.WpfInteractionRectangularPoint
    Added methods
    public bool IsViewerPointOnArea(Vintasoft.Wpf.Imaging.UI.WpfImageViewer, System.Windows.Point) Determines whether a point, in viewer space, is contained within the interaction area.

    Vintasoft.Wpf.Imaging.UI.VisualTools.UserInteraction.WpfRotationAssistantArea
    Changed properties
    public int DiscreteAngle { get; set; } public Double DiscreteAngle { get; set; }


    Changed interfaces:

    Vintasoft.Wpf.Imaging.UI.VisualTools.UserInteraction.ISupportWpfInteractiveObjectRotation
    Added properties
    public Vintasoft.Wpf.Imaging.UI.VisualTools.UserInteraction.WpfInteractionPoint RotationCenterPoint { get; set; } Gets or sets the rotation center point.