changed pictures to save bitmap