Package org.apache.sanselan.icc

Examples of org.apache.sanselan.icc.IccProfileParser


            scanExpediter.drive();

            if (icc_profile != null)
            {
                Boolean is_srgb = new IccProfileParser().issRGB(icc_profile);
                if (is_srgb == null || !is_srgb.booleanValue())
                {
                    ICC_ColorSpace cs = new ICC_ColorSpace(icc_profile);

                    ColorModel srgbCM = ColorModel.getRGBdefault();
View Full Code Here


        ICC_ColorSpace fICC_ColorSpace = (ICC_ColorSpace) cs;
        ICC_Profile fICC_Profile = fICC_ColorSpace.getProfile();

        byte bytes[] = fICC_Profile.getData();

        IccProfileParser parser = new IccProfileParser();

        IccProfileInfo info = parser.getICCProfileInfo(bytes);
        info.dump(prefix);
    }
View Full Code Here

            throws ImageReadException, IOException {
        byte bytes[] = getICCProfileBytes(byteSource, params);
        if (bytes == null)
            return null;

        IccProfileParser parser = new IccProfileParser();
        IccProfileInfo info = parser.getICCProfileInfo(bytes);
        if (info == null)
            return null;
        if (info.issRGB())
            return null;
View Full Code Here

      throws ImageReadException, IOException {
    byte bytes[] = getICCProfileBytes(byteSource, params);
    if (bytes == null)
      return null;

    IccProfileParser parser = new IccProfileParser();
    IccProfileInfo info = parser.getICCProfileInfo(bytes);
    if (info.issRGB())
      return null;

    ICC_Profile icc = ICC_Profile.getInstance(bytes);
    return icc;
View Full Code Here

      scanExpediter.drive();

      if (icc_profile != null)
      {
        Boolean is_srgb = new IccProfileParser().issRGB(icc_profile);
        if (is_srgb == null || !is_srgb.booleanValue())
        {
          ICC_ColorSpace cs = new ICC_ColorSpace(icc_profile);

          ColorModel srgbCM = ColorModel.getRGBdefault();
View Full Code Here

    ICC_ColorSpace fICC_ColorSpace = (ICC_ColorSpace) cs;
    ICC_Profile fICC_Profile = fICC_ColorSpace.getProfile();

    byte bytes[] = fICC_Profile.getData();

    IccProfileParser parser = new IccProfileParser();

    IccProfileInfo info = parser.getICCProfileInfo(bytes);
    info.dump(prefix);
  }
View Full Code Here

      scanExpediter.drive();

      if (icc_profile != null)
      {
        Boolean is_srgb = new IccProfileParser().issRGB(icc_profile);
        if (is_srgb == null || !is_srgb.booleanValue())
        {
          ICC_ColorSpace cs = new ICC_ColorSpace(icc_profile);

          ColorModel srgbCM = ColorModel.getRGBdefault();
View Full Code Here

      throws ImageReadException, IOException {
    byte bytes[] = getICCProfileBytes(byteSource, params);
    if (bytes == null)
      return null;

    IccProfileParser parser = new IccProfileParser();
    IccProfileInfo info = parser.getICCProfileInfo(bytes);
    if (info.issRGB())
      return null;

    ICC_Profile icc = ICC_Profile.getInstance(bytes);
    return icc;
View Full Code Here

            throws ImageReadException, IOException {
        byte bytes[] = getICCProfileBytes(byteSource, params);
        if (bytes == null)
            return null;

        IccProfileParser parser = new IccProfileParser();
        IccProfileInfo info = parser.getICCProfileInfo(bytes);
        if (info == null)
            return null;
        if (info.issRGB())
            return null;
View Full Code Here

        ICC_ColorSpace fICC_ColorSpace = (ICC_ColorSpace) cs;
        ICC_Profile fICC_Profile = fICC_ColorSpace.getProfile();

        byte bytes[] = fICC_Profile.getData();

        IccProfileParser parser = new IccProfileParser();

        IccProfileInfo info = parser.getICCProfileInfo(bytes);
        info.dump(prefix);
    }
View Full Code Here

TOP

Related Classes of org.apache.sanselan.icc.IccProfileParser

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.