Page 1 of 1

how to make matrix-transform by jmagick

Posted: 2009-07-28T21:25:14-07:00
by smileface
last year i test function MagickDistortImage and magick told me i found a bug,and since imagemagick 6.4.7,this version,this function MagickDistortImage can do matrix-transform very well.
For some reseaon I can't use c/c++ but java,so i download jmagick and compile and install but jmagick donot give me the interface that make matrix by six matrix parameters(a,b,c,d,tx,ty) like function MagickDistortImage.and it only give some function below:

Code: Select all

public MagickImage scaleImage(int cols, int rows);

public MagickImage rotateImage(double degrees)

public MagickImage shearImage(double x_shear, double y_shear)
my question is if I have a matrix,how to use those functions that jmagick provider to make a matrix-transform image.
thanks very much:) help....

Re: how to make matrix-transform by jmagick

Posted: 2009-07-29T08:41:05-07:00
by magick
Looks like you'll need to either add support for image distortion to JMagick yourself or ask the JMagick maintainers to add support.