com.sun.imageio.plugins.bmp.BMPImageWriterSpi Java Examples

The following examples show how to use com.sun.imageio.plugins.bmp.BMPImageWriterSpi. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: IIORegistry.java    From openjdk-jdk9 with GNU General Public License v2.0 6 votes vote down vote up
private void registerStandardSpis() {
    // Hardwire standard SPIs
    registerServiceProvider(new GIFImageReaderSpi());
    registerServiceProvider(new GIFImageWriterSpi());
    registerServiceProvider(new BMPImageReaderSpi());
    registerServiceProvider(new BMPImageWriterSpi());
    registerServiceProvider(new WBMPImageReaderSpi());
    registerServiceProvider(new WBMPImageWriterSpi());
    registerServiceProvider(new TIFFImageReaderSpi());
    registerServiceProvider(new TIFFImageWriterSpi());
    registerServiceProvider(new PNGImageReaderSpi());
    registerServiceProvider(new PNGImageWriterSpi());
    registerServiceProvider(new JPEGImageReaderSpi());
    registerServiceProvider(new JPEGImageWriterSpi());
    registerServiceProvider(new FileImageInputStreamSpi());
    registerServiceProvider(new FileImageOutputStreamSpi());
    registerServiceProvider(new InputStreamImageInputStreamSpi());
    registerServiceProvider(new OutputStreamImageOutputStreamSpi());
    registerServiceProvider(new RAFImageInputStreamSpi());
    registerServiceProvider(new RAFImageOutputStreamSpi());

    registerInstalledProviders();
}
 
Example #2
Source File: IIORegistry.java    From jdk8u-dev-jdk with GNU General Public License v2.0 6 votes vote down vote up
private void registerStandardSpis() {
    // Hardwire standard SPIs
    registerServiceProvider(new GIFImageReaderSpi());
    registerServiceProvider(new GIFImageWriterSpi());
    registerServiceProvider(new BMPImageReaderSpi());
    registerServiceProvider(new BMPImageWriterSpi());
    registerServiceProvider(new WBMPImageReaderSpi());
    registerServiceProvider(new WBMPImageWriterSpi());
    registerServiceProvider(new PNGImageReaderSpi());
    registerServiceProvider(new PNGImageWriterSpi());
    registerServiceProvider(new JPEGImageReaderSpi());
    registerServiceProvider(new JPEGImageWriterSpi());
    registerServiceProvider(new FileImageInputStreamSpi());
    registerServiceProvider(new FileImageOutputStreamSpi());
    registerServiceProvider(new InputStreamImageInputStreamSpi());
    registerServiceProvider(new OutputStreamImageOutputStreamSpi());
    registerServiceProvider(new RAFImageInputStreamSpi());
    registerServiceProvider(new RAFImageOutputStreamSpi());

    registerInstalledProviders();
}
 
Example #3
Source File: IIORegistry.java    From jdk8u-jdk with GNU General Public License v2.0 6 votes vote down vote up
private void registerStandardSpis() {
    // Hardwire standard SPIs
    registerServiceProvider(new GIFImageReaderSpi());
    registerServiceProvider(new GIFImageWriterSpi());
    registerServiceProvider(new BMPImageReaderSpi());
    registerServiceProvider(new BMPImageWriterSpi());
    registerServiceProvider(new WBMPImageReaderSpi());
    registerServiceProvider(new WBMPImageWriterSpi());
    registerServiceProvider(new PNGImageReaderSpi());
    registerServiceProvider(new PNGImageWriterSpi());
    registerServiceProvider(new JPEGImageReaderSpi());
    registerServiceProvider(new JPEGImageWriterSpi());
    registerServiceProvider(new FileImageInputStreamSpi());
    registerServiceProvider(new FileImageOutputStreamSpi());
    registerServiceProvider(new InputStreamImageInputStreamSpi());
    registerServiceProvider(new OutputStreamImageOutputStreamSpi());
    registerServiceProvider(new RAFImageInputStreamSpi());
    registerServiceProvider(new RAFImageOutputStreamSpi());

    registerInstalledProviders();
}
 
