Help regarding custom sprites

Hello! I bought a copy of RPG Maker 2003 just yesterday, and have been trying to learn new things mostly on my own. But upon trying to add custom sprites, I found myself somewhat confused - the images were rejected due to not "using a color depth of 8-bit", which is naturally limited as to how many colors you can use. However, the images weren't anything special - mostly just adding a pair of glasses to a couple of the sprites that come with the game - and in one case, taking a pair of glasses from one character and grafting it onto the second. I edited using GameMaker Studio, so that might explain it, and I can post the spritesheets if needed, but I'm not really sure what to do since I don't think I added too many colors. Does anyone have any advice?
Graphics are limited to 256 colors for a reason, the files also need to be saved in a compatible format that can be forced to feature an 8bit-palette (2^8=256) which will contain them. In most graphics-editing-software, you should easily be able to either reduce the image's color-depth while editing to 8bit or to force the PNG-format to 8bit while saving.

Also, pixels with the very-first color in the 8bit-palette will be considered as invisible area in most graphical material-types in RPG2000/2003 (except Backdrop, GameOver, Panorama and Title). When importing, this color will start blinking slowly in the preview-window. Before confirming import, you can click on any other pixel in the image and the importer will adjust the palette's color-order.

~炬燵あ

Original thread: https://forums.rpgmakerweb.com/threads/help-regarding-custom-sprites.151196/