Skip to main content
Solved

PNG Palette

  • January 14, 2013
  • 1 reply
  • 6 views

Forum|alt.badge.img

I have a large NITF image (grey scale, with palette). In the course of a number of transofmrations (reprojection, etc.) it gets converted to an RGBA (the palette is resolved).

 

 

Now I want to save it as a PNG. I do not need all the RGB bands. I see that PNGRASTER has a grey scale, and also a pallette option.

 

 

Is there a transform to shrink the RGBA to a Grey Scale plus Alpha PNG image (and pallette might also be nice).

 

 

The goal is to get the disk size smaller. Just compressing at level 6 is resulting in a 400% explosion from the original NITF.

 

 

 

Best answer by davideagle

Hi - Take a look at the RasterInterpretationCoercer and the RasterPaletteInterpretationCoercer, they might help you out.
View original
Did this help you find an answer to your question?
This post is closed to further activity.
It may be a question with a best answer, an implemented idea, or just a post needing no comment.
If you have a follow-up or related question, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

davideagle
Contributor
Forum|alt.badge.img+21
  • Contributor
  • Best Answer
  • January 14, 2013
Hi - Take a look at the RasterInterpretationCoercer and the RasterPaletteInterpretationCoercer, they might help you out.

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings