Under the Tools -> Options Menu, there is an option for Transparent Color. I need to be able to read the Custom Data from inside a script. How and Where is that information located?
Also, under Materialbase -> Graphics/Characters -> Import, you are given two for "Transparent Color (L-Click)" and "Semi-Transparent Color (R-Click)". How and where do I get that information?
tbh I'm not sure that information is available anywhere but in the editor. There is nothing in the RPG::Cache module that applies transparency or semi-transparency for character sprites, and nothing in Sprite_Character either (that I can see from the documentation). It may be that that's for editor use only and when you compile the project it creates all the sprites with those settings applied.
One way to find out would be to use a script that allows you to save images as png files, load one of the character sprites into the cache, and then save that sprite to a new file. If the new file has the transparency applied, it's likely that those settings are only used in the editor.
I suspect you are correct. Its a value within the Editor we dont have access to. Much like using sprite rotation, where the RPG::Cache only contains an unrotated version of the image, but once rotated, there is no access to the rotated version of the Bitmap.
All is good however, as using get_pixel on the bitmap reveals that the alpha channel is 0 when the Bitmap data is accessed in the editor, thus, it saves me a ton of work and any need to ever use get_pixel inside of scripts as iterating each pixel in RPG maker is very inefficient, and best done, if ever, with custom DLL files.