KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > imageio > plugins > bmp > BMPConstants


1 /*
2  * @(#)BMPConstants.java 1.3 03/12/19 16:53:52
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7
8 package com.sun.imageio.plugins.bmp;
9
10 public interface BMPConstants {
11     // bmp versions
12
static final String JavaDoc VERSION_2 = "BMP v. 2.x";
13     static final String JavaDoc VERSION_3 = "BMP v. 3.x";
14     static final String JavaDoc VERSION_3_NT = "BMP v. 3.x NT";
15     static final String JavaDoc VERSION_4 = "BMP v. 4.x";
16     static final String JavaDoc VERSION_5 = "BMP v. 5.x";
17
18     // Color space types
19
static final int LCS_CALIBRATED_RGB = 0;
20     static final int LCS_sRGB = 1;
21     static final int LCS_WINDOWS_COLOR_SPACE = 2;
22     static final int PROFILE_LINKED = 3;
23     static final int PROFILE_EMBEDDED = 4;
24
25     // Compression Types
26
static final int BI_RGB = 0;
27     static final int BI_RLE8 = 1;
28     static final int BI_RLE4 = 2;
29     static final int BI_BITFIELDS = 3;
30     static final int BI_JPEG = 4;
31     static final int BI_PNG = 5;
32
33     static final String JavaDoc[] compressionTypeNames =
34         {"BI_RGB", "BI_RLE8", "BI_RLE4", "BI_BITFIELDS", "BI_JPEG", "BI_PNG"};
35 }
36
Popular Tags