Image color problems

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
ozmodiar
Forum Commoner
Posts: 35
Joined: Sat Jun 01, 2002 6:29 am
Location: Dublin, Ireland

Image color problems

Post by ozmodiar »

I am trying to use PHP JPEG editing functions to plot a point on a map. I have an image of a map and an image of a pin to put on the map image. The problem is that the colour of the pin is getting messed up. It is meant to be black but it is coming up a strange colour. Check out this sample:

http://www.iptrack.cjb.net/image.php

Any ideas why this is happening?

Thanks,

ozmodiar
User avatar
hob_goblin
Forum Regular
Posts: 978
Joined: Sun Apr 28, 2002 9:53 pm
Contact:

Post by hob_goblin »

Do you have any code you could post?
User avatar
AVATAr
Forum Regular
Posts: 524
Joined: Tue Jul 16, 2002 4:19 pm
Location: Uruguay -- Montevideo
Contact:

guessing here

Post by AVATAr »

How do you generate the plot's color?
what type is the image you generate: jpg, png, gif?
:)
Post Reply