imageio

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 21, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Read and write most image file formats, and access an image’s metadata.

Apple Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImageAnimationStatus

type ImageAnimationStatus uint

Constants that indicate the result of animating an image sequence. Full Topic

const (
	KImageAnimationStatus_AllocationFailure    ImageAnimationStatus = 22144
	KImageAnimationStatus_CorruptInputImage    ImageAnimationStatus = 22141
	KImageAnimationStatus_IncompleteInputImage ImageAnimationStatus = 22143
	KImageAnimationStatus_ParameterError       ImageAnimationStatus = 22140
	KImageAnimationStatus_UnsupportedFormat    ImageAnimationStatus = 22142
)

type ImageDestinationRef

type ImageDestinationRef uintptr

An opaque type that you use to write image data to a URL, data object, or data consumer. Full Topic

type ImageMetadataErrors

type ImageMetadataErrors int32

Constants for errors that occur when getting or setting metadata information. Full Topic

const (
	KImageMetadataErrorBadArgument          ImageMetadataErrors = 2
	KImageMetadataErrorConflictingArguments ImageMetadataErrors = 3
	KImageMetadataErrorPrefixConflict       ImageMetadataErrors = 4
	KImageMetadataErrorUnknown              ImageMetadataErrors = 0
	KImageMetadataErrorUnsupportedFormat    ImageMetadataErrors = 1
)

type ImageMetadataRef

type ImageMetadataRef uintptr

An immutable object that contains the XMP metadata associated with an image. Full Topic

type ImageMetadataTagBlock

type ImageMetadataTagBlock = func(path corefoundation.StringRef, tag ImageMetadataTagRef) bool

The block to execute when enumerating the tags of a metadata object. Full Topic

type ImageMetadataTagRef

type ImageMetadataTagRef uintptr

An immutable type that contains information about a single piece of image metadata. Full Topic

type ImageMetadataType

type ImageMetadataType int32

Constants that indicate the XMP type for a metadata tag. Full Topic

const (
	KImageMetadataTypeAlternateArray ImageMetadataType = 4
	KImageMetadataTypeAlternateText  ImageMetadataType = 5
	KImageMetadataTypeArrayOrdered   ImageMetadataType = 3
	KImageMetadataTypeArrayUnordered ImageMetadataType = 2
	KImageMetadataTypeDefault        ImageMetadataType = 0
	KImageMetadataTypeInvalid        ImageMetadataType = -1
	KImageMetadataTypeString         ImageMetadataType = 1
	KImageMetadataTypeStructure      ImageMetadataType = 6
)

type ImagePropertyOrientation

type ImagePropertyOrientation uint32

A value describing the intended display orientation for an image. Full Topic

const (
	KImagePropertyOrientationDown          ImagePropertyOrientation = 3
	KImagePropertyOrientationDownMirrored  ImagePropertyOrientation = 4
	KImagePropertyOrientationLeft          ImagePropertyOrientation = 8
	KImagePropertyOrientationLeftMirrored  ImagePropertyOrientation = 5
	KImagePropertyOrientationRight         ImagePropertyOrientation = 6
	KImagePropertyOrientationRightMirrored ImagePropertyOrientation = 7
	KImagePropertyOrientationUp            ImagePropertyOrientation = 1
	KImagePropertyOrientationUpMirrored    ImagePropertyOrientation = 2
)

type ImagePropertyTGACompression

type ImagePropertyTGACompression uint32
[Full Topic]
const (
	KImageTGACompressionNone ImagePropertyTGACompression = 0
	KImageTGACompressionRLE  ImagePropertyTGACompression = 1
)

type ImageSourceAnimationBlock

type ImageSourceAnimationBlock = func(index uint, image coregraphics.ImageRef, stop *bool)

The block to execute for each frame of an image animation. Full Topic

type ImageSourceRef

type ImageSourceRef uintptr

An opaque type that you use to read image data from a URL, data object, or data consumer. Full Topic

type ImageSourceStatus

type ImageSourceStatus int32

The set of status values for images and image sources. Full Topic

const (
	KImageStatusComplete      ImageSourceStatus = 0
	KImageStatusIncomplete    ImageSourceStatus = -1
	KImageStatusInvalidData   ImageSourceStatus = -4
	KImageStatusReadingHeader ImageSourceStatus = -2
	KImageStatusUnexpectedEOF ImageSourceStatus = -5
	KImageStatusUnknownType   ImageSourceStatus = -3
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL