LayerResourcesRegistry.LoadResourceByFirstSupportedDescriptor method

Loads LayerResource using first found opener suitable for the specified stream.

public static LayerResource LoadResourceByFirstSupportedDescriptor(Stream stream, int psdVersion)
Parameter Type Description
stream Stream The stream.
psdVersion Int32 The PSD version.

Return Value

The loaded LayerResource or null if no opener is found.


The first opener will be actually the last registered.

See Also