Re: [GD-DEVEL] Noise problem

[email protected] ("Pierre Joye") Sun, 9 Nov 2008 20:26:43 +0100
Newsgroups php.gd.devel
Message-ID <[email protected]>
hi

I mean the last RC, you can fetch it from http://qa.php.net or
http://windows.php.net

Cheers,

On Sun, Nov 9, 2008 at 8:23 PM, DANINOS Yann <[email protected]> wrote:
> Hello,
>
> 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 picture 1000x1000px in jpg, quality 100 made with photoshop
> : test.jpg
> - I resize it with ImageCopyResampled to 300x300px and I heve got the
> resulting picture testresized.jpg. 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 ! So
> 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
>
>
> ________________________________
> Votre correspondant a choisi Hotmail et profite d'un stockage quasiment
> illimité. Créez un compte Hotmail gratuitement !



-- 
Pierre
http://blog.thepimp.net | http://www.libgd.org