Jump to content

Copy a large pointed polygon and recolor it


cooldude832

Recommended Posts

I have a map of the USA that I want to copy into another image but change its color each time.

 

I do not wish to make a ploygon of Michigan to do it is there a simpler way?

 

The original image is a rectangle image and the michigan map is sitting on top of my transparent defined color (i want to define a color for the Michigan portion only

 

any ideas?

Link to comment
Share on other sites

well I thought of one using gd where the image is scanned from the outter edge pixels inward until the color changes from the transparent background to the inner image.  Using those coordinates make a new image ploygon but ti was just ugly

 

so I made 50 mono colored images and use a random picker to pick em each time.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.