How to load TImage32 from a TMemoryStream #42
chicknsoup
started this conversation in
General
Replies: 3 comments 3 replies
-
|
Beta Was this translation helpful? Give feedback.
2 replies
-
Line 2507 in b431b07 |
Beta Was this translation helpful? Give feedback.
1 reply
-
Okay, I found the culprit. We have to reset the stream position to 0 before loading it using img.LoadFromStream. My bad :( |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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.
Beta Was this translation helpful? Give feedback.
All reactions