TDBImage
Posted: Tue 21 Jan 2014 14:04
Hi,
I am trying to insert/update an image on a table (postgres data base using column bytea). I am working with component TDBImage, but it gives me an error "stream read error", when I set the field name on this component.
What type of image should I save in a bytea column (bmp, jpg, gif, etc), and can I work with TDBImage component to display it?
If I save a bmp image and try to show it on TDBImage, it says Bitmap image is not valid.
I am working with builder XE3 (c++).
Thanks!
LL
I am trying to insert/update an image on a table (postgres data base using column bytea). I am working with component TDBImage, but it gives me an error "stream read error", when I set the field name on this component.
What type of image should I save in a bytea column (bmp, jpg, gif, etc), and can I work with TDBImage component to display it?
If I save a bmp image and try to show it on TDBImage, it says Bitmap image is not valid.
I am working with builder XE3 (c++).
Thanks!
LL