Package kdu_jni

Examples of kdu_jni.Jpx_source.Native_destroy()


                image = new BufferedImage(imageSize.Get_x(), imageSize.Get_y(), BufferedImage.TYPE_INT_RGB);
            image.setRGB(0, 0, viewSize.Get_x(), viewSize.Get_y(), imgBuffer, 0, viewSize.Get_x());

      if (compositor != null)
                compositor.Native_destroy();
            wrapped_src.Native_destroy();
            family_src.Native_destroy();
      if (raw_src != null)
                raw_src.Native_destroy();

            return image;
View Full Code Here


                    r.setQualityLayers(v[0]);
            }

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

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

            inputSource.Native_destroy();
            jp2_family_in.Native_destroy();
        } catch (KduException e) {
            LOGGER.error(e.getMessage(), e);
            throw new DjatokaException(e.getMessage(), e);
        }
View Full Code Here

            image.setRGB(0, 0, viewSize.Get_x(), viewSize.Get_y(), imgBuffer, 0, viewSize.Get_x());

            if (compositor != null) {
                compositor.Native_destroy();
            }
            wrapped_src.Native_destroy();
            family_src.Native_destroy();
            if (raw_src != null) {
                raw_src.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.