Hello, is it possible to load a picture from output/input stream, not using the FileDescriptor implementation? This example is from user-avatar sample:
@Inject
private Image userImage;
@Override
protected void postInit() {
super.postInit();
FileDescriptor userImageFile = ((UserExt) getItem()).getImage();
userImage.setSource(FileDescriptorResource.class).setFileDescriptor(userImageFile); // here I cannot find a proper source to use
}
Thanks!