1
Automation Interface, Add-Ins and Tools / Insert in t_image
« on: November 03, 2023, 03:05:21 am »
Hello, I am trying to insert an image in EA through an addin, for what I was investigating it is not possible to insert it through api, so we only have the option of making an insert by DB.
Analyzing the table t_image I saw that in the field "image" places the image in base64 format. Then I tried to make an insert to this same table with my image in base64, but I find that when making the insert the database returns to make the conversion to base64, then what happens is that the original text of the image is converted to base64 again and when I want to open this image in EA gives an error, which is logical because the image is not the "original" but a new formatting of the same one.
Does anyone know how to make an insert to this table?
Or if there is any other method to insert an image in EA through an addin?
Analyzing the table t_image I saw that in the field "image" places the image in base64 format. Then I tried to make an insert to this same table with my image in base64, but I find that when making the insert the database returns to make the conversion to base64, then what happens is that the original text of the image is converted to base64 again and when I want to open this image in EA gives an error, which is logical because the image is not the "original" but a new formatting of the same one.
Does anyone know how to make an insert to this table?
Or if there is any other method to insert an image in EA through an addin?