Results 1 to 40 of 52

Thread: How to change the specified color in the picture to another color?

Threaded View

  1. #2
    Frenzied Member
    Join Date
    Feb 2003
    Posts
    1,945

    Re: How to change the specified color in the picture to another color?

    Hi, you could loop through all the pixels using a For-Next loop and get a pixel's color using the "Point(x, y)" function. You would then replace that pixel if it has the color that is to be changed using the "PSet(x, y)" method. Unfortunately this will be rather slow except for small images. Perhaps you would get a better answer if you were more specific about what you're trying to accomplish. Do you want to be able to modify any color in any image, are you trying to create an animation, etc? Do you have any code already?
    Last edited by Peter Swinkels; Mar 2nd, 2017 at 09:37 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width