Flipped orientation flags ignored

Created on 9 October 2017, over 6 years ago
Updated 29 October 2023, 8 months ago

Doing a pro-bono site for my sister only to find her camera software is a bit unusual... it uses the flipped orientation flags

http://www.impulseadventure.com/photo/exif-orientation.html

NOTE: Values with "*" are uncommon since they represent "flipped" orientations.

Easy enough to detect to rotate, but the rotate itself causes a "flipped" image (face right when it should face left / flipped horizontally)

    $flip_image = FALSE;
    switch ($file_exif['Orientation']) {
      case 3:
        $flip_image = TRUE;
      case 2:
        $degrees = 180;
        break;

Sadly the core image toolkit don't appear to be able to handle this out of the box, so not sure on options :(

About to search core issue queue if there is a corresponding issue.

πŸ› Bug report
Status

RTBC

Version

1.0

Component

Code

Created by

πŸ‡¦πŸ‡ΊAustralia Alan D.

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024