public boolean isPhotoshopApp13Segment() {
            if (marker != JpegConstants.JPEG_APP13_MARKER) {
                return false;
            }
            if (!new IptcParser().isPhotoshopJpegSegment(segmentData)) {
                return false;
            }
            return true;
        }
Interface for Exif write/update/remove functionality for Jpeg/JFIF images.
src/main/java/org/apache/commons/imaging/formats/jpeg/xmp/JpegRewriter.java