docs: protected InputStream getStreamFromContent(String imageUri, Object extra) throws FileNotFoundException {
  		ContentResolver res = context.getContentResolver();
  
  		Uri uri = Uri.parse(imageUri);
  		if (isVideoContentUri(uri)) { // video thumbnail
  			Long origId = Long.valueOf(uri.getLastPathSegment());
  			Bitmap bitmap = MediaStore.Video.Thumbnails
  					.getThumbnail(res, origId, MediaStore.Images.Thumbnails.MINI_KIND, null);
  			if (bitmap != null) {
  				ByteArrayOutputStream bos = new ByteArrayOutputStream();
  				bitmap.compress(CompressFormat.PNG, 0, bos);
  				return new ByteArrayInputStream(bos.toByteArray());
  			}
  		} else if (imageUri.startsWith(CONTENT_CONTACTS_URI_PREFIX)) { // contacts photo
  			return getContactPhotoStream(uri);
  		}
  
  		return res.openInputStream(uri);
  	}