Bug report #16139

Photo are inversed (upsidedown)

Added by Patrice Vetsel - almost 8 years ago. Updated over 6 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Unknown
Affected QGIS version:master Regression?:No
Operating System:windows10 Easy fix?:No
Pull Request or Patch supplied:No Resolution:fixed/implemented
Crashes QGIS or corrupts data:No Copied to github as #:24051

Description

(2.18.3)
After try to use photo2kmz, after importing the kmz and set the form (containing photo name) to Picture, the display of the photo is inversed (up<->down) see screenshot

screenshot.png - screenshot (400 KB) Patrice Vetsel -, 2017-01-31 11:19 PM

IMG_0047.JPG (3.45 MB) Patrice Vetsel -, 2017-01-31 11:22 PM

Associated revisions

Revision 574a6549
Added by Nyall Dawson over 6 years ago

Respect image orientation and transforms in attachment widget

Fixes #16139

Revision f7f34efb
Added by Nyall Dawson over 6 years ago

Respect image orientation and transforms in attachment widget

Fixes #16139

(cherry-picked from 574a65)

History

#1 Updated by Patrice Vetsel - almost 8 years ago

#2 Updated by Patrice Vetsel - almost 8 years ago

  • File deleted (kmztoshp.qgs)

#3 Updated by Patrice Vetsel - almost 8 years ago

  • File deleted (kmztoshp.qgs)

#4 Updated by Patrice Vetsel - almost 8 years ago

  • File deleted (kmztoshp.qgs)

#5 Updated by Patrice Vetsel - almost 8 years ago

  • File deleted (kmztoshp.qgs)

#6 Updated by Patrice Vetsel - almost 8 years ago

  • File deleted (kmztoshp.qgs)

#7 Updated by Patrice Vetsel - almost 8 years ago

  • File deleted (kmztoshp.qgs)

#8 Updated by Patrice Vetsel - almost 8 years ago

  • File deleted (kmztoshp.qgs)

#9 Updated by Patrice Vetsel - almost 8 years ago

  • File deleted (kmztoshp.qgs)

#10 Updated by Harrissou Santanna almost 8 years ago

@Patrick, photo2kmz is an external plugin and as is, issues related to it should be reported in its bug tracker (https://issues.qgis.org/projects/photo2kmz/issues?set_filter=1&tracker_id=1 Actually even this link should not be used as plugin authors were invited to no longer use the hub to host their plugins if I'm not wrong).

Meanwhile, have you tested the External Resource widget (or, more basic, the Photo widget) of QGIS (layer properties -->Fields --> Edit widget)?

#11 Updated by Patrice Vetsel - almost 8 years ago

Harissou : it's not the plugin that load and display the picture. It's qgis with Fields set to photo widget.
Regards

#12 Updated by Harrissou Santanna almost 8 years ago

Ah ok sorry! I quickly read you.
Could you test the External Resource widget which also provides the picture capabilities? In the project I used it (2.18), it doesn't invert the picture. Note that the Photo widget has been removed from qgis 3 (and totally moved to External Resource) hence I'm not sure devs will spend time on fixing this issue unless it's broken also in Resource widget for 2.18 (but I'm not a dev).

#13 Updated by Giovanni Manghi over 7 years ago

  • Regression? set to No
  • Easy fix? set to No

#14 Updated by Jürgen Fischer about 7 years ago

  • Category set to Unknown

#15 Updated by Luca Lanteri over 6 years ago

the original photo are upsidedown with a orientation tag set to "right-bottom".
You have to remove tag with [0] and physically rotate the image.

Seem that the resource widget can't read orientation tags, also in QGIS 3.0.

[0] exiftool --orientation='' IMG_0047.JPG

#16 Updated by Nyall Dawson over 6 years ago

  • Status changed from Open to In Progress
  • Description updated (diff)

#17 Updated by Nyall Dawson over 6 years ago

  • % Done changed from 0 to 100
  • Status changed from In Progress to Closed

#18 Updated by Giovanni Manghi over 6 years ago

  • Resolution set to fixed/implemented

Also available in: Atom PDF