How to load TImage32 from a TMemoryStream #42
chicknsoup
started this conversation in
General
Replies: 3 comments 3 replies
|
2 replies
|
Okay, I found the culprit. We have to reset the stream position to 0 before loading it using img.LoadFromStream. My bad :( |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I can load the image via TFileStream but not TMemoryStream.
I don't want to save the image to disk and use LoadFromFile procedure.
Is there a way to directly load the image from memory?
Thank you.
All reactions