Example #4
Source File: IIORegistry.java    From jdk8u_jdk with GNU General Public License v2.0 6 votes vote down vote up
private void registerStandardSpis() {
    // Hardwire standard SPIs
    registerServiceProvider(new GIFImageReaderSpi());
    registerServiceProvider(new GIFImageWriterSpi());
    registerServiceProvider(new BMPImageReaderSpi());
    registerServiceProvider(new BMPImageWriterSpi());
    registerServiceProvider(new WBMPImageReaderSpi());
    registerServiceProvider(new WBMPImageWriterSpi());
    registerServiceProvider(new PNGImageReaderSpi());
    registerServiceProvider(new PNGImageWriterSpi());
    registerServiceProvider(new JPEGImageReaderSpi());
    registerServiceProvider(new JPEGImageWriterSpi());
    registerServiceProvider(new FileImageInputStreamSpi());
    registerServiceProvider(new FileImageOutputStreamSpi());
    registerServiceProvider(new InputStreamImageInputStreamSpi());
    registerServiceProvider(new OutputStreamImageOutputStreamSpi());
    registerServiceProvider(new RAFImageInputStreamSpi());
    registerServiceProvider(new RAFImageOutputStreamSpi());

    registerInstalledProviders();
}
 
Example #5
Source File: IIORegistry.java    From openjdk-8 with GNU General Public License v2.0 6 votes vote down vote up
private void registerStandardSpis() {
    // Hardwire standard SPIs
    registerServiceProvider(new GIFImageReaderSpi());
    registerServiceProvider(new GIFImageWriterSpi());
    registerServiceProvider(new BMPImageReaderSpi());
    registerServiceProvider(new BMPImageWriterSpi());
    registerServiceProvider(new WBMPImageReaderSpi());
    registerServiceProvider(new WBMPImageWriterSpi());
    registerServiceProvider(new PNGImageReaderSpi());
    registerServiceProvider(new PNGImageWriterSpi());
    registerServiceProvider(new JPEGImageReaderSpi());
    registerServiceProvider(new JPEGImageWriterSpi());
    registerServiceProvider(new FileImageInputStreamSpi());
    registerServiceProvider(new FileImageOutputStreamSpi());
    registerServiceProvider(new InputStreamImageInputStreamSpi());
    registerServiceProvider(new OutputStreamImageOutputStreamSpi());
    registerServiceProvider(new RAFImageInputStreamSpi());
    registerServiceProvider(new RAFImageOutputStreamSpi());

    registerInstalledProviders();
}
 
Example #6
Source File: IIORegistry.java    From openjdk-8-source with GNU General Public License v2.0 6 votes vote down vote up
private void registerStandardSpis() {
    // Hardwire standard SPIs
    registerServiceProvider(new GIFImageReaderSpi());
    registerServiceProvider(new GIFImageWriterSpi());
    registerServiceProvider(new BMPImageReaderSpi());
    registerServiceProvider(new BMPImageWriterSpi());
    registerServiceProvider(new WBMPImageReaderSpi());
    registerServiceProvider(new WBMPImageWriterSpi());
    registerServiceProvider(new PNGImageReaderSpi());
    registerServiceProvider(new PNGImageWriterSpi());
    registerServiceProvider(new JPEGImageReaderSpi());
    registerServiceProvider(new JPEGImageWriterSpi());
    registerServiceProvider(new FileImageInputStreamSpi());
    registerServiceProvider(new FileImageOutputStreamSpi());
    registerServiceProvider(new InputStreamImageInputStreamSpi());
    registerServiceProvider(new OutputStreamImageOutputStreamSpi());
    registerServiceProvider(new RAFImageInputStreamSpi());
    registerServiceProvider(new RAFImageOutputStreamSpi());

    registerInstalledProviders();
}
 
Example #7
Source File: IIORegistry.java    From hottub with GNU General Public License v2.0 6 votes vote down vote up
private void registerStandardSpis() {
    // Hardwire standard SPIs
    registerServiceProvider(new GIFImageReaderSpi());
    registerServiceProvider(new GIFImageWriterSpi());
    registerServiceProvider(new BMPImageReaderSpi());
    registerServiceProvider(new BMPImageWriterSpi());
    registerServiceProvider(new WBMPImageReaderSpi());
    registerServiceProvider(new WBMPImageWriterSpi());
    registerServiceProvider(new PNGImageReaderSpi());
    registerServiceProvider(new PNGImageWriterSpi());
    registerServiceProvider(new JPEGImageReaderSpi());
    registerServiceProvider(new JPEGImageWriterSpi());
    registerServiceProvider(new FileImageInputStreamSpi());
    registerServiceProvider(new FileImageOutputStreamSpi());
    registerServiceProvider(new InputStreamImageInputStreamSpi());
    registerServiceProvider(new OutputStreamImageOutputStreamSpi());
    registerServiceProvider(new RAFImageInputStreamSpi());
    registerServiceProvider(new RAFImageOutputStreamSpi());

    registerInstalledProviders();
}
 
