Help With Imagetool.

Thu Feb 10, 2022 3:17 pm

Does anyone still use ImageTool ?
https://zdoom.org/wiki/ImageTool#:~:text=ImageTool%20is%20a%20generalized%20image,to%20ZDoom%20fonts%20and%20images.

i wanted to display Blood splashes using HudMessage in zdaemon but for some reason it always gives me errors like : "Nothing to save" and "glyphs out of range" .
i look into the old post here but i still couldn't manage any progress.

a picture for example
You do not have the required permissions to view the files attached to this post.

Re: Help With Imagetool.

Fri Feb 11, 2022 2:16 am

I don't see the correlation between wanting to display a graphic via HudMessage and ImageTool. If you want to display a graphic via HudMessage, you do just that.

Re: Help With Imagetool.

Fri Feb 11, 2022 2:17 am

you can just display graphics of any sort using HudMessage?

If that doesn't work then ZDaemon might not be able to be used for such a thing. I don't know much about it.

Re: Help With Imagetool.

Fri Feb 11, 2022 6:01 am

With ZDaemon just do a HudMessage with "A" as the message and the image as the font. That's been a ZDoom thing since forever and a decade.
Example:

Code:
script 1 (void)
{
   SetFont("BSPLAT");
   HudMessage(s:"A"; HUDMSG_PLAIN, 0, 0, 0.1, 0.8, 3.7);
}


You may have to ensure that the glyph is either in the "Textures" or "Graphics" namespace - not sure if ZDaemon supports cross-namespacing like ZDoom does.

https://zdoom.org/wiki/HudMessage

Re: Help With Imagetool.

Sun Feb 13, 2022 12:56 pm

Using the conventional method only displays "A" instead of the pictures by using HudMessage and converting my picture to doom format by slade then putting them Between FF marker, and according to this post:
https://forums.zdaemon.org/viewtopic.php?p=267587&sid=872e4da0a427bf5bb78cd648df418d1f
I need to convert my image to FON2 format but i've already mentioned that i couldn't succeed. i thought that maybe someone here have an old knowledge of this!

Re: Help With Imagetool.

Sun Feb 13, 2022 1:05 pm

Ah, I thought ZDaemon was at least a little bit more modernized than that. My mistake, then.

Re: Help With Imagetool.

Sun Feb 13, 2022 1:09 pm

I don't know if this will help but before it was possible to just use a graphic directly, it was the case that it needed to be converted to a font. The original Mona Lisa demo file shows how: https://zdoom.org/files/examples/monalisa.zip

Re: Help With Imagetool.

Mon Feb 14, 2022 10:04 am

Awesome! this Actually worked thank you very much.

Edit: here's my results if anyone came across this and in interest of it.
You do not have the required permissions to view the files attached to this post.