Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/337.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 从GIF文件的字节数组中提取单个帧的字节数组_C#_Unity3d - Fatal编程技术网

C# 从GIF文件的字节数组中提取单个帧的字节数组

C# 从GIF文件的字节数组中提取单个帧的字节数组,c#,unity3d,C#,Unity3d,我有一个GIF文件的字节[]。我想从中提取所有帧。我能够使用System.Drawing.Image和System.Drawing.Imaging提取帧。但是这些需要System.Drawing,我不能在我的项目中使用它,因为Unity不支持它。如果以某种方式,我可以得到每个帧的字节[],它将满足我的需要 有人有这个问题的解决方案或其他选择吗

我有一个GIF文件的
字节[]
。我想从中提取所有帧。我能够使用
System.Drawing.Image
System.Drawing.Imaging
提取帧。但是这些需要
System.Drawing
,我不能在我的项目中使用它,因为Unity不支持它。如果以某种方式,我可以得到每个帧的
字节[]
,它将满足我的需要

有人有这个问题的解决方案或其他选择吗