Package org.apache.sanselan.formats.jpeg.iptc

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


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

        if (marker == 0xffd9)
          return false;

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

    // }
  }

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

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

                if (marker == 0xffd9)
                    return false;

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

                if (marker == 0xffd9)
                    return false;

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

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

        // }
    }

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

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

Related Classes of org.apache.sanselan.formats.jpeg.iptc.IPTCParser

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.