public class

CroppingAvatarImageDataProviderFactoryImpl

extends Object
implements CroppingAvatarImageDataProviderFactory
java.lang.Object
   ↳ com.atlassian.jira.avatar.CroppingAvatarImageDataProviderFactoryImpl

Summary

Public Constructors
CroppingAvatarImageDataProviderFactoryImpl(AvatarTagger avatarTagger, ImageScaler scaler)
Public Methods
AvatarImageDataProvider createStreamsFrom(InputStream uploadedImage, Selection cropping)
Creates avatar image data provider that uses fragment of image.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.avatar.CroppingAvatarImageDataProviderFactory

Public Constructors

public CroppingAvatarImageDataProviderFactoryImpl (AvatarTagger avatarTagger, ImageScaler scaler)

Public Methods

public AvatarImageDataProvider createStreamsFrom (InputStream uploadedImage, Selection cropping)

Creates avatar image data provider that uses fragment of image.

Parameters
uploadedImage original image data stream
cropping image fragment description (if null some matching to requested size part of image is taken)
Returns
Throws
IOException