1

This image rotates during resizing even after adding .rotate() and .withMetadata() to sharp pipline.

enter image description here

Henock
  • 98
  • 11

1 Answers1

1

You need to make sure that methods in order

  .withMetadata()`
  .resize(width, height)
Ngoc Bui
  • 56
  • 1