Example #8
Source File: IIORegistry.java    From Java8CN with Apache License 2.0 6 votes vote down vote up
private void registerStandardSpis() {
    // Hardwire standard SPIs
    registerServiceProvider(new GIFImageReaderSpi());
    registerServiceProvider(new GIFImageWriterSpi());
    registerServiceProvider(new BMPImageReaderSpi());
    registerServiceProvider(new BMPImageWriterSpi());
    registerServiceProvider(new WBMPImageReaderSpi());
    registerServiceProvider(new WBMPImageWriterSpi());
    registerServiceProvider(new PNGImageReaderSpi());
    registerServiceProvider(new PNGImageWriterSpi());
    registerServiceProvider(new JPEGImageReaderSpi());
    registerServiceProvider(new JPEGImageWriterSpi());
    registerServiceProvider(new FileImageInputStreamSpi());
    registerServiceProvider(new FileImageOutputStreamSpi());
    registerServiceProvider(new InputStreamImageInputStreamSpi());
    registerServiceProvider(new OutputStreamImageOutputStreamSpi());
    registerServiceProvider(new RAFImageInputStreamSpi());
    registerServiceProvider(new RAFImageOutputStreamSpi());

    registerInstalledProviders();
}
 
Example #9
Source File: IIORegistry.java    From jdk8u-jdk with GNU General Public License v2.0 6 votes vote down vote up
private void registerStandardSpis() {
    // Hardwire standard SPIs
    registerServiceProvider(new GIFImageReaderSpi());
    registerServiceProvider(new GIFImageWriterSpi());
    registerServiceProvider(new BMPImageReaderSpi());
    registerServiceProvider(new BMPImageWriterSpi());
    registerServiceProvider(new WBMPImageReaderSpi());
    registerServiceProvider(new WBMPImageWriterSpi());
    registerServiceProvider(new PNGImageReaderSpi());
    registerServiceProvider(new PNGImageWriterSpi());
    registerServiceProvider(new JPEGImageReaderSpi());
    registerServiceProvider(new JPEGImageWriterSpi());
    registerServiceProvider(new FileImageInputStreamSpi());
    registerServiceProvider(new FileImageOutputStreamSpi());
    registerServiceProvider(new InputStreamImageInputStreamSpi());
    registerServiceProvider(new OutputStreamImageOutputStreamSpi());
    registerServiceProvider(new RAFImageInputStreamSpi());
    registerServiceProvider(new RAFImageOutputStreamSpi());

    registerInstalledProviders();
}
 
Example #10
Source File: IIORegistry.java    From jdk1.8-source-analysis with Apache License 2.0 6 votes vote down vote up
private void registerStandardSpis() {
    // Hardwire standard SPIs
    registerServiceProvider(new GIFImageReaderSpi());
    registerServiceProvider(new GIFImageWriterSpi());
    registerServiceProvider(new BMPImageReaderSpi());
    registerServiceProvider(new BMPImageWriterSpi());
    registerServiceProvider(new WBMPImageReaderSpi());
    registerServiceProvider(new WBMPImageWriterSpi());
    registerServiceProvider(new PNGImageReaderSpi());
    registerServiceProvider(new PNGImageWriterSpi());
    registerServiceProvider(new JPEGImageReaderSpi());
    registerServiceProvider(new JPEGImageWriterSpi());
    registerServiceProvider(new FileImageInputStreamSpi());
    registerServiceProvider(new FileImageOutputStreamSpi());
    registerServiceProvider(new InputStreamImageInputStreamSpi());
    registerServiceProvider(new OutputStreamImageOutputStreamSpi());
    registerServiceProvider(new RAFImageInputStreamSpi());
    registerServiceProvider(new RAFImageOutputStreamSpi());

    registerInstalledProviders();
}
 
