Charas-Project

Game Creation => Requests => RPG Maker Programming => Topic started by: Captain Obvious on May 25, 2008, 05:08:42 PM

Title: RPG Maker 2003 - Image problem
Post by: Captain Obvious on May 25, 2008, 05:08:42 PM
This is a problem that is not answered in the FAQ threads on the site, most surprisingly.

Namely, I have been working on many types of enemy graphics and I always make sure to test them in an empty project before labelling them as completed.

I have run repeatedly into a strange error and none of the FAQs could answer my question regarding it. The documentation also fail to help me regarding this problem.

Namely, I have an enemy graphic which has the following size: 240 x 203

The color depth is correct (256 colors).

Now the problem is that despite the monster graphic being correct in my opinion, it gives me a "Invalid Image Size" error. This is strange since the documentation says that the maximum size is 240 x 240. I shouldn't get such an error, logically.

So... what did I miss? Why am I getting such an error?

Thank you in advance.
Title:
Post by: Prpl_Mage on May 25, 2008, 05:19:45 PM
Is it a BMP or PNG? BMP tends to have a greater size (bytes) than the PNG since PNG only uses the colours you are using.

Try to save it with 200 colours and it'll be sure to work. A good tool for this is Irfanview.
Title:
Post by: Captain Obvious on May 25, 2008, 05:41:55 PM
Actually, it's a PNG image and I specifically saved it so it would have 256 colors.
Title:
Post by: Prpl_Mage on May 25, 2008, 06:19:58 PM
Try 200 a try. That's what works for me either way.
Title:
Post by: Captain Obvious on May 25, 2008, 07:08:16 PM
I just edited it so it would have 128 colors instead.

... it still give me the "Invalid Image size" error. Seems it has nothing to do with the color depth.
Title:
Post by: A Forgotten Legend on May 25, 2008, 07:24:11 PM
For some odd reason it did that to me when I tried to import something into the charas chain game.

Unfortunately.  You are going to have to trim any extra pixels on the edges, and then possibly, you my have to resize it smaller.  Its just a weird error.