Alt-PHP-Faq

Vitamin Supplements| Cortavet| Cortaflex| Cortaflex| Health Supplements| Equine Supplements| Manuka Honey| Fat Loss 4 Idiots| Explosive Cashins CB Traffic Warrior Freedom Blogging Profit The Profit Spy Push Button Monkey GPunisher Blogging Syndicate Content Lockdown Turbo Commissions Auto Cash Funnel Traffic Reloaded Affiliate Scalper Mass Money Makers


Question :

When using GD/PHP to create thumbnails using imagecopyresized the thumbnail quality is not very good.

Answer :
jernberg@fairytale.se wrote an additional function for PHP called imagecopyresizedbicubic.

This requires some editing of the PHP sourcecode. We have created a file available for download
that modifiys the PHP source code as described in the notes section @
http://www.php.net/manual/en/function.imagecopyresized.php
This only works for PHP-4.0.5 (Linux Source Only)

It may work with PHP-4.0.6 but it fails with GD2 + PHP-4.0.6 we will do more testing soon to see if we can create a new patch for this combination.

Extract the source then from the source directory :-
wget http://www.alt-php-faq.org/downloads/patch
patch -p0
You need to recompile PHP after the extraction of our patch file.

Look for the changes under the GD section on phpinfo(); output.

We did not write this, all praise goes to:-
jernberg@fairytale.se for the addition of this code and
Colin_Witt@baylor.edu for the additional notes

Categories Return to Main PHP Faq

Installation


 

Questions

Installation
How to install PHP on Apache?
How do I install Apache, MySQL, PHP on Linux?
How did you install PHP with --mcrypt and --mhash?
I am trying to install GD + Truetype with PHP4, but all I get is libgd was not built with TrueType font support
How do I stop spammers using header injection with my PHP Scripts? (Webmasters)
Can I compile php with mysql without having mysql sources?
How do I install PHP as a CGI?
What version should I install?
I have errors trying to install libxml so I can use --with-dom for PHP (checking for DOM in default path... not found)?
How can I get PWS (Microsoft Personal Webserver) to work?
How do I install Sablotron with PHP?
Is there a Windows version of MySQL?
I'm trying to compile PHP 4.1.1 on a SunOS 5.8 box as a DSO module with mcrypt 2.4.18 (i.e. libmcrypt.so.4.2.8), I get loads of errors.
Is there an archive that installs mysql,php4,apache and perl on a windows system?
What do I have to do to convert PHP3 pages to PHP4 pages? Are there any compatibility problems?
Installing MySQL Perl Modules DBI
How do I install Curl?
How do I install Sablotron to work with PHP on Windows?
How do I install the PostGRESQL client librarys so PHP can talk to remote PGSQL servers?
Use ereg_replace to replace only the first occurence of a string instead of all?
make install gives an error saying i need LoadModule line in httpd.conf but its already there
error: conflicting types for `XML_FEATURE_UNICODE'
How do I stop spammers using header injection with my PHP Scripts? (Server Admin)
Installing ioncobe with php5.2.3 gives the error Failed loading ioncube_loader_lin_5.2.so: ioncube_loader_lin_5.2.so: undefined symbol: zend_hash_destroy
I am trying to install ioncube on debian but it wont work
I have a debian based server and want to have a basic lamp install, what is the easiest method?
 

Return to the main FAQ list



Design & Layout Copyright © 2000- 2008 PHP MySQL Web Hosting Comments to Webmaster
Hosted by PHP 4 Hosting - PHP and MySQL Webhosting and Domain Names