note 54081 added to function.imagecreate
| From: | m02041952 at yahoo dot com | Date: | Thu, 23 Jun 2005 10:04:27 +0000 |
| Subject: | note 54081 added to function.imagecreate | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-90826@lists.php.net to get a copy of this message | ||
I feel unhappy because 'enhancements' performed from ImageCreate to ImageCreateTrueColor.
Now I have problems that appears to be impossible of solving.
I was obligued to move to ICtrueColor because my pictures suddenly lost all its colors from day to
night. In desperation I discovered that some genious had 'increased' GD functions.
First at all, have you measured file size of your ImageCreateTrueColor 'thumbnails'? .
Ok, for me they increased from 2 or 3 Kb (previous ImageCreate) to some 15 to 20 Kb each one (new
ImageCreateTrueColor function), so my 'thumbnails albums' which should show some 25-50
tiny pictures in a flash, became unavailable for non-adsl users. I remember old fashioned days when
my album opening thumbnails like pop-corns, all of them whth perfect colors.
Second, I have zoom commands on these thumbnails. Previously zoom worked fine with ImageCreate
because it performed task of reducing kb traffic between server and client, but with
ImageCreateTrueColor now this traffic has INCREASED, because a true color image transmit several
times more bits than even original image stored in server.
Third, now I can't any more produce thumbnails of images from some sizes. I am still trying to
figure out what the hell this problem could be, but with previous ImageCreate function images of
1200 x 1300 or so was created instantly with no problem. Now browser just shows users an
'incorrect image' icon instead. I don't know where the problem is, my images have not
changed at all.
I want to say to people who develops GD that many (maybe ten thousands) users probably use these
functions in their albums, then you can't just change functions performance / environment and
say 'hi, use this new command instead now' with no previous study of performance and
impact on actual systems.
The correct way of making this is by letting untouched functions which are well stablished in the
market (like previous imagecreate) and to develop new ones.
Why you destroyed old ImageCreate to make the new function ImageCreateTrueColor? . I can't
understand this
Thanks very much for your attention.
Miguel - Brazil Jun 2005.
----
Manual Page -- http://www.php.net/manual/en/function.imagecreate.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+54081
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+54081&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+54081&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+54081&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+54081&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+54081&report=yes&reason=non-english
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+54081&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+54081&report=yes
Search -- http://master.php.net/manage/user-notes.php