Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   Grabbing colors from images (https://forums.graalonline.com/forums/showthread.php?t=64179)

jake13jake 02-18-2006 04:19 AM

Grabbing colors from images
 
just like to grab a pixel. Ex, for if you rescript something that uses letters.png. This would come in useful for letting users customize their GUI rather than the server forcing something onto them.

this.rgb = getimgcolor(image,imgx,imgy);
showpoly(200,{x1,y1,....});
changeimgcolors(200,this.rgb[0]/255,this.rgb[1]/255,this.rgb[2]/255);


All times are GMT +2. The time now is 09:24 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.