Package java.awt.image.renderable

Examples of java.awt.image.renderable.RenderedImageFactory


     * 由于LancsosOpImage暂时不用,该方法也暂时不用
     */
    @SuppressWarnings("unused")
    private synchronized static void registerLanczosOperator() {
        LanczosDescriptor lanczosDescriptor = new LanczosDescriptor();
        RenderedImageFactory rif = new LanczosCRIF();
       
        registerRIFOperator(lanczosDescriptor, rif, "Lanczos", "com.alibaba.platform", "rendered");
    }
View Full Code Here


            }
        }

        // Try to create a JAI operation with the given name
        for (int i = 0; i < names.length; i++) {
            RenderedImageFactory rif = null;
            try {
                rif = RIFRegistry.get(registry, names[i]);
            } catch(IllegalArgumentException iae) {
                // ignore IAE.
            }
View Full Code Here

            }
        }

        // Try to create a JAI operation with the given name
        for (int i = 0; i < names.length; i++) {
            RenderedImageFactory rif = null;
            try {
                rif = RIFRegistry.get(registry, names[i]);
            } catch(IllegalArgumentException iae) {
                // ignore IAE.
            }
View Full Code Here

/*     */       }
/*     */
/*     */     }
/*     */
/* 102 */     for (int i = 0; i < names.length; i++) {
/* 103 */       RenderedImageFactory rif = null;
/*     */       try {
/* 105 */         rif = RIFRegistry.get(registry, names[i]);
/*     */       }
/*     */       catch (IllegalArgumentException iae) {
/*     */       }
View Full Code Here

    public void updateRegistry(OperationRegistry registry) {
        OperationDescriptor op = new GTCropDescriptor();
        registry.registerDescriptor(op);
        String descName = op.getName();

        RenderedImageFactory rif = new GTCropCRIF();

        registry.registerFactory(RenderedRegistryMode.MODE_NAME, descName, productName, rif);
    }
View Full Code Here

     */
    public void updateRegistry(OperationRegistry registry) {
        final OperationDescriptor op = new ArtifactsFilterDescriptor();
        registry.registerDescriptor(op);
        final String descName = op.getName();
        final RenderedImageFactory rif = new ArtifactsFilterRIF();
        registry.registerFactory(RenderedRegistryMode.MODE_NAME, descName,  productName, rif);

    }
View Full Code Here

    OperationRegistry registry = JAI.getDefaultInstance().getOperationRegistry();
    try {
      final OperationDescriptor op = new ArtifactsFilterDescriptor();
      registry.registerDescriptor(op);
      final String descName = op.getName();
      final RenderedImageFactory rif = new ArtifactsFilterRIF();
      registry.registerFactory(RenderedRegistryMode.MODE_NAME, descName, "org.geotools.gce.imagemosaic.processing", rif);
    } catch (Exception e) {
     
    }
  }
View Full Code Here

        // TODO: Check if we can remove SuppressWarnings with a future JAI version.
        @SuppressWarnings("unchecked")
        final List<RenderedImageFactory> factories = registry.getOrderedFactoryList(
                RenderedRegistryMode.MODE_NAME, operation, product);
        if (factories != null) {
            RenderedImageFactory   javaFactory = null;
            RenderedImageFactory nativeFactory = null;
            Boolean               currentState = null;
            for (final RenderedImageFactory factory : factories) {
                final String pack = factory.getClass().getPackage().getName();
                if (pack.equals("com.sun.media.jai.mlib")) {
                    nativeFactory = factory;
View Full Code Here

TOP

Related Classes of java.awt.image.renderable.RenderedImageFactory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.