title: Java Graphics library
body: <p>I'm looking for a high-level java graphic library for creating artistic text, watermarks, resize, crop, image identification and manipulation.
  ImageMagic is a good example of such library, but its java ports are somewhat problematic (they either run imagemagic through JNI or via commandline and are hellish to deploy to servers).
  Ideally I'd like to have similar functionality to ImageMagic, but pure Java and open-source, free to use.
  Has anyone seen something like that?</p>
  
  <p>This is for a server-side component. A service that manipulates images of various web formats (png, jpg, gif etc).</p>
  
  <p>Java has its own libraries, of course (Graphics2D) but I'm looking for something of higher level.</p>
  
  <p>Here are several use cases:</p>
  
  <ul>
  <li>Resize and crop images. If it has "smart resize" or "smart crop" that'll be cool, for example  seam carving resize, or cropping by points of interest in the photo</li>
  <li>Drawing artistic text on images. Using fonts, colors, text effects (3d text, charcoal and other effects)</li>
  <li>Embedding watermarks.</li>
  <li>Layering images, using images as background, masking with images etc.</li>
  <li>Image identification such as - number of colors, stdev etc.</li>
  </ul>
  
  <p>As mentioned, Java in its Graphics2D supports all of the above but is too low level so I'm looking for something that's nicer to work with.</p>
  
  <p>Thanks! </p>