I wasn't sure if this was specific to Maya and textures, or a general question of how to read and inspect an image. Matt is covering it from the Maya-specific angle. And if you meant a general approach, there are image libraries that can do it as well, such as OpenImageIO.
On Mon, 24 Nov 2014 2:47 AM Matt Estela <[email protected]> wrote: > mat=map, damn my dyslexic fingers... ;) > > On 24 November 2014 at 00:45, Matt Estela <[email protected]> wrote: > >> colorAtPoint? It's a step further than you need in that it samples from >> the uv coord of a shape and returns a colour, but still, if you mat your >> image to a basic shader then the shader to a plane, it should cover what >> you require. >> >> http://download.autodesk.com/us/maya/2011help/Commands/colorAtPoint.html >> >> >> >> On 24 November 2014 at 00:24, <[email protected]> wrote: >> >>> excuse me....my question:..how to Get Pixel Information of on Image.... >>> Chiefly!...how can I get the RGB values of a pixel, if I have the >>> (x,y)coordinates of the pixel?...(pixel value from 'd:\test.pnj' >>> file(example)) >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Python Programming for Autodesk Maya" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/python_inside_maya/1c9cf0f1-97e8-4ff4-86d1-5c169d66b990%40googlegroups.com >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> > -- > You received this message because you are subscribed to the Google Groups > "Python Programming for Autodesk Maya" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/python_inside_maya/CAGCWdh%3D-hzh7etEd8DGNgz0quancVgidpjLunpm9vbDc8sU3Xg%40mail.gmail.com > <https://groups.google.com/d/msgid/python_inside_maya/CAGCWdh%3D-hzh7etEd8DGNgz0quancVgidpjLunpm9vbDc8sU3Xg%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA2CtseM7DR2Vjbwft51qBVoMT_D%3Dv0DG%2BatstPRwJForw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