Example #11
Source File: IIORegistry.java    From Bytecoder with Apache License 2.0 6 votes vote down vote up
private void registerStandardSpis() {
    // Hardwire standard SPIs
    registerServiceProvider(new GIFImageReaderSpi());
    registerServiceProvider(new GIFImageWriterSpi());
    registerServiceProvider(new BMPImageReaderSpi());
    registerServiceProvider(new BMPImageWriterSpi());
    registerServiceProvider(new WBMPImageReaderSpi());
    registerServiceProvider(new WBMPImageWriterSpi());
    registerServiceProvider(new TIFFImageReaderSpi());
    registerServiceProvider(new TIFFImageWriterSpi());
    registerServiceProvider(new PNGImageReaderSpi());
    registerServiceProvider(new PNGImageWriterSpi());
    registerServiceProvider(new JPEGImageReaderSpi());
    registerServiceProvider(new JPEGImageWriterSpi());
    registerServiceProvider(new FileImageInputStreamSpi());
    registerServiceProvider(new FileImageOutputStreamSpi());
    registerServiceProvider(new InputStreamImageInputStreamSpi());
    registerServiceProvider(new OutputStreamImageOutputStreamSpi());
    registerServiceProvider(new RAFImageInputStreamSpi());
    registerServiceProvider(new RAFImageOutputStreamSpi());

    registerInstalledProviders();
}
 
Example #12
Source File: IIORegistry.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 6 votes vote down vote up
private void registerStandardSpis() {
    // Hardwire standard SPIs
    registerServiceProvider(new GIFImageReaderSpi());
    registerServiceProvider(new GIFImageWriterSpi());
    registerServiceProvider(new BMPImageReaderSpi());
    registerServiceProvider(new BMPImageWriterSpi());
    registerServiceProvider(new WBMPImageReaderSpi());
    registerServiceProvider(new WBMPImageWriterSpi());
    registerServiceProvider(new PNGImageReaderSpi());
    registerServiceProvider(new PNGImageWriterSpi());
    registerServiceProvider(new JPEGImageReaderSpi());
    registerServiceProvider(new JPEGImageWriterSpi());
    registerServiceProvider(new FileImageInputStreamSpi());
    registerServiceProvider(new FileImageOutputStreamSpi());
    registerServiceProvider(new InputStreamImageInputStreamSpi());
    registerServiceProvider(new OutputStreamImageOutputStreamSpi());
    registerServiceProvider(new RAFImageInputStreamSpi());
    registerServiceProvider(new RAFImageOutputStreamSpi());

    registerInstalledProviders();
}
 
Example #13
Source File: IIORegistry.java    From openjdk-jdk8u with GNU General Public License v2.0 6 votes vote down vote up
private void registerStandardSpis() {
    // Hardwire standard SPIs
    registerServiceProvider(new GIFImageReaderSpi());
    registerServiceProvider(new GIFImageWriterSpi());
    registerServiceProvider(new BMPImageReaderSpi());
    registerServiceProvider(new BMPImageWriterSpi());
    registerServiceProvider(new WBMPImageReaderSpi());
    registerServiceProvider(new WBMPImageWriterSpi());
    registerServiceProvider(new PNGImageReaderSpi());
    registerServiceProvider(new PNGImageWriterSpi());
    registerServiceProvider(new JPEGImageReaderSpi());
    registerServiceProvider(new JPEGImageWriterSpi());
    registerServiceProvider(new FileImageInputStreamSpi());
    registerServiceProvider(new FileImageOutputStreamSpi());
    registerServiceProvider(new InputStreamImageInputStreamSpi());
    registerServiceProvider(new OutputStreamImageOutputStreamSpi());
    registerServiceProvider(new RAFImageInputStreamSpi());
    registerServiceProvider(new RAFImageOutputStreamSpi());

    registerInstalledProviders();
}
 
Example #14
Source File: IIORegistry.java    From JDKSourceCode1.8 with MIT License 6 votes vote down vote up
private void registerStandardSpis() {
    // Hardwire standard SPIs
    registerServiceProvider(new GIFImageReaderSpi());
    registerServiceProvider(new GIFImageWriterSpi());
    registerServiceProvider(new BMPImageReaderSpi());
    registerServiceProvider(new BMPImageWriterSpi());
    registerServiceProvider(new WBMPImageReaderSpi());
    registerServiceProvider(new WBMPImageWriterSpi());
    registerServiceProvider(new PNGImageReaderSpi());
    registerServiceProvider(new PNGImageWriterSpi());
    registerServiceProvider(new JPEGImageReaderSpi());
    registerServiceProvider(new JPEGImageWriterSpi());
    registerServiceProvider(new FileImageInputStreamSpi());
    registerServiceProvider(new FileImageOutputStreamSpi());
    registerServiceProvider(new InputStreamImageInputStreamSpi());
    registerServiceProvider(new OutputStreamImageOutputStreamSpi());
    registerServiceProvider(new RAFImageInputStreamSpi());
    registerServiceProvider(new RAFImageOutputStreamSpi());

    registerInstalledProviders();
}
 
