Can't get Distort to do interpolation
Posted: 2009-05-28T13:23:03-07:00
When i do this:
i actually expect IM to interpolate the source pixels and calculate the target pixels.
But I can't get it running. I always get raw source pixels duplicated.
What i tried:
Any ideas, somebody?
Cheers,
Searle
Code: Select all
$image->Distort("method" => "Perspective",
"points" => [ 0, 0 => 0.5, 0.5 ... ]
);
But I can't get it running. I always get raw source pixels duplicated.
What i tried:
- Patching IM for Distort to accept the arguments "interpolate", "filter" and "blur" and setting them. Didn't work.
- Trying to do $image->Set("option", "distort:scale=3") which I found browsing the source code. Didn't work either.
Any ideas, somebody?
Cheers,
Searle