Save/Load Picture

For quite a while I have been using MBS to write and open a custom file that simply writes out a series of array data and then a picture. Is there another way to save the photo in the file without MBS in the one file?

tout.writeline Playerpassword
tout.writeline username
tout.Write PictureToJPEGStringMBS(Myphoto,100)

I think I am stuck with MBS as there are too many user files that have it saved in that format to change the reading of old files

Forum for Xojo Programming Language and IDE. Copyright © 2021 Xojo, Inc.