Originally Posted by Fou-Lu
Oh I see you posted one just before I.
image merging requires two image resources, so the second image needs to be opened with a createImageFrom* call to get a separate resource. Then you provide the arguments for x/y starting points on the destination, the source' x/y, and width/height arguments (presumably the full image?), and finally the alpha.
If you need to make use of 2 sets of x/y components for a size like you had in the other one, you'll probably need to scale the dot's image resource prior to merging it. I don't think the resize works at a scaling level, but I could be wrong on that.
Well, was worth a try, guess I will just stay with imagefilledrectangle, did not know it was
that complicated, thought I could transfer the values over to imagecopymerge and create
a simple 1x1 red image. if anyone familer working with imagecopymerge can show me how
to correctly use a dot image as I currently do now with imagefilledrectangle, please let me