Opened 21 years ago
Closed 20 years ago
#475 closed defect (duplicate)
Need to pre-allocate colors for 8-bit output.
Reported by: | sdlime | Owned by: | sdlime |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | MapServer C Library | Version: | 4.1 |
Severity: | normal | Keywords: | |
Cc: |
Description
Need a function to pre-allocate colors for a map just after the image is created. This would involve 1 trip through the map file. It's basically how versions prior to 4.0 behaved. The downside is that you may allocate a few colors too many, but at least you know if a layer is on or not at this point, unlike before. The upside is that rasters can't hog the color palette. Steve
Note:
See TracTickets
for help on using tickets.