01: /*
02: * $RCSfile: PNGSuggestedPaletteEntry.java,v $
03: *
04: * Copyright (c) 2005 Sun Microsystems, Inc. All rights reserved.
05: *
06: * Use is subject to license terms.
07: *
08: * $Revision: 1.1 $
09: * $Date: 2005/02/11 04:55:32 $
10: * $State: Exp $
11: */
12: package com.sun.media.jai.codec;
13:
14: import java.io.Serializable;
15:
16: /**
17: * A class representing the fields of a PNG suggested palette entry.
18: *
19: * <p><b> This class is not a committed part of the JAI API. It may
20: * be removed or changed in future releases of JAI.</b>
21: */
22: public class PNGSuggestedPaletteEntry implements Serializable {
23:
24: /** The name of the entry. */
25: public String name;
26:
27: /** The depth of the color samples. */
28: public int sampleDepth;
29:
30: /** The red color value of the entry. */
31: public int red;
32:
33: /** The green color value of the entry. */
34: public int green;
35:
36: /** The blue color value of the entry. */
37: public int blue;
38:
39: /** The alpha opacity value of the entry. */
40: public int alpha;
41:
42: /** The probable frequency of the color in the image. */
43: public int frequency;
44: }
|