Hi Loic,
I can able to successfully convert a image as string and assigned to the string variable.Using the string variable I can able to view the image by gdviewer1.displayfromstring .
But after I saved the image string in to a Textfile(.txt),I am not able to view the image from the image string which is saved in the text file.
Is there anyway to convert the image (string,binary) and save it in .txt or .XML file and retrive the image (string,binary) from the file to view?
If possible,please reply my previous post.
Thanks and regards
M.senthil
Image Save as String
Re: Image Save as String
Hi Senthil,
As always, please report us a code snippet to see what you are doing wrong.
I'll get a look on your previous post.
Kind regards,
Loïc
As always, please report us a code snippet to see what you are doing wrong.
I'll get a look on your previous post.
Kind regards,
Loïc
Re: Image Save as String
I haven't tested this, but as I understand it, are you using Encode64String after you have the string representation of the image?
Code: Select all
tstOutput.WriteLine gdiPhoto.Encode64String(gdiPhoto.SaveAsString("jpg"))
Who is online
Users browsing this forum: No registered users and 0 guests