Click or drag to resize
Ranorex

CompressedImage Class

Represents an image where the image data is internally stored in a byte array, compressed according to the specified image format (PNG by default).
Inheritance Hierarchy
SystemObject
  RanorexCompressedImage

Namespace:  Ranorex
Assembly:  Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntax
[SerializableAttribute]
public sealed class CompressedImage

The CompressedImage type exposes the following members.

Constructors
  NameDescription
Public methodCompressedImage(Image)
Creates a new compressed PNG image out of a given image.
Public methodCompressedImage(String)
Initializes a new instance of the CompressedImage class from a base64 string.
Public methodCompressedImage(Image, ImageFormat)
Creates a new compressed image out of a given image.
Public methodCompressedImage(Image, ImageFormat, Int32)
Creates a new compressed image out of a given image.
Top
Properties
  NameDescription
Public propertyGuid
A unique ID identifying the image. The Guid is chosen randomly and not connected to the image content in any way.
Public propertyImage
The reconstructed image from the compressed data.
Top
Methods
  NameDescription
Public methodClone
Creates a clone of this instance.
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 methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStore
Writes the compressed data to a file.
Public methodToBase64String
Creates a Base64 string representation of this instance.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Operators
See Also