LayerResourcesRegistry.LoadResourceByFirstSupportedDescriptor

LayerResourcesRegistry.LoadResourceByFirstSupportedDescriptor method

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

public static LayerResource LoadResourceByFirstSupportedDescriptor(Stream stream, int psdVersion)
ParameterTypeDescription
streamStreamThe stream.
psdVersionInt32The PSD version.

Return Value

The loaded LayerResource or null if no opener is found.

Remarks

The first opener will be actually the last registered.

See Also