LoadedImageSurface.StartLoadFromStream 메서드

정의

오버로드

StartLoadFromStream(IRandomAccessStream)

이미지 원본에 정의된 자연 크기로 제공된 IRandomAccessStream에서 LoadedImageSurface에 이미지를 로드합니다.

StartLoadFromStream(IRandomAccessStream, Size)

제공된 IRandomAccessStream에서 원하는 최대 크기로 LoadedImageSurface에 이미지를 로드합니다.

StartLoadFromStream(IRandomAccessStream)

이미지 원본에 정의된 자연 크기로 제공된 IRandomAccessStream에서 LoadedImageSurface에 이미지를 로드합니다.

public:
 static LoadedImageSurface ^ StartLoadFromStream(IRandomAccessStream ^ stream);
/// [Windows.Foundation.Metadata.Overload("StartLoadFromStream")]
 static LoadedImageSurface StartLoadFromStream(IRandomAccessStream const& stream);
[Windows.Foundation.Metadata.Overload("StartLoadFromStream")]
public static LoadedImageSurface StartLoadFromStream(IRandomAccessStream stream);
function startLoadFromStream(stream)
Public Shared Function StartLoadFromStream (stream As IRandomAccessStream) As LoadedImageSurface

매개 변수

stream
IRandomAccessStream

이미지가 로드되는 스트림입니다.

반환

이미지가 표면에 로드된 LoadedImageSurface의 instance.

특성

적용 대상

StartLoadFromStream(IRandomAccessStream, Size)

제공된 IRandomAccessStream에서 원하는 최대 크기로 LoadedImageSurface에 이미지를 로드합니다.

public:
 static LoadedImageSurface ^ StartLoadFromStream(IRandomAccessStream ^ stream, Size desiredMaxSize);
/// [Windows.Foundation.Metadata.Overload("StartLoadFromStreamWithSize")]
 static LoadedImageSurface StartLoadFromStream(IRandomAccessStream const& stream, Size const& desiredMaxSize);
[Windows.Foundation.Metadata.Overload("StartLoadFromStreamWithSize")]
public static LoadedImageSurface StartLoadFromStream(IRandomAccessStream stream, Size desiredMaxSize);
function startLoadFromStream(stream, desiredMaxSize)
Public Shared Function StartLoadFromStream (stream As IRandomAccessStream, desiredMaxSize As Size) As LoadedImageSurface

매개 변수

stream
IRandomAccessStream

이미지가 로드되는 스트림입니다.

desiredMaxSize
Size

디바이스 독립적 픽셀에서 이미지 표면의 원하는 최대 크기입니다.

반환

이미지가 표면에 로드된 LoadedImageSurface의 instance.

특성

설명

기본적으로 LoadedImageSurface 는 들어오는 원본의 가로 세로 비율 및 이미지 콘텐츠를 유지하면서 원하는 MaxSize 를 최대한 많이 채웁니다. 이로 인해 desiredMaxSize 입력과 다른 디코딩 크기가 발생할 수 있습니다.

적용 대상