Source code: com/sixlegs/image/png/GifExtension.java
1 // Copyright (C) 1998, 1999, 2001 Chris Nokleberg
2 // Please see included LICENSE.TXT
3
4 package com.sixlegs.image.png;
5
6 /**
7 * Interface to GIF Application Extension chunks (gIFx),
8 * which constains application-specific information converted
9 * from GIF89a files.
10 * @see PngImage#getGifExtensions
11 */
12 public interface GifExtension
13 {
14 /**
15 * Returns the Application Identifier of this GifExtension,
16 * which identifies the application that created the extension.
17 */
18 String getIdentifier();
19
20 /**
21 * Returns a the Authentication Code of this GifExtension,
22 * which may be used to further validate the extension.
23 */
24 byte[] getAuthenticationCode();
25
26 /**
27 * Returns the application-specific data of this GifExtension, which
28 * is not defined by the GIF specification.
29 */
30 byte[] getData();
31 }