I use default seamspace example from Seam 2.1 with Postgres 8.3.
It store uploaded images in text format table column.
But returned image is corrupt
Seamspace reads this image to bytearray data, but on
icon = new ImageIcon(data); System.out.println(icon.getIconWidth());
It returns -1.
I think there are errors on uploading to postgres or on reading from postgres.
How to find when image is corrupted???
Sorry. There were my mistake.