Project

General

Profile

Feature #1487

[InFine] ximage: support for 8-bit paletted PNG images

Added by vermil over 15 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Enhancement
Target version:
-
Start date:
2009-04-01
% Done:

100%

Tags:

Description

I want to use the “ximage” infine command in my mod to load a very large number of external images to take advantage of the lack of palette restrictions.
However the command only seems to support RGB indexed images, which tremendously bloats the size. i.e. I have a 320x200 indexed png file that is 10kb. But converted to RGB, it takes up 190kb.

I could load the pngs as external patches, which supports images in indexed format. But that would mean having a wad with a ton of “dummy images” inside (i.e blank image lumps for the external patches to replace), which isn’t very clean.

Using this method also requires the use of the” –pwadtex” command line option, which would be an extra step for anyone else who wishes to play my mod when it is finished.

Labels: Customizability


Related issues

Related to Feature #1502: Load any supported image format from WAD lumpNew2009-11-17

History

#1 Updated by skyjake about 11 years ago

  • Tags set to Resources, InFine
  • Subject changed from less restrictive image support for the ximage command to Support for 8-bit paletted PNG images
  • Status changed from New to In Progress

I'm not sure if this actually implemented already?

#2 Updated by skyjake about 11 years ago

  • Tags changed from Resources, InFine to Resources, InFine, Mod
  • Subject changed from Support for 8-bit paletted PNG images to [InFine] ximage: support for 8-bit paletted PNG images

#3 Updated by danij about 11 years ago

The texture manager should already support this, yes.

#4 Updated by skyjake about 11 years ago

  • Status changed from In Progress to Feedback
  • Assignee set to vermil

Maybe vermil could then re-evaluate the status of this request?

#5 Updated by vermil about 11 years ago

It does appear to be fixed yes.

On another note; the Ximage command is cool and all, but it can only be used with rectangles.

There is no command in infine to straight up load an external image; one has to create a rectangle and then attach the external image to it.

#6 Updated by skyjake about 11 years ago

  • Category set to Enhancement
  • Status changed from Feedback to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF