View previous topic :: View next topic |
Author |
Message |
pablasso Newbie
Joined: 11 Jan 2007 Posts: 5
|
Posted: Thu Jan 11, 2007 8:14 pm Post subject: |
|
|
just what i needed, thank you!
also thanks nation-x for the fix |
|
Back to top |
|
 |
pablasso Newbie
Joined: 11 Jan 2007 Posts: 5
|
Posted: Fri Jan 12, 2007 4:00 am Post subject: |
|
|
i'm getting some low quality images after applying this to images with many colors.. like a regular photo, what could that be?
this is an example output:
what i'm doing to save the image is this:
PHP: | <?php imagejpeg($rd->_imgFinal,'/somedirectory/perfil/avatares/'.$LOGGED_USER.'.jpeg',100) ?> |
as this is not saving anything on the filesystem:
PHP: | <?php $rd->saveImage('/somedirectory/perfil/avatares/'.$LOGGED_USER.'.jpeg', 100); ?> |
thanks, i appreciate your help  |
|
Back to top |
|
 |
amnuts Site Admin

Joined: 01 Sep 2002 Posts: 662 Location: East Sussex, England
|
Posted: Tue Jan 16, 2007 10:48 am Post subject: |
|
|
pablasso; I know that some versions of GD didn't like a value of 100 for the quality. Try dropping it down to 99 or 98 and see if you get the same problem still.
Andy
Last edited by amnuts on Tue Jan 16, 2007 10:56 am; edited 1 time in total |
|
Back to top |
|
 |
amnuts Site Admin

Joined: 01 Sep 2002 Posts: 662 Location: East Sussex, England
|
|
Back to top |
|
 |
pablasso Newbie
Joined: 11 Jan 2007 Posts: 5
|
Posted: Tue Jan 16, 2007 8:26 pm Post subject: |
|
|
amnuts wrote: | pablasso; I know that some versions of GD didn't like a value of 100 for the quality. Try dropping it down to 99 or 98 and see if you get the same problem still.
Andy |
mmm no, is still greyed out.. i've tried with valors between 70 and 99 |
|
Back to top |
|
 |
amnuts Site Admin

Joined: 01 Sep 2002 Posts: 662 Location: East Sussex, England
|
Posted: Wed Jan 17, 2007 9:26 am Post subject: |
|
|
Have you tried using the dropshadow class rather than the redim extension? Perhaps that'd work out better for you. Follow any of the thread links above for ways to integrate the two classes. Also, post up your gd and php versions. You never know, it may help...
Andy |
|
Back to top |
|
 |
KtM Newbie
Joined: 09 Jan 2007 Posts: 4
|
Posted: Sat Jan 20, 2007 6:37 am Post subject: |
|
|
@ amnuts
thx, will try it
@ pablasso
seems, that
PHP: | <?php if ($this->_gdVersion == 2) ?> |
that is used in imgRedim, is out-dated ?!
cropcanvas uses
PHP: | <?php if ($this->gdInfo['Truecolor Support']) { ?> |
for gd-check. |
|
Back to top |
|
 |
pablasso Newbie
Joined: 11 Jan 2007 Posts: 5
|
Posted: Sat Jan 20, 2007 2:21 pm Post subject: |
|
|
thank you for the suggestions, right now i'm in a hurry with another project, but soon i'll be debugging this and i'll post the results |
|
Back to top |
|
 |
pablasso Newbie
Joined: 11 Jan 2007 Posts: 5
|
Posted: Tue Jan 30, 2007 1:12 am Post subject: |
|
|
KtM wrote: |
@ pablasso
seems, that
PHP: | <?php if ($this->_gdVersion == 2) ?> |
that is used in imgRedim, is out-dated ?!
cropcanvas uses
PHP: | <?php if ($this->gdInfo['Truecolor Support']) { ?> |
for gd-check. |
that just did the trick.. thank you!  |
|
Back to top |
|
 |
|