[geeklog-devel] Image Resize

Tom websitemaster at cogeco.net
Thu Dec 26 15:50:32 EST 2013


Okay I was able to modify the upload class a bit to make it work with the
OAuth class so profile photos now get resized and respect what the config
options are for images. This means no new class and I didn't have to add any
new pear libraries.

Tom

-----Original Message-----
From: geeklog-devel-bounces at lists.geeklog.net
[mailto:geeklog-devel-bounces at lists.geeklog.net] On Behalf Of Tom
Sent: December-22-13 11:34 AM
To: 'Geeklog Development'
Subject: Re: [geeklog-devel] Image Resize

I like Ben's class recommendation but there is no release date for
imagemagick support.  I haven't found any other classes online that support
both libraries and have a compatible license for Geeklog.

I should have checked out Pear sooner and I see they have an Image Transform
package that does what we need.

http://pear.php.net/package/Image_Transform/


This package was written to provide a simpler and cross-library interface to
doing image transformations and manipulations.
It provides :

* support for GD, ImageMagick, Imagick and NetPBM
* files related functions
* addText
* Scale (by length, percentage, maximum X/Y)
* Resize
* Rotate (custom angle)
* Crop
* Mirror (Most drivers)
* Flip (Most drivers)
* Add border (soon)
* Add shadow (soon)


Does anyone have an opinion on this package? 

Tom


-----Original Message-----
From: geeklog-devel-bounces at lists.geeklog.net
[mailto:geeklog-devel-bounces at lists.geeklog.net] On Behalf Of Tom
Sent: December-19-13 8:37 PM
To: 'Geeklog Development'
Subject: [geeklog-devel] Image Resize


It doesn't look like the upload class that Geeklog uses (for topic image,
and normal user images) would integrate well with retrieving images of
profiles for the oauth class.

Can anyone recommend a good image manipulation class that can resize images
that we can use with Geeklog?

It needs to support the GD and imagemagick libraries. The upload class does
support netpbm but I don't think it is used much anymore.

Tom

_______________________________________________
geeklog-devel mailing list
geeklog-devel at lists.geeklog.net
http://eight.pairlist.net/mailman/listinfo/geeklog-devel

_______________________________________________
geeklog-devel mailing list
geeklog-devel at lists.geeklog.net
http://eight.pairlist.net/mailman/listinfo/geeklog-devel




More information about the geeklog-devel mailing list