Welcome Guest, Not a member yet? Register   Sign In
Crop using width and height (?)
#1

[eluser]Leo78[/eluser]
Hey,

I’m using image manipulation class to perform crop (by simply $this->image_lib->crop()).

My target is to take a little image from the big image - from the center of the big image.

So I can define a point (x,y), by x_axis and y_axis, but cannot define width and height - or another point, doesn’t matter. Instead of this, it continues until the edge of the image.

What can I do?

Thank you very much! I’ve already tried to using resize() but doesn’t work (and I ‘guess’ it’s not the target of resize()).
#2

[eluser]Aken[/eluser]
You can definitely assign a width and height when performing a crop.

I see that the user guide does say you cannot use them. That's all sorts of wrong. Smile




Theme © iAndrew 2016 - Forum software by © MyBB