Per messages with Dedmen in the official Arma discord:
[ 5:57 PM ] supergauntlet: @Dedmen (ง •̀_•́)ง dunno if this is the right place to ask, but.. kind of an out there request, how hard do you think a command to get texture data given a texture path would be to implement? [ 5:57 PM ] Dedmen (ง •̀_•́)ง: didnt we recently get one for size? [ 5:58 PM ] supergauntlet: by this I also mean, if I do this with intercept what are the odds that I can get you or another dev to put it in the game [ 5:58 PM ] Dedmen (ง •̀_•́)ง: https://community.bistudio.com/wiki/getTextureInfo here KK added this [ 5:58 PM ] supergauntlet: how hard would it be to have that also return texture data [ 5:58 PM ] Dedmen (ง •̀_•́)ง: what is texture data [ 5:59 PM ] supergauntlet: as in, an array of arrays of size x,y where each point has the rgba values of that pixel [ 5:59 PM ] Dedmen (ง •̀_•́)ง: usecase? [ 5:59 PM ] Dedmen (ง •̀_•́)ง: I don't think I like that [ 6:00 PM ] Dedmen (ง •̀_•́)ง: translating that stuff into script values will be hella expensive [ 6:00 PM ] supergauntlet: I'm floating my idea again of dynamically figuring out camo values [ 6:00 PM ] Dedmen (ง •̀_•́)ง: I could give you average color [ 6:00 PM ] supergauntlet: since cf bai is dead [ 6:00 PM ] Dedmen (ง •̀_•́)ง: that is stored directly in the paa [ 6:00 PM ] supergauntlet: is it? avg color is probably good enough
getTextureInfo returns texture size, per https://community.bistudio.com/wiki/getTextureInfo
This report is requesting an update to getTextureInfo to also return the average color of the texture, in RGBA format.