Skip to content

Processed image is rotated from portrait to landscape #1104

@zadam

Description

@zadam

Expected Behavior

Image should preserve the original portrait orientation.

Current Behavior

Code:

const image = await jimp.read(buffer);

const processed = await image.getBufferAsync(jimp.MIME_JPEG);

Will change the orientation from portrait to landscape for this image: IMG_5029.zip

  • Jimp Version: 0.16.1
  • Operating System: Ubuntu 22.04
  • Node version: 16.18.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugthere is a bug in the way jimp behaveshelp wantedreleasedThis issue/pull request has been released.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions