[Gambas-user] Q:how to save a file.png into Postgresql
richard terry
rterry at ...1946...
Thu Aug 28 23:22:21 CEST 2008
I've adapted the IDE icon editor to load my own pictures in my program, draw
on them and save the file, but now need to save the result to disk.
Two options.
1) Save the changed diagram.
2) or somehow just save the changed bits of the picture - perhaps one can just
paint on a transparent overlay? I've no idea.
Anway, as an interim step I wondered if anyone could give me a line of sql
code to insert a picture into postgres. I looked at the docs and the nearest
I could think was maybe using the bytea type of data field.
Any help appreciated.
Thanks
Richard
More information about the User
mailing list