0

insert into my_image values(string name, Blob blob, String imageType);

I am having an image as .jpg. Here i dont want to use relative path lo_import('D:\image.jpg') .I want to convert the image into bytes and then i want to convert to blob.I want to insert this jpg image using insert statement in postgres database.THis question is not a duplicate. This question is not asking to use relative path. Please read the question before you mark as duplicate.

Ravi
  • 159
  • 3
  • 17

0 Answers0