Example #15
Source File: IIORegistry.java    From jdk8u60 with GNU General Public License v2.0 6 votes vote down vote up
private void registerStandardSpis() {
    // Hardwire standard SPIs
    registerServiceProvider(new GIFImageReaderSpi());
    registerServiceProvider(new GIFImageWriterSpi());
    registerServiceProvider(new BMPImageReaderSpi());
    registerServiceProvider(new BMPImageWriterSpi());
    registerServiceProvider(new WBMPImageReaderSpi());
    registerServiceProvider(new WBMPImageWriterSpi());
    registerServiceProvider(new PNGImageReaderSpi());
    registerServiceProvider(new PNGImageWriterSpi());
    registerServiceProvider(new JPEGImageReaderSpi());
    registerServiceProvider(new JPEGImageWriterSpi());
    registerServiceProvider(new FileImageInputStreamSpi());
    registerServiceProvider(new FileImageOutputStreamSpi());
    registerServiceProvider(new InputStreamImageInputStreamSpi());
    registerServiceProvider(new OutputStreamImageOutputStreamSpi());
    registerServiceProvider(new RAFImageInputStreamSpi());
    registerServiceProvider(new RAFImageOutputStreamSpi());

    registerInstalledProviders();
}
 
Example #16
Source File: IIORegistry.java    From TencentKona-8 with GNU General Public License v2.0 6 votes vote down vote up
private void registerStandardSpis() {
    // Hardwire standard SPIs
    registerServiceProvider(new GIFImageReaderSpi());
    registerServiceProvider(new GIFImageWriterSpi());
    registerServiceProvider(new BMPImageReaderSpi());
    registerServiceProvider(new BMPImageWriterSpi());
    registerServiceProvider(new WBMPImageReaderSpi());
    registerServiceProvider(new WBMPImageWriterSpi());
    registerServiceProvider(new PNGImageReaderSpi());
    registerServiceProvider(new PNGImageWriterSpi());
    registerServiceProvider(new JPEGImageReaderSpi());
    registerServiceProvider(new JPEGImageWriterSpi());
    registerServiceProvider(new FileImageInputStreamSpi());
    registerServiceProvider(new FileImageOutputStreamSpi());
    registerServiceProvider(new InputStreamImageInputStreamSpi());
    registerServiceProvider(new OutputStreamImageOutputStreamSpi());
    registerServiceProvider(new RAFImageInputStreamSpi());
    registerServiceProvider(new RAFImageOutputStreamSpi());

    registerInstalledProviders();
}
 
Example #17
Source File: IIORegistry.java    From dragonwell8_jdk with GNU General Public License v2.0 6 votes vote down vote up
private void registerStandardSpis() {
    // Hardwire standard SPIs
    registerServiceProvider(new GIFImageReaderSpi());
    registerServiceProvider(new GIFImageWriterSpi());
    registerServiceProvider(new BMPImageReaderSpi());
    registerServiceProvider(new BMPImageWriterSpi());
    registerServiceProvider(new WBMPImageReaderSpi());
    registerServiceProvider(new WBMPImageWriterSpi());
    registerServiceProvider(new PNGImageReaderSpi());
    registerServiceProvider(new PNGImageWriterSpi());
    registerServiceProvider(new JPEGImageReaderSpi());
    registerServiceProvider(new JPEGImageWriterSpi());
    registerServiceProvider(new FileImageInputStreamSpi());
    registerServiceProvider(new FileImageOutputStreamSpi());
    registerServiceProvider(new InputStreamImageInputStreamSpi());
    registerServiceProvider(new OutputStreamImageOutputStreamSpi());
    registerServiceProvider(new RAFImageInputStreamSpi());
    registerServiceProvider(new RAFImageOutputStreamSpi());

    registerInstalledProviders();
}