Examples of ByteSourceArray


Examples of org.apache.sanselan.common.byteSources.ByteSourceArray

     *            Map of optional parameters, defined in SanselanConstants.
     * @return Xmp Xml as String, if present. Otherwise, returns null.
     */
    public static String getXmpXml(byte bytes[], Map params)
            throws ImageReadException, IOException {
        return getXmpXml(new ByteSourceArray(bytes), params);
    }
View Full Code Here

Examples of org.apache.sanselan.common.byteSources.ByteSourceArray

     * @return An instance of IImageMetadata.
     * @see IImageMetadata
     */
    public static IImageMetadata getMetadata(byte bytes[], Map params)
            throws ImageReadException, IOException {
        return getMetadata(new ByteSourceArray(bytes), params);
    }
View Full Code Here

Examples of org.apache.sanselan.common.byteSources.ByteSourceArray

     *            Byte array containing an image file.
     * @return A description of the image file's structure.
     */
    public static String dumpImageFile(byte bytes[]) throws ImageReadException,
            IOException {
        return dumpImageFile(new ByteSourceArray(bytes));
    }
View Full Code Here

Examples of org.apache.sanselan.common.byteSources.ByteSourceArray

        return imageParser.dumpImageFile(byteSource);
    }

    public static FormatCompliance getFormatCompliance(byte bytes[])
            throws ImageReadException, IOException {
        return getFormatCompliance(new ByteSourceArray(bytes));
    }
View Full Code Here

Examples of org.apache.sanselan.common.byteSources.ByteSourceArray

     *            Byte array containing an image file.
     * @return A vector of BufferedImages.
     */
    public static ArrayList getAllBufferedImages(byte bytes[])
            throws ImageReadException, IOException {
        return getAllBufferedImages(new ByteSourceArray(bytes));
    }
View Full Code Here

Examples of org.apache.sanselan.common.byteSources.ByteSourceArray

     * @return A BufferedImage.
     * @see SanselanConstants
     */
    public static BufferedImage getBufferedImage(byte bytes[])
            throws ImageReadException, IOException {
        return getBufferedImage(new ByteSourceArray(bytes), null);
    }
View Full Code Here

Examples of org.apache.sanselan.common.byteSources.ByteSourceArray

     * @return A BufferedImage.
     * @see SanselanConstants
     */
    public static BufferedImage getBufferedImage(byte bytes[], Map params)
            throws ImageReadException, IOException {
        return getBufferedImage(new ByteSourceArray(bytes), params);
    }
View Full Code Here

Examples of org.apache.sanselan.common.byteSources.ByteSourceArray

    public IccProfileInfo getICCProfileInfo(ICC_Profile icc_profile)
    {
        if (icc_profile == null)
            return null;

        return getICCProfileInfo(new ByteSourceArray(icc_profile.getData()));
    }
View Full Code Here

Examples of org.apache.sanselan.common.byteSources.ByteSourceArray

    public IccProfileInfo getICCProfileInfo(byte bytes[])
    {
        if (bytes == null)
            return null;

        return getICCProfileInfo(new ByteSourceArray(bytes));
    }
View Full Code Here

Examples of org.apache.sanselan.common.byteSources.ByteSourceArray

    public Boolean issRGB(ICC_Profile icc_profile)
    {
        if (icc_profile == null)
            return null;

        return issRGB(new ByteSourceArray(icc_profile.getData()));
    }
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.