Page 1 of 1
support for XCF and PSD images
Posted: Wed Jan 04, 2012 6:52 am
by kram1024
I think that having the engine allowing XCF and PSD image (both layered raster images) would be nice since then you could expect zdoom itself to flatten the image at load time instead of having to dump a bmp/jpg/png/... to load in the wad.
Re: support for XCF and PSD images
Posted: Wed Jan 04, 2012 6:54 am
by Xaser
This would not only take a bastardload more processing time, but also murder filesize to headdesk-worthy amounts, I'd imagine.
Re: support for XCF and PSD images
Posted: Wed Jan 04, 2012 6:54 am
by Tapwave
kram1024 wrote:I think that having the engine allowing XCF and PSD image (both layered raster images) would be nice since then you could expect zdoom itself to flatten the image at load time instead of having to dump a bmp/jpg/png/... to load in the wad.
I seriously don't see why you would need to incorporate that. i'm pretty sure both can be "flattened" into truecolor PNGs easily, and take much, much less room that way.
This is just laziness.
/edit Xaser, y u so fast

Re: support for XCF and PSD images
Posted: Wed Jan 04, 2012 7:02 am
by Enjay
terranova wrote:This is just laziness.
It certainly looks that way to me: wanting the native file format of your graphics editor to be supported simply because you can't be bothered picking an alternative format when using File/Save as...
Re: support for XCF and PSD images
Posted: Wed Jan 04, 2012 11:01 am
by Gez
If I had developer status, I'd have noed this already.
There is really no reason for ZDoom to support this image format. It takes a lot more space than a flattened version, and it's not like the engine is going to make use of these formats' specificities, since there are no concept of layers and no need to care about the command history. There is also no precedent for any game engine having its resource in such a format. In short, this has no benefit at all for ZDoom itself or for ZDoom users.
Re: support for XCF and PSD images
Posted: Wed Jan 04, 2012 11:17 am
by Project Shadowcat
"Oh HELL no!"
Re: support for XCF and PSD images
Posted: Wed Jan 04, 2012 12:19 pm
by Nash
Add me to the "I don't see the point" crowd.
Re: support for XCF and PSD images
Posted: Wed Jan 04, 2012 2:12 pm
by Graf Zahl
Ugh...
Re: support for XCF and PSD images
Posted: Thu Jan 05, 2012 10:40 pm
by kram1024
what about being able re-edit the same lump on the fly if need be, that is the real reason for the request. if the image is already layered, then you would not have to start all over again just because of a slight imperfection. that is what the point is. the other choice: a packager for wads that supports at least one of the two formats (gimp supports both) so that you could have a backup wad with the layered image and a distibutable one with pngs for playback only
Re: support for XCF and PSD images
Posted: Thu Jan 05, 2012 11:22 pm
by Minigunner
Do it yourself. Export each layer as its own PNG image, then use
ZDoom's method of layered graphics.
Re: support for XCF and PSD images
Posted: Thu Jan 05, 2012 11:39 pm
by kram1024
I have been trying to figure out how to do that for quite a while, thanks, since gimp can copy and past layers, I can dump and crop each gimp layer as its own png, then write a tool for converting layer offsets as viewable in a graphics editor into zdoom offsets and no extra features need to be added. I assume that it is now appropriate to lock down this post since I doubt anything useful will be added unless it attracts an unintentional flame or two.
Re: support for XCF and PSD images
Posted: Fri Jan 06, 2012 2:16 am
by TheDarkArchon
Also, you could just save 2 copies, 1 in XCF or PSD, 1 flattened to PNG.