@ExperimentalApi
public interface CroppingAvatarImageDataProviderFactory
Modifier and Type | Method and Description |
---|---|
AvatarImageDataProvider |
createStreamsFrom(InputStream uploadedImage,
Selection cropping)
Creates avatar image data provider that uses fragment of image.
|
@Nonnull AvatarImageDataProvider createStreamsFrom(@Nonnull InputStream uploadedImage, @Nullable Selection cropping) throws IOException
uploadedImage
- original image data streamcropping
- image fragment description (if null some matching to requested size part of image is taken)TypeAvatarService
, AvatarManager
IOException
Copyright © 2002-2022 Atlassian. All Rights Reserved.