Write To Image? Is It Possible?

Just wondering if anyone would know of a way to write to a image, for example at a certain x,y pixel coordinate change the color to a certain rgb value. Any help with this would be most appreciated, even if it's not a clearcut solution I'll take anything. (I'm using tifs if it makes a difference)

Thanks

don't no solution for mel itself, but look for external apps such as imagemagic that you could do the job with via system command.

k, I'll give that a shot if need be, still hope there's a way to do it with just mel...

So, I tried out ImageMagick but unfortunately it wouldn't open my tif images(maybe because they're HDR) you wouldn't happen to know any other external image editors of hand. I can't seem to find any in my google searches.

Actualy you could do this! By rendering teh file anew. Ive done something like this in the past.

Especialy rendering depthmaps with normal shading render instead of teh default one is actualy gratifying. (you can get transparncy respected thatway BTW)

What? whoa wait...slow down... You can do what now with what in the where?

I seem to remember there was a way to set an image as a texture on a plane and then set the plane to surface emit particles. The particles get their rgbpp setting from the image, so with the right emmission settings and in orthographic view, it looks just like the image. This would also give you the option to use particle id's besides just x and y coords, which may or may not be helpful. Then once you made the changes I guess you could render back out of maya a tif.