Global

Location

  • Reference:
    • Go.dll  .NET, .NET Standard 2.0
    • Go.fx  Island
  • Namespace: go.image.png
  • Platforms: .NET, .NET Standard 2.0, Island

 

BestCompression

 

const BestCompression: CompressionLevel = -3;

 

const CompressionLevel BestCompression = -3

 

static let BestCompression: CompressionLevel = -3

 

const BestCompression CompressionLevel =  = -3

 

Dim BestCompression As CompressionLevel = -3

BestSpeed

 

const BestSpeed: CompressionLevel = -2;

 

const CompressionLevel BestSpeed = -2

 

static let BestSpeed: CompressionLevel = -2

 

const BestSpeed CompressionLevel =  = -2

 

Dim BestSpeed As CompressionLevel = -2

Decode

 

// .NET, Island
class method Decode(r: Reader): tuple of (Image, error)
// .NET Standard 2.0
class method Decode(r: Reader): ValueTuple<Image, error>

 

// .NET, Island
static (Image, error) Decode(Reader r)
// .NET Standard 2.0
static ValueTuple<Image, error> Decode(Reader r)

 

// .NET, Island
static func Decode(_ r: Reader) -> (Image, error)
// .NET Standard 2.0
static func Decode(_ r: Reader) -> ValueTuple<Image, error>

 

// .NET, Island
func Decode(r Reader) (Image, error)
// .NET Standard 2.0
func Decode(r Reader) ValueTuple<Image, error>

 

// .NET, Island
Shared Function Decode(r As Reader) As Tuple (Of Image, error)
// .NET Standard 2.0
Shared Function Decode(r As Reader) As ValueTuple<Image, error>

Parameters:

  • r:

DecodeConfig

 

// .NET, Island
class method DecodeConfig(r: Reader): tuple of (Config, error)
// .NET Standard 2.0
class method DecodeConfig(r: Reader): ValueTuple<Config, error>

 

// .NET, Island
static (Config, error) DecodeConfig(Reader r)
// .NET Standard 2.0
static ValueTuple<Config, error> DecodeConfig(Reader r)

 

// .NET, Island
static func DecodeConfig(_ r: Reader) -> (Config, error)
// .NET Standard 2.0
static func DecodeConfig(_ r: Reader) -> ValueTuple<Config, error>

 

// .NET, Island
func DecodeConfig(r Reader) (Config, error)
// .NET Standard 2.0
func DecodeConfig(r Reader) ValueTuple<Config, error>

 

// .NET, Island
Shared Function DecodeConfig(r As Reader) As Tuple (Of Config, error)
// .NET Standard 2.0
Shared Function DecodeConfig(r As Reader) As ValueTuple<Config, error>

Parameters:

  • r:

DefaultCompression

 

const DefaultCompression: CompressionLevel = 0;

 

const CompressionLevel DefaultCompression = 0

 

static let DefaultCompression: CompressionLevel = 0

 

const DefaultCompression CompressionLevel =  = 0

 

Dim DefaultCompression As CompressionLevel = 0

Encode

 

class method Encode(w: Writer; m: Image): error

 

static error Encode(Writer w, Image m)

 

static func Encode(_ w: Writer, _ m: Image) -> error

 

func Encode(w Writer, m Image) error

 

Shared Function Encode(w As Writer, m As Image) As error

Parameters:

  • w:
  • m:

NoCompression

 

const NoCompression: CompressionLevel = -1;

 

const CompressionLevel NoCompression = -1

 

static let NoCompression: CompressionLevel = -1

 

const NoCompression CompressionLevel =  = -1

 

Dim NoCompression As CompressionLevel = -1

 

BestCompression

 

const BestCompression: CompressionLevel = -3;

 

const CompressionLevel BestCompression = -3

 

static let BestCompression: CompressionLevel = -3

 

const BestCompression CompressionLevel =  = -3

 

Dim BestCompression As CompressionLevel = -3

BestSpeed

 

const BestSpeed: CompressionLevel = -2;

 

const CompressionLevel BestSpeed = -2

 

static let BestSpeed: CompressionLevel = -2

 

const BestSpeed CompressionLevel =  = -2

 

Dim BestSpeed As CompressionLevel = -2

DefaultCompression

 

const DefaultCompression: CompressionLevel = 0;

 

const CompressionLevel DefaultCompression = 0

 

static let DefaultCompression: CompressionLevel = 0

 

const DefaultCompression CompressionLevel =  = 0

 

Dim DefaultCompression As CompressionLevel = 0

NoCompression

 

const NoCompression: CompressionLevel = -1;

 

const CompressionLevel NoCompression = -1

 

static let NoCompression: CompressionLevel = -1

 

const NoCompression CompressionLevel =  = -1

 

Dim NoCompression As CompressionLevel = -1

 

Decode

 

// .NET, Island
class method Decode(r: Reader): tuple of (Image, error)
// .NET Standard 2.0
class method Decode(r: Reader): ValueTuple<Image, error>

 

// .NET, Island
static (Image, error) Decode(Reader r)
// .NET Standard 2.0
static ValueTuple<Image, error> Decode(Reader r)

 

// .NET, Island
static func Decode(_ r: Reader) -> (Image, error)
// .NET Standard 2.0
static func Decode(_ r: Reader) -> ValueTuple<Image, error>

 

// .NET, Island
func Decode(r Reader) (Image, error)
// .NET Standard 2.0
func Decode(r Reader) ValueTuple<Image, error>

 

// .NET, Island
Shared Function Decode(r As Reader) As Tuple (Of Image, error)
// .NET Standard 2.0
Shared Function Decode(r As Reader) As ValueTuple<Image, error>

Parameters:

  • r:

DecodeConfig

 

// .NET, Island
class method DecodeConfig(r: Reader): tuple of (Config, error)
// .NET Standard 2.0
class method DecodeConfig(r: Reader): ValueTuple<Config, error>

 

// .NET, Island
static (Config, error) DecodeConfig(Reader r)
// .NET Standard 2.0
static ValueTuple<Config, error> DecodeConfig(Reader r)

 

// .NET, Island
static func DecodeConfig(_ r: Reader) -> (Config, error)
// .NET Standard 2.0
static func DecodeConfig(_ r: Reader) -> ValueTuple<Config, error>

 

// .NET, Island
func DecodeConfig(r Reader) (Config, error)
// .NET Standard 2.0
func DecodeConfig(r Reader) ValueTuple<Config, error>

 

// .NET, Island
Shared Function DecodeConfig(r As Reader) As Tuple (Of Config, error)
// .NET Standard 2.0
Shared Function DecodeConfig(r As Reader) As ValueTuple<Config, error>

Parameters:

  • r:

Encode

 

class method Encode(w: Writer; m: Image): error

 

static error Encode(Writer w, Image m)

 

static func Encode(_ w: Writer, _ m: Image) -> error

 

func Encode(w Writer, m Image) error

 

Shared Function Encode(w As Writer, m As Image) As error

Parameters:

  • w:
  • m: