PinataCloud / pinata

The new Pinata SDK
https://docs.pinata.cloud/sdk
MIT License
8 stars 4 forks source link

Feature Request: Allow Simple Image Optimizations Through the SDK #13

Closed polluterofminds closed 2 months ago

polluterofminds commented 2 months ago

Pinata already supports image optimizations. Since the SDK supports fetching files, it's be interesting to support optimizing those files if they are images. It could look something like:

await pinata.gateways.get("Qm..").resize({width: 100, height: 100})
stevedylandev commented 2 months ago

Feature merged! Will be included in next release 🤝🏻