public class WriteFile
public static kotlin.Array[] writeBytes8(Pix pixs)
Write an 8bpp Pix to a flat byte array.
pixs - The 8bpp source image.public static int writeBytes8(Pix pixs, kotlin.Array[] data)
Write an 8bpp Pix to a flat byte array.
pixs - The 8bpp source image.data - A byte array large enough to hold the pixels of pixs.public static boolean writeImpliedFormat(Pix pixs, java.io.File file)
Writes a Pix to file using the file extension as the output format; supported formats are .bmp, .jpg, and .png.
Notes:
pixs - Source image.file - The file to write.true on successpublic static android.graphics.Bitmap writeBitmap(Pix pixs)
Writes a Pix to an Android Bitmap object. The output Bitmap will always be in ARGB_8888 format, but the input Pixs may be any bit-depth.
pixs - The source image.null on failure