Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   better image support needed! (https://forums.graalonline.com/forums/showthread.php?t=37885)

Ace Venom 09-13-2002 12:41 PM

better image support needed!
 
1 Attachment(s)
Graal seriously needs better support for images made in photoshop (PNG format) because I am having a problem with some body's I have been trying to make for my (currently offline) server that I've been working on. everytime I try to make a body, either the transparency doesnt work right (yes, I know how to set a transparency correctly) or the colors on the body wont change & I end up having transparency problems with that!

hmm.... mabey I should have posted this in the bugs section... oh, well....

for example, here's the body I'm trying to use. I've tryed everything. I've saved it as a PNG directly. I've saved it as a gif and transfered it to png through the gif to mng program. I've tryed to use it as a gif by itself as a body. ... it works fine as a gif image, but why wont it work as a body?!?! WTF!?!?!?! please have someone improve on graal with this problem in mind... or if you can help me fix whatever I may have done wrong with the picture...please???

R0b1n-NPC 09-13-2002 07:34 PM

You could of course...
Try changing the colors from 16.7 Million Colours to Pallete Based.

emortylone 09-14-2002 12:17 AM

LOL... you mean just make higher quality images?
---Shifter

R0b1n-NPC 09-14-2002 02:11 AM

higher quality = bad.

especially when the colors dont change at all if you use psp5+
and save the png as pallete based with optimized octree.

works fine.

aylad 09-14-2002 03:51 AM

Re: better image support needed!
 
Quote:

Originally posted by Ace Venom
either the transparency doesnt work right (yes, I know how to set a transparency correctly) or the colors on the body wont change
I don't know how Photoshop works, but my guess is that it's screwing up your palette.

A body image has to have a very selective palette. Use an image editor that is guaranteed not to change the palette of an existing image (Alchemy Mindworks has a good shareware one) and open an existing body, then cut/paste your changes on top of it.

To get Alchemy Mindworks' web address, search for "mindworkshop" on Yahoo and find their PNG/MNG Construction Set Professional download. Hope this helps!

Tyhm 09-14-2002 05:35 AM

...well, for one...you're using 47 colors...instead of, um, 7....

emortylone 09-14-2002 11:07 AM

*rolls* GFX... heh, scripting, I can understand that ;) I know you can use customized palets, but you can't have it be read properly under Graal is what you're saying?
---Shifter

Tyhm 09-15-2002 01:55 AM

Load the pallette from body.png, and maintain indexes.
Graal takes the colors by index, so index 0 = background, 1=#C0, 2=#C1, etc., or something like that.

Just because you have a green background doesn't mean Graal's going to psychically know that's what you want for the background, any more than it's supposed to psychically know the armor gray is supposed to be belt and the padding gray is supposed to be coat. It's all just pixels to the exe

Com013 09-16-2002 12:41 AM

I don't think the palette is important, but the color you use.
For example, white is always the coat, blue is always the belt, red the shoes, orange the gloves, and so on.
Graal is recoloring your image and replaces the colors of the image with the colors you specified in #C0 and so on.
Black stays black (although in one version it was replaced by #C5).
Any other color (like green) will be transperent.

I am not sure about this (I never tried) but this could explain your problems with transperency.

The safest way is still to use the palette of body.png and don't change it at all. Nothing can (should) go wrong then.

Falcor 09-16-2002 03:54 AM

Trust Tyhm... Its Pallet. I made a body for 2k1 and I had to play with the pallet to get transparency and keep it from changing the colors around.

Com013 09-16-2002 02:27 PM

Quote:

Originally posted by Falcor
Trust Tyhm... Its Pallet. I made a body for 2k1 and I had to play with the pallet to get transparency and keep it from changing the colors around.
Ok. *trusts*


All times are GMT +2. The time now is 02:26 PM.

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