views:

316

answers:

2

I am aware that Java includes very advanced image processing API's but what I'm looking for is a pure Java API (uses Java2D) that is "phrased" in terms more appropriate to common tasks of web image processing i.e. I want to write:

image.scale(0.2)

instead of

AffineTransform t = new AffineTransform(...)
t.resize(...)
t.translate(...)
AffineTransformOp = new AffineTransformOp(...)
etc. etc.

Think ImageMagick or GD.

+2  A: 

You could write your own wrapper classes around Java's ImageIO libraries that gives you the method signatures you need.

purecharger
Yes, I could do this. The question is, is this the best (only?) option.
Ramon
A: 

There is no java native equivalent for the full functionality of ImageMagick that I know of. However there are two java bindings for ImageMagic: JMagick and IM4Java.

Jherico