t;[EMAIL PROTECTED]>
To: "'Jennifer'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, July 18, 2001 12:01 AM
Subject: RE: [PHP] How to add a new color to JPEG
>
> I don't know a way around the problem you're describing
er [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 17, 2001 5:55 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] How to add a new color to JPEG
> > > -Original Message-
> > > From: SED [mailto:[EMAIL PROTECTED]]
> > > According to the manual, you can only get closest
Jennifer wrote:
> it seems to ignore the color that I specify and always came out
> grey. (Of course now if I use ImageColorClosest(), some colors
> work because they are in my image.)
>
>
> Any idea on how solutions?
>
Oops. I didn't read far enough. I found the following in a
separate t
> > > -Original Message-
> > > From: SED [mailto:[EMAIL PROTECTED]]
> > > According to the manual, you can only get closest value of your
> > > desired color by letting the ImageColorClosest() find it. Therefore,
> > > if the image is totally black, you can not get the yellow color. I
> >
used ImageCreateTrueColor()
--Matt
-Original Message-
From: SED [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 10, 2001 9:17 PM
To: 'James Cox'; [EMAIL PROTECTED]
Subject: RE: [PHP] How to add a new color to JPEG
I'm not sure I follow. I know this is how I would do it
.
SED
-Original Message-
From: Matthew Loff [mailto:[EMAIL PROTECTED]]
Sent: 10. júlí 2001 23:30
To: 'James Cox'; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: [PHP] How to add a new color to JPEG
Is this only a problem with PHP/GD versions previous to 4.0.6/2.0.1?
Do
u sure you are talking about JPEG, not GIF?
SED
-Original Message-
From: James Cox [mailto:[EMAIL PROTECTED]]
Sent: 10. júlí 2001 23:28
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: [PHP] How to add a new color to JPEG
That's something you would need to do in photoshop.
, 2001 7:28 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: [PHP] How to add a new color to JPEG
That's something you would need to do in photoshop.
open your image, select save for web, look to the left of the image, you
should see some buttons and a black box. you need to click on the
; From: SED [mailto:[EMAIL PROTECTED]]
> Sent: 11 July 2001 00:21
> To: 'James Cox'; [EMAIL PROTECTED]
> Subject: RE: [PHP] How to add a new color to JPEG
>
>
> How can I add colors to JPEG-palette? I never new It had a special
> palette (until now :).
>
>
e-
> From: Jeff Lewis [mailto:[EMAIL PROTECTED]]
> Sent: 10 July 2001 23:00
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: RE: [PHP] How to add a new color to JPEG
>
>
> Hmm, I create my image from scratch and haven't tried drawing on an
> existing pallet
> From: Jeff Lewis [mailto:[EMAIL PROTECTED]]
> Sent: 10 July 2001 23:00
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: RE: [PHP] How to add a new color to JPEG
>
>
> Hmm, I create my image from scratch and haven't tried drawing on
> an existing
> pallette. If you
M
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: RE: [PHP] How to add a new color to JPEG
>
>
> Thats the problem, if I do that and the color is not used before in the
> image, I get only the closest match. Note, if I add a yellow pixle into
> the JPEG-image with Photos
picture, only a yellow text.
SED
-Original Message-
From: Jeff Lewis [mailto:[EMAIL PROTECTED]]
Sent: 10. júlí 2001 17:26
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: [PHP] How to add a new color to JPEG
Could try this:
$blue = ImageColorAllocate($image, 0, 0, 255);
Substitue blue
TECTED]
> Subject: [PHP] How to add a new color to JPEG
>
>
> Lets say I have a black JPEG-image and I want to add yellow text to it,
> how can I define the yellow color?
>
> According to the manual, you can only get closest value of your desired
> color by letting the Image
Lets say I have a black JPEG-image and I want to add yellow text to it,
how can I define the yellow color?
According to the manual, you can only get closest value of your desired
color by letting the ImageColorClosest() find it. Therefore, if the
image is totally black, you can not get the yellow
15 matches
Mail list logo