MonobjcMonobjc Documented Class Library
NSImageRepLoadStatus Enumeration
NamespacesMonobjc.AppKitNSImageRepLoadStatus

These constants represent the various status values returned by incrementalLoadFromData:complete:.

Available in Mac OS X v10.2 and later.

Declaration Syntax
C#Visual BasicVisual C++
public enum NSImageRepLoadStatus
Public Enumeration NSImageRepLoadStatus
public enum class NSImageRepLoadStatus
Members
MemberDescription
NSImageRepLoadStatusUnknownType

Not enough data to determine image format. You should continue to provide more data.

Available in Mac OS X v10.2 and later.


NSImageRepLoadStatusReadingHeader

The image format is known, but not enough data has been read to determine the size, depth, etc., of the image. You should continue to provide more data.

Available in Mac OS X v10.2 and later.


NSImageRepLoadStatusWillNeedAllData

Incremental loading cannot be supported. Until you call incrementalLoadFromData:complete: with YES, this status will be returned. You can continue to call the method but no decompression will take place. Once you do call the method with YES, then the image will be decompressed and one of the final three status messages will be returned.

Available in Mac OS X v10.2 and later.


NSImageRepLoadStatusInvalidData

An error occurred during image decompression. The image contains the portions of the data that have already been successfully decompressed, if any

Available in Mac OS X v10.2 and later.


NSImageRepLoadStatusUnexpectedEOF

incrementalLoadFromData:complete: was called with YES, but not enough data was available for decompression. The image contains the portions of the data that have already been successfully decompressed, if any.

Available in Mac OS X v10.2 and later.


NSImageRepLoadStatusCompleted

Enough data has been provided to successfully decompress the image (regardless of the complete: flag).

Available in Mac OS X v10.2 and later.


Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)