Can the input stream be overwritten by the output image? #1151
Unanswered
SanjaySocial
asked this question in
Help
Replies: 2 comments
-
This might be possible but I all depends on where your stream is coming from. There is nothing in Magick.NET that will make this impossible. You will probably need to do |
Beta Was this translation helpful? Give feedback.
0 replies
-
it is a memorystream actually
Get Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
From: Dirk Lemstra ***@***.***>
Sent: Sunday, March 6, 2022 3:55:09 PM
To: dlemstra/Magick.NET ***@***.***>
Cc: SanjaySocial ***@***.***>; Author ***@***.***>
Subject: Re: [dlemstra/Magick.NET] Can the input stream be overwritten by the output image? (Discussion #1151)
This might be possible but I all depends on where your stream is coming from. There is nothing in Magick.NET that will make this impossible. You will probably need to do imageBuffer.SetLength(0); and maybe imageBuffer.Position=0 before you write something new to the stream.
—
Reply to this email directly, view it on GitHub<#1151 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AYCVRX3FMGP3M4JSG6G4UFTU6SBYLANCNFSM5P75K2CA>.
Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
i want to do something like this. Is this fine or am i making some mistake?
Goal is to not end up with 2 copies of the image in memory. @dlemstra pls help
Beta Was this translation helpful? Give feedback.
All reactions