metadata-extractor icon indicating copy to clipboard operation
metadata-extractor copied to clipboard

Move GifControlHeader.DisposalMethod to GifControlDescriptor

Open kwhopper opened this issue 4 years ago • 0 comments

https://github.com/drewnoakes/metadata-extractor/blob/8352ce2bdfe559f0c2d28bd109e3a82af79abcbc/Source/com/drew/metadata/gif/GifControlDirectory.java#L119

With the enum toString structure, it doesn't appear possible to return the actual value when the 'INVALID' enum value is encountered. Maybe DisposalMethod description processing should be moved to GifControlDescriptor?

(These enum toString things seem convenient but are not very flexible.)

This was changed for .NET in drewnoakes/metadata-extractor-dotnet#181

kwhopper avatar Jul 18 '19 14:07 kwhopper