[PHP] Re: PHP and GD
After uploading the picture, so the program should first upload the picture, then open it, cut it in like 6 pieces and save all the pieces and remove the original uploaded file. regards patrick - Edwin - [EMAIL PROTECTED] skrev i meddelandet news:[EMAIL PROTECTED] Hi, On Thu, 25 Mar 2004 02:03:26 +0100 [EMAIL PROTECTED] (Patrik Fomin) wrote: Hi, Is there anyway to split a picture with PHP (GD) ? Im uploading lots of pictures and i want to split them in 6 pieces to make em load faster, is there anyway to do this in PHP ? You mean, split them using PHP? *Before* uploading? Then, no. (Unless of course you have PHP installed on the client then there must be a way...) -- - E - -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: PHP and GD
Patrik, to split an uploaded image, I suggest you use pamdice which is one of the programs in the Netpbm toolkit. You can read all about Netpbm here: http://netpbm.sourceforge.net/. --- Geir Pedersen http://www.activio.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: PHP and GD
Hi, On Thu, 25 Mar 2004 02:03:26 +0100 [EMAIL PROTECTED] (Patrik Fomin) wrote: Hi, Is there anyway to split a picture with PHP (GD) ? Im uploading lots of pictures and i want to split them in 6 pieces to make em load faster, is there anyway to do this in PHP ? You mean, split them using PHP? *Before* uploading? Then, no. (Unless of course you have PHP installed on the client then there must be a way...) -- - E - -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: php --with-gd support
Hi Bogdan, sorry I am new to PHP where can I find a manual of PHP? Oliver Sorry, I only saw the first line in your message (I want to know all about...) - somehow assumed the 2nd to be part of the sig on first reading - and hurried to be cynical. Can't help you with a good site/book. Why don't you RTFM instead? :) Bogdan [EMAIL PROTECTED] wrote: Hello List, I want to know all about copiling, installing and configuring php with gd-support. Anybody knows a good site or book to read about? Oliver Etzel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: php --with-gd support
http://www.php.net/manual/ At 13:13 17-12-02 +0100, [EMAIL PROTECTED] wrote: Hi Bogdan, sorry I am new to PHP where can I find a manual of PHP? Oliver Sorry, I only saw the first line in your message (I want to know all about...) - somehow assumed the 2nd to be part of the sig on first reading - and hurried to be cynical. Can't help you with a good site/book. Why don't you RTFM instead? :) Bogdan [EMAIL PROTECTED] wrote: Hello List, I want to know all about copiling, installing and configuring php with gd-support. Anybody knows a good site or book to read about? Oliver Etzel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: php --with-gd support
sorry I am new to PHP where can I find a manual of PHP? Well a few seconds searching Google.com produced http://www.php-faq.com/gdinstall.php Matt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: php --with-gd support
ok [EMAIL PROTECTED] wrote: Hello List, I want to know all about copiling, installing and configuring php with gd-support. Anybody knows a good site or book to read about? Oliver Etzel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: php --with-gd support
Sorry, I only saw the first line in your message (I want to know all about...) - somehow assumed the 2nd to be part of the sig on first reading - and hurried to be cynical. Can't help you with a good site/book. Why don't you RTFM instead? :) Bogdan [EMAIL PROTECTED] wrote: Hello List, I want to know all about copiling, installing and configuring php with gd-support. Anybody knows a good site or book to read about? Oliver Etzel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: [PHP-WIN] GD Freetype on W2K/Apache1.3.2/PHP4.2.0
Ignore this - I have managed to get them to work in Unix - now onto Windows... sigh! Michael Davey [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I know this is cross-posting, but I have no luck with finding a solution to this problem on PHP-WIN, and I have since tried running my code on a Linux server and have had the same problems... so here goes! -- Original Post -- Sorry if this has been posted a hundred times already - but I am trying to use TrueType fonts with GD. I can create images fine, and have managed to gather from previous postings that there was an error with post-4.0.5 versions of php_gd.dll that cause Freetype to fail, but the install of PHP I have installs php_gd2.dll and any attempts to use php_gd.dll fail when I restart the server. Has anyone else has experience of this issue? Mikey -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: PHP with gd support
or do I do the configure with all the other arguements AND --with-gd and then do the 'make' and 'make install'? Yes, you will have to configure with all the prior options in addition to the --with-gd. A quick way to get your currently compiled options is with the php function phpinfo(). EJ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: PHP and GD
What value is $im? Is it a valid image? Check error codes. -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm - Original Message - From: J. Anderson Scarbrough [EMAIL PROTECTED] Newsgroups: php.general To: [EMAIL PROTECTED] Sent: Monday, September 24, 2001 9:59 AM Subject: PHP and GD I am trying to create PNG images on the fly using the following code. if(file_exists($key)) { $diff = time() - filemtime($key); if($diff = 600) { unlink($key); } } $im = ImageCreateFromPNG($value); $isCreated = imagePNG($im, $key, '80'); file://error occurs here I recieve the following error on the line indicated above. imagepng: unable to open '/images/image1.png' for writing When I run phpinfo it shows PHP as begin copiled with GD support with PNG enable on GD (see below) GD Support enabled GD Version 1.6.2 or higher PNG Support enabled WBMP Support enabled The only other issue i could think of was permissions, but i have changed permissions to rwx all the way across for the directory and all files inside the directory. Any one have any ideas??? Thanks. _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]