This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class PhotoScalerAndSaver { | |
public static main(String[] args) { | |
//TODO: create your photo here | |
//Convert your photo to a bitmap | |
Bitmap photoBm = (Bitmap) "your Bitmap image"; | |
//scale and save the photo to a file on the directory | |
saveScaledPhotoToFile(Bitmap photoBm) |