/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
"javax_imageio_bmp_1.0";
// Fields for Image Descriptor
public int width ;
public int height;
public short bitsPerPixel;
public int compression;
public int imageSize;
// Fields for PixelsPerMeter
public int xPixelsPerMeter;
public int yPixelsPerMeter;
public int colorsUsed;
public int colorsImportant;
// Fields for BI_BITFIELDS compression(Mask)
public int redMask;
public int greenMask;
public int blueMask;
public int alphaMask;
public int colorSpace;
// Fields for CIE XYZ for the LCS_CALIBRATED_RGB color space
public double redX;
public double redY;
public double redZ;
public double greenX;
public double greenY;
public double greenZ;
public double blueX;
public double blueY;
public double blueZ;
// Fields for Gamma values for the LCS_CALIBRATED_RGB color space
public int gammaRed;
public int gammaGreen;
public int gammaBlue;
public int intent;
// Fields for the Palette and Entries
public int paletteSize;
public int red;
public int green;
public int blue;
// Fields from CommentExtension
// List of byte[]
public BMPMetadata() {
super(true,
"com.sun.imageio.plugins.bmp.BMPMetadataFormat",
}
public boolean isReadOnly() {
return true;
}
return getNativeTree();
} else if (formatName.equals
return getStandardTree();
} else {
}
}
try {
} catch (UnsupportedEncodingException e) {
return "";
}
}
int version = 0;
if (version >= 4) {
}
// Palette
if (numComps == 4)
}
}
return root;
}
// Standard tree node methods
}
return node;
}
return null;
}
// CompressionTypeName
return node;
}
if (bitsPerPixel == 24)
bits = "8 8 8 ";
}
return node;
}
return node;
}
return null;
}
}
}
public void reset() {
}
int count = 0;
while(num > 0) {
count++;
num >>>= 1;
}
}
}
}
return child;
}
}