how to make matrix-transform by jmagick

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
smileface

how to make matrix-transform by jmagick

Post 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....
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: how to make matrix-transform by jmagick

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

Who is online

Users browsing this forum: Amazon [Bot], Bing [Bot], Google [Bot], Semrush [Bot] and 7 guests