RE: [GD-DEVEL] Noise problem
[email protected] (DANINOS Yann) Sun, 9 Nov 2008 20:28:37 +0100
| Newsgroups | php.gd.devel |
|---|---|
| Message-ID | <[email protected]> |
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: [email protected]> To: [email protected]> Subject: Re: [GD-DEVEL] Noise problem> CC: [email protected]> > hi,> > On Sat, Nov 8, 2008 at 7:15 PM, DANINOS Yann <[email protected]> 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
testresized.jpg
(image/pjpeg, 16.3 KB) - not displayed