Share » Forums » Developer » Anyone actually uses ezimage::gd?

Anyone actually uses ezimage::gd?

Anyone actually uses ezimage::gd?

Friday 09 May 2003 4:25:05 am - 2 replies

Modified on Friday 09 May 2003 4:26:46 am by Huib Kleinhout

Author Message

Jan Borsodi

Monday 12 May 2003 3:50:36 am

I haven't tried Image GD for quite some time, it could be that a bug has been introduced. I'll try it out and see if there's a quick solution.

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

Huib Kleinhout

Monday 12 May 2003 4:05:21 am

Well,
I've created patches this weekend that make GD working again. (I can not access these patches right now, but I'll submit them tonight)
Ezp is working now on my system, with safe mode enabled. But I'm not satisfied yet:
* gd can't write gifs, so gifs are ignored. I think it would be better if imagegd just copies the file instead of doing nothing. Then the users at least see something. Any thought about this?
* Images are not scaled but stretched. So the x/y ratio get lost and all non-square images are distored. I was thinking about resolving this by hacking into ezimage.php, by calculating new height/widths (so e.g. a 800*200 will be converted as thumbnail of 100*25 instead of 100*100)

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu