Create thumbnail image with an offset?

Permalink
Hello guys

Let's say I have an image 800x600 and I am looking to create a thumbnail by cropping that image.
Is there any way I can do it with an offset?

Ideally like top=0 and left=0

It seems there's no way .. by the way I am using the image/helper on c5.7.5.2

$image->getThumbnail($imageFileName, '488', '288', true)


Thanks in advace
Matteo

italinux
 
MrKDilkington replied on at Permalink Reply
MrKDilkington
Hi italinux,

These links might help point you in the right direction.

Using the Imagine Image Library to Work with Images
https://www.concrete5.org/documentation/developers/5.7/working-with-...

Imagine Introduction
https://imagine.readthedocs.org/en/latest/usage/introduction.html...

Imagine’s coordinates system
https://imagine.readthedocs.org/en/latest/usage/coordinates.html...