Examples of Exists()


Examples of kdu_jni.Jp2_source.Exists()

      inputSource.Read_header();
      kduIn = inputSource;
      Kdu_codestream codestream = new Kdu_codestream();
      codestream.Create(kduIn);
      Kdu_channel_mapping channels = new Kdu_channel_mapping();
      if (inputSource.Exists())
        channels.Configure(inputSource, false);
      else
        channels.Configure(codestream);
      int ref_component = channels.Get_source_component(0);
      int minLevels = codestream.Get_min_dwt_levels();
View Full Code Here

Examples of kdu_jni.Jp2_source.Exists()

            Kdu_codestream codestream = new Kdu_codestream();
            codestream.Create(input);
            Kdu_channel_mapping channels = new Kdu_channel_mapping();

      if (inputSource.Exists())
                channels.Configure(inputSource, false);
      else
                channels.Configure(codestream);
            int ref_component = channels.Get_source_component(0);
            Kdu_coords ref_expansion = getReferenceExpansion(ref_component, channels, codestream);
View Full Code Here

Examples of kdu_jni.Jp2_source.Exists()

            inputSource.Read_header();
            kduIn = inputSource;
            Kdu_codestream codestream = new Kdu_codestream();
            codestream.Create(kduIn);
            Kdu_channel_mapping channels = new Kdu_channel_mapping();
            if (inputSource.Exists()) {
                channels.Configure(inputSource, false);
            } else {
                channels.Configure(codestream);
            }
            int ref_component = channels.Get_source_component(0);
View Full Code Here

Examples of kdu_jni.Jp2_source.Exists()

            Kdu_codestream codestream = new Kdu_codestream();
            codestream.Create(input);
            Kdu_channel_mapping channels = new Kdu_channel_mapping();

            if (inputSource.Exists()) {
                channels.Configure(inputSource, false);
            } else {
                channels.Configure(codestream);
            }
            int ref_component = channels.Get_source_component(0);
View Full Code Here

Examples of kdu_jni.Kdu_codestream.Exists()

      r.setWidth(imageSize.Get_x());
      r.setHeight(imageSize.Get_y());
      r.setDWTLevels(minLevels);

      channels.Native_destroy();
      if (codestream.Exists())
        codestream.Destroy();
      kduIn.Native_destroy();
      inputSource.Native_destroy();
      jp2_family_in.Native_destroy();
    } catch (KduException e) {
View Full Code Here

Examples of kdu_jni.Kdu_codestream.Exists()

                image = ImageProcessingUtils.rotate(image, params.getRotationDegree());
            }

            decompressor.Native_destroy();
            channels.Native_destroy();
      if (codestream.Exists())
                codestream.Destroy();
            inputSource.Native_destroy();
            input.Native_destroy();
            jp2_family_in.Native_destroy();
View Full Code Here

Examples of kdu_jni.Kdu_codestream.Exists()

                p.Get(Kdu_global.Clayers, 0, 0, v, true, true, true);
          if (v[0] > 0)
                    r.setQualityLayers(v[0]);
            }

      if (codestream.Exists())
                codestream.Destroy();
            inputSource.Native_destroy();
            jp2_family_in.Native_destroy();
        } catch (KduException e) {
            logger.error(e, e);
View Full Code Here

Examples of kdu_jni.Kdu_codestream.Exists()

            r.setWidth(imageSize.Get_x());
            r.setHeight(imageSize.Get_y());
            r.setDWTLevels(minLevels);

            channels.Native_destroy();
            if (codestream.Exists()) {
                codestream.Destroy();
            }
            kduIn.Native_destroy();
            inputSource.Native_destroy();
            jp2_family_in.Native_destroy();
View Full Code Here

Examples of kdu_jni.Kdu_codestream.Exists()

                if (v[0] > 0) {
                    r.setQualityLayers(v[0]);
                }
            }

            if (codestream.Exists()) {
                codestream.Destroy();
            }

            inputSource.Native_destroy();
            jp2_family_in.Native_destroy();
View Full Code Here

Examples of kdu_jni.Kdu_codestream.Exists()

                image = ImageProcessingUtils.rotate(image, params.getRotationDegree());
            }

            decompressor.Native_destroy();
            channels.Native_destroy();
            if (codestream.Exists()) {
                codestream.Destroy();
            }
            inputSource.Native_destroy();
            input.Native_destroy();
            jp2_family_in.Native_destroy();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.