Hi there !

I'm working on a webapp project where PNG images are huge because they
contain many layers. The layers are useless when running the webapp, but we
would like to keep them in our repository because that's the native format
for the guy editing them.

We all know that Maven can substitute properties in text resources, but how
can we filter those binary PNG images through pngcrush or a similar program
in order to create a war that is as small as possible ?

It looks like plugin configurations are not enough to do this, so I'm
getting ready to create a custom plugin. But I don't know what would be the
best way to achieve our goal.

Thanks in advance for you asnwers !

Reply via email to