RE: [GD-DEVEL] Noise problem
| From: | DANINOS Yann | Date: | Sun, 09 Nov 2008 19:28:37 +0000 |
| Subject: | RE: [GD-DEVEL] Noise problem | ||
| References: | 1 2 | Groups: | php.gd.devel |
| Request: | Send a blank email to php-gd-devel+get-512@lists.php.net to get a copy of this message | ||
I just tried with Php 5.2.6 and I've got the same result...
But I have made more test on the problem :- I take a white square picture 1000x1000px in jpg,
quality 100 made with photoshop- I resize it with ImageCopyResampled to 300x300px and I heve got the
resulting picture. If you change the brithness in Photoshop you can see the noise :
testresized_brithness.jpg
BUT if you do the same with a size like 200px you don't have this noise ! It seems that if the
orginal size is a multiple of the target size you don't have this kind of problem...
More over you can see that the size of the picture increase !! What a shame....Any idea ?
Thks.> Date: Sun, 9 Nov 2008 18:10:05 +0100> From: pierre.php@gmail.com> To:
ydaninos@hotmail.com> Subject: Re: [GD-DEVEL] Noise problem> CC: gd-devel@lists.php.net>
> hi,> > On Sat, Nov 8, 2008 at 7:15 PM, DANINOS Yann <ydaninos@hotmail.com>
wrote:> >> > Dear All,> >> > I ve got a problem when resizing picture with
ImageCopyResampled : The problem is simple, when I try to resize a picture with a white background
the resulting picture is not really white (I have #ffffff and #fefefe)...there is lines which look
like noise. It's not really visible but if you put the picture in photoshop and change the
brithness you can clearly see it.> > Does anyone already had this problem ? Is there a
solution to avoid this ?> > Can you try with the latest php version (not debian or ubuntu
but> using php src or binaries for windows)?> > --> Pierre> > http://blog.thepimp.net | http://www.libgd.org
_________________________________________________________________
Téléphonez gratuitement à tous vos proches avec Windows Live Messenger ! Téléchargez-le
maintenant !
http://www.windowslive.fr/messenger/1.asp
Attachment: [image/pjpeg] testresized.jpg
Attachment: [image/pjpeg] testresized.jpg