Resizer icon indicating copy to clipboard operation
Resizer copied to clipboard

Any chance of including Rotation (filter)?

Open PeteVox opened this issue 10 years ago • 1 comments

Hi.

Great work on pThumb and Resizer - vastly improved performance so many thanks for the effort.

Wondered if you had any plans to include basic rotation (filter) as a possible option? We're currently building a site that can't use CSS transformations...so only option is to 'render' images at various stages of rotation. We're also including a watermark - so rotation as a 'fltr[]' is preferable to 'ra' parameter. We can achieve this using regular pThumbOf, but very, very slow.

Any possibility of working this ability into Resizer?

Again, thanks for the great work on these MODX Extras.

PeteVox avatar Feb 28 '15 11:02 PeteVox

Thanks, I'm glad you've found this project useful. I'm not doing much MODX development these days, so I can't say I'm planning to add a rotation filter. In the past I added whatever things I needed for the sites I was working on, but this one never came up. I'll keep it in mind though if I ever need something to work on.. As far as I recall, doing an ImageMagick-only version would be considerably easier, since I don't know of a way to rotate an image quickly using GD while still maintaining any transparency present in the image.

oo12 avatar Mar 01 '15 21:03 oo12