quarkus-web-bundler icon indicating copy to clipboard operation
quarkus-web-bundler copied to clipboard

Add image processing support

Open ia3andy opened this issue 2 years ago • 5 comments

automatic change format, resize, crop, ...

ia3andy avatar Jun 29 '23 15:06 ia3andy

We already added some feature in Qute to be able to support this

ia3andy avatar Sep 23 '24 15:09 ia3andy

Oh really? In Qute?

FroMage avatar Sep 23 '24 16:09 FroMage

@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.

ia3andy avatar Sep 23 '24 16:09 ia3andy

What tree? What image tag? I'm not following how this relates to image processing.

FroMage avatar Sep 23 '24 16:09 FroMage

@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

mkouba avatar Sep 24 '24 06:09 mkouba