class ImageService {

    @Nullable
    public static Bitmap asBitmap(@NonNull final DownloadResponse downloadResponse, final int requestedWidth) {
        final byte[] bytes = downloadResponse.getByteArray();
        return byteArrayToBitmap(bytes, requestedWidth);
    }

}