Examples of ICC_Profile


Examples of java.awt.color.ICC_Profile

    private final ICC_ColorSpace awtColorSpace;

    protected PDDeviceCMYK() throws IOException
    {
        // loads the ICC color profile for CMYK
        ICC_Profile iccProfile = getICCProfile();
        if (iccProfile == null)
        {
            throw new IOException("Default CMYK color profile could not be loaded");
        }
        awtColorSpace = new ICC_ColorSpace(iccProfile);
View Full Code Here

Examples of java.awt.color.ICC_Profile

        {
            throw new IOException("Error loading resource: " + name);
        }

        InputStream input = url.openStream();
        ICC_Profile iccProfile = ICC_Profile.getInstance(input);
        input.close();

        return iccProfile;
    }
View Full Code Here

Examples of java.awt.color.ICC_Profile

            for (int k = 0; k < icc.length; ++k) {
                System.arraycopy(icc[k], 14, ficc, total, icc[k].length - 14);
                total += icc[k].length - 14;
            }
            try {
              ICC_Profile icc_prof = ICC_Profile.getInstance(ficc);
              tagICC(icc_prof);
            }
            catch(IllegalArgumentException e) {
              // ignore ICC profile if it's invalid.
            }
View Full Code Here

Examples of java.awt.color.ICC_Profile

    *
    * @throws IOException
    */
   public void setOutputIntents(String outputConditionIdentifier, String outputCondition, String registryName, String info, byte destOutputProfile[]) throws IOException
   {
      ICC_Profile colorProfile = (destOutputProfile == null) ? null : ICC_Profile.getInstance(destOutputProfile);
      setOutputIntents(outputConditionIdentifier, outputCondition, registryName, info, colorProfile);
   }
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.