-
-
Notifications
You must be signed in to change notification settings - Fork 854
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow encoding directly from frames #284
Labels
Comments
Your wish is granted! 😄 The latest builds on MyGet now allow exporting of frames using( var img = Image.Load(source))
{
foreach (var frame in img.Frames)
{
using (Image<TPixel> cloned = img.Frames.ExportFrame(i))
{
// Save cloned frame
}
}
} |
@JimBobSquarePants what does |
I just copy/pasted the surrounding code above to be honest. It doesn't do anything now I look at it. I'll update. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It'd be nice to have
IImageEncoder
also have the overloadThat way, you can directly save frames of an image as separate images without having to clone them as you have to now:
The text was updated successfully, but these errors were encountered: