Examples of IPTCParser


Examples of org.apache.sanselan.formats.jpeg.iptc.IPTCParser

                if (marker == 0xffd9)
                    return false;

                if (marker == JPEG_APP13_Marker)
                {
                    if (new IPTCParser().isPhotoshopJpegSegment(segmentData))
                    {
                        result[0] = true;
                        return false;
                    }
                }
View Full Code Here

Examples of org.apache.sanselan.formats.jpeg.iptc.IPTCParser

        public boolean isPhotoshopApp13Segment()
        {
            if (marker != JPEG_APP13_Marker)
                return false;
            if (!new IPTCParser().isPhotoshopJpegSegment(segmentData))
                return false;
            return true;
        }
View Full Code Here

Examples of org.apache.sanselan.formats.jpeg.iptc.IPTCParser

        // }
    }

    public boolean isPhotoshopJpegSegment() throws ImageReadException, IOException
    {
        return new IPTCParser().isPhotoshopJpegSegment(bytes);
    }
View Full Code Here

Examples of org.apache.sanselan.formats.jpeg.iptc.IPTCParser

        /*
         * In practice, App13 segments are only used for Photoshop/IPTC
         * metadata. However, we should not treat App13 signatures without
         * Photoshop's signature as Photoshop/IPTC segments.
         */
        if (!new IPTCParser().isPhotoshopJpegSegment(bytes))
            return null;

        return new IPTCParser().parsePhotoshopSegment(bytes, params);
    }
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.