Examples of IptcParser


Examples of org.apache.commons.imaging.formats.jpeg.iptc.IptcParser

                if (marker == 0xffd9) {
                    return false;
                }

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

Examples of org.apache.commons.imaging.formats.jpeg.iptc.IptcParser

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

Examples of org.apache.commons.imaging.formats.jpeg.iptc.IptcParser

        // verbose, strict));
        // }
    }

    public boolean isPhotoshopJpegSegment() {
        return new IptcParser().isPhotoshopJpegSegment(getSegmentData());
    }
View Full Code Here

Examples of org.apache.commons.imaging.formats.jpeg.iptc.IptcParser

         */
        if (!isPhotoshopJpegSegment()) {
            return null;
        }

        return new IptcParser().parsePhotoshopSegment(getSegmentData(), params);
    }
View Full Code Here

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

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

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
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.