BitmapStorage


public final class BitmapStorage


Summary

Public methods

static final void

Writes the contents of the Bitmap to a compressed png file on PlatformTestStorage

Public methods

writeToTestStorage

public static final void writeToTestStorage(@NonNull Bitmap receiver, @NonNull String name)

Writes the contents of the Bitmap to a compressed png file on PlatformTestStorage

Parameters
@NonNull String name

a descriptive base name for the resulting file. '.png' will be appended to this name.

Throws
java.io.IOException

if bitmap could not be compressed or written to ds