Skip to content

znwabudike/AndroidPNG2BMP

Repository files navigation

AndroidPNG2BMP

Convert Android PNG to Windows Bitmap

Usage:

//get your png byte array...
byte[] pngBytes = howeverYouWant();

//new instance of Converter
Converter converter = new Converter();

//convert the bytes
byte[] bmpBytes = converter.convert(pngBytes);

//do whatever you want with them
BufferedOutputStream bos = new BufferedOutputStream(new FileOutputStream(pathTo_yourFile));
bos.write(bmpBytes);
bos.flush();
bos.close();

About

Convert PNG to Windows Bitmap on Android

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages