How to optimize CMS or static images in/using Hydrogen Image Component

I want to static images optimization. How can i do that in hydrogen?

The Hydrogen image component is intended to work with Shopify image resources. If you want a more generic image component, I suggest using unpic: @unpic/react – Unpic