quarkus-web-bundler
quarkus-web-bundler copied to clipboard
Add image processing support
automatic change format, resize, crop, ...
We already added some feature in Qute to be able to support this
Oh really? In Qute?
@FroMage you remember we need some part of the tree to be able to detect the image tag at buildtime. We discussed it at the f2f. AFAI rememebr @mkouba implemented that part.
What tree? What image tag? I'm not following how this relates to image processing.
@FroMage you remember we need some part of the tree to be able to detect the image tag at buildtime. We discussed it at the f2f. AFAI rememebr @mkouba implemented that part.
Yes, I did. It's the Template#findNodes(Predicate<TemplateNode>) method. And here's an example how to use it: https://github.com/quarkusio/quarkus/blob/main/independent-projects/qute/core/src/test/java/io/quarkus/qute/TemplateNodesTest.java#L32-L59