mono / libgdiplus

C-based implementation of the GDI+ API
http://www.mono-project.com/
MIT License
329 stars 171 forks source link

Cannot add frames to a tiff #709

Open justinmchase opened 3 years ago

justinmchase commented 3 years ago

I spent a bit of time trying to follow various code examples on how to combine multiple images into a single multi-frame TIFF only to dig all the way down to here and find out that NotImplementedException I kept getting was because its totally not implemented here.

https://github.com/mono/libgdiplus/blob/e15e1e00bcff4a2cb9c5135cbd43a7ffa0f13756/src/image.c#L2693-L2698

I see its on a todo list to implement but just in case someone was waiting for someone to finally ask for it before going for it, then here it is!

Also, it seems like it should essentially just be shunting this logic to the encoder where all the real work happens. Does anyone maintaining this project think it would be that simple? Or would it have to go down further into the tiff codec as well? I'd be happy to try to make a PR if I could get some hints on how basically it should go.