On 29.03.23 23:29, Riccardo Gobbo wrote:
> Question: for better performance is it better to store images as BYTEA
> or convert every image in base64 and store the generated string (so in
> html it's enough to insert the base64 string in the tag)?
> Converting an image in base64 would use a 30% more memory than storing
> directly the image's bytes, but I don't know if working with characters
> rather than bytes could have more prons than cons
Storing as bytea is better.