I’m trying to save pictures in a SQLite database, they save fine but I can’t get the pictures read when I use another application to read SQLite Databases, it seems the format is not the same, my own app reads them fine, the issue is while using external applications
I can read correctly picturevalues saved with another app but this app can’t read pictures saved with my Xojo app.
Using a Visual Studio app I can save them compatible with other apps in JPG format without problem.
I have tried both:
rec.PictureColumn(“mypic”,Picture.FormatJPEG)
and rec.PictureColumn(“mypic”) 'defaults to Picture.FormatPNG
Is there any special way to save it for compatibility with other apps ?
I thought that if PictureValue is able to read the format written by another application then PictureColumn should write the same format, is this not correct ?
It seems reasonable that it would be readable by another non-Xojoo app, but since you noticed it does not trying a BLOB is the next obvious step. It could be that PictureColumn stores the data in a not-quite-standard format, it could be a bug, it could be something else. Without a Feedback case for an engineer to look at it, we are both just guessing.