06-08-2022 11:04 AM
I have a database which contains BLOB image data and need to convert this back to the original .jpg image. I haven't been able to figure out how to do this and can't find any relevant posts discussing this.
I have attached an image of a retrieved BLOB from the database for reference.
Any help or pointing to an example resource would be really appreciated!
Matt
Solved! Go to Solution.
06-08-2022 03:06 PM - edited 06-08-2022 03:07 PM
What happens if you use a Write to Binary File node to write this BLOB to disk with a filename with .jpg extension? Watch out on the at the Write to Binary File node, it has a boolean input "prepend array of string size (T)". You want to set this explicitly to false to prevent the Write to Binary File node to prepend an int32 to the data that indicates how many bytes follow.
Other that this suggestion there is nothing we can do for you with an image.
06-09-2022 02:53 PM
Thank you rolfk you led me right to the solution!