PreviewExample Class

PowerGif

DropDown image DropDownHover image Collapse image Expand image CollapseAll image ExpandAll image Copy image CopyHover image

In some cases you may need to get GIF previews (first frame) instead of decoding all frames. For example, you are developing image gallery and it should work fast. Just use decode iterator and stop it on the first iteration. Then you'll get the first frame. You even don't need to use a coroutine in this case.

Namespace: Assets.PowerGif.Examples.Scripts
Assembly: Assembly-CSharp (in Assembly-CSharp.dll)

Expand  imageSyntax

Visual Basic (Declaration)
Public Class PreviewExample 
Inherits ExampleBase
C#
public class PreviewExample : ExampleBase
C++
public ref class PreviewExample : public ExampleBase^
JScript
public class PreviewExample 
extends ExampleBase

Expand image Inheritance Hierarchy

Expand image Version Information

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1

Expand image See Also