keystatic icon indicating copy to clipboard operation
keystatic copied to clipboard

Can you support image compression?

Open mxz94 opened this issue 1 year ago • 4 comments

Can you support image compression?

mxz94 avatar Apr 06 '24 08:04 mxz94

Yes, via cloud images!

Image storage, optimisation, and delivery is one of the features of Keystatic Cloud—a product that integrates with Keystatic, offering additional functionality.

jossmac avatar Apr 10 '24 05:04 jossmac

I just want to save the image compressed with js to github

mxz94 avatar Apr 11 '24 01:04 mxz94

Could you explain in more detail what that might look like? Include screenshots, code snippets, links to existing implementations; anything that will help convey your assumptions and expectations.

jossmac avatar Apr 12 '24 00:04 jossmac

This is my keystatic.config.ts configuration image

I wrote an article and uploaded a 1.32MB image. image

Then I have the original file in my github directory, and I'd like this image to be compressed a little smaller (you can set the ratio) image

mxz94 avatar Apr 12 '24 03:04 mxz94