processing / processing/processing4

loadImage ignores JPEG Orientation Metadata

Open
#947 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug core help wanted
Dominant language
Java
Stars
494
Forks
183
Avg merge
4h 39m
Merged PRs (30d)
3

Description

When using loadImage to load a JPEG image with orientation metadata, Processing seems to ignore it and renders the image in the wrong orientation. In my specific case, the image is showing upside down.
I'm attaching a sample JPEG image with such attribute that is loaded upside down.

Image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the loadImage entry point and the JPEG decoding path, then reproduce the issue with the attached sample JPEG. The work is done when JPEG orientation metadata is honored and the image renders upright rather than upside down.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
computer-graphics
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.