Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transform images with sharp (v4) #6

Open
leomp12 opened this issue Jun 30, 2021 · 1 comment
Open

Transform images with sharp (v4) #6

leomp12 opened this issue Jun 30, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@leomp12
Copy link
Member

leomp12 commented Jun 30, 2021

https://sharp.pixelplumbing.com/

sharp(input)
  .resize(200, 200, {
    fit: sharp.fit.inside,
    withoutEnlargement: true
  })
  .toFormat('jpeg')
  .toBuffer()
  .then(function(outputBuffer) {
    // outputBuffer contains JPEG image data
    // no wider and no higher than 200 pixels
    // and no larger than the input image
  })
@leomp12 leomp12 added the enhancement New feature or request label Jun 30, 2021
@leomp12 leomp12 self-assigned this Jun 30, 2021
@leomp12 leomp12 added the help wanted Extra attention is needed label Jun 30, 2021
leomp12 added a commit that referenced this issue Jun 30, 2021
@leomp12
Copy link
Member Author

leomp12 commented Sep 16, 2021

Mazurco066 added a commit to confere-stores/storage-api that referenced this issue Feb 1, 2022
leomp12 pushed a commit that referenced this issue Feb 1, 2022
#6

* feat: creating cloudflare adapter

* feat: cloudflare integration

* feat: cloudflare integration

* feat: cloudflare integration

* feat: cloudflare integration

* fix: ecom review #1

* fix: ecom review #1

* fix: ecom review #3

* fix: ecom review #4

* fix: ecom review #4

* fix: ecom review #5

* fix: ecom review #6

* fix: ecom review #7

* fix: ecom review #8
leomp12 pushed a commit that referenced this issue Feb 3, 2022
…ariants [#9]

* feat: creating cloudflare adapter

* feat: cloudflare integration

* feat: cloudflare integration

* feat: cloudflare integration

* feat: cloudflare integration

* fix: ecom review #1

* fix: ecom review #1

* fix: ecom review #3

* fix: ecom review #4

* fix: ecom review #4

* fix: ecom review #5

* fix: ecom review #6

* fix: ecom review #7

* fix: ecom review #8

* fix: ecom review #8

* refactor(uploader): cloudflare uploader

* test(logic): testing logic

* refactor: logic

* refactor: logic
@leomp12 leomp12 removed the help wanted Extra attention is needed label Feb 3, 2022
@leomp12 leomp12 removed their assignment Feb 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant