Package org.apache.sanselan.common.byteSources

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


     *            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

        return imageParser.dumpImageFile(byteSource);
    }

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

     *            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

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

     * @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

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

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

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

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

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

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

    public Boolean issRGB(byte bytes[])
    {
        if (bytes == null)
            return null;

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

TOP

Related Classes of org.apache.sanselan.common.byteSources.ByteSourceArray

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.