[digikam] [Bug 429021] Wrong image rotation when extracting face thumbs

2020-11-12 Thread Beto Kella
https://bugs.kde.org/show_bug.cgi?id=429021

--- Comment #8 from Beto Kella  ---
(In reply to Beto Kella from comment #7)
> Hummm... You mean I indirectly "fixed" the face coordinates so it 
> matches the image and creating the thumbs in ImageMagick now works? 
> Intriguing only a (comparably) few images are affected. Also intriguing 
> the behavior in digiKam when you rotate the image back and forth and the 
> thumbnail flips in random directions first before rotation according to 
> the image... It doesn't occur with "the correct" images.
> 
> On 2020-11-12 16:29, Maik Qualmann wrote:
> > https://bugs.kde.org/show_bug.cgi?id=429021
> > 
> > Maik Qualmann  changed:
> > 
> > What|Removed |Added
> > 
> >   Status|REPORTED|RESOLVED
> >   Resolution|--- |NOT A BUG
> > Version Fixed In||7.2.0
> > 
> > --- Comment #6 from Maik Qualmann  ---
> > If you rotate the images back and forth in digiKam, they are actually 
> > rotated
> > losslessly depending on the setting in digiKam setup and the orientation 
> > flag
> > is then "normal". It is clear that the face coordinates then match the 
> > image.
> > 
> > Maik
> > 
> 
> /Roberto

Adding -auto-orient option to ImageMagic did the trick. Sorry for opening as a
bug in digiKam. The behavior described above created bias.

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 429021] Wrong image rotation when extracting face thumbs

2020-11-12 Thread Beto Kella
https://bugs.kde.org/show_bug.cgi?id=429021

--- Comment #7 from Beto Kella  ---
Hummm... You mean I indirectly "fixed" the face coordinates so it 
matches the image and creating the thumbs in ImageMagick now works? 
Intriguing only a (comparably) few images are affected. Also intriguing 
the behavior in digiKam when you rotate the image back and forth and the 
thumbnail flips in random directions first before rotation according to 
the image... It doesn't occur with "the correct" images.

On 2020-11-12 16:29, Maik Qualmann wrote:
> https://bugs.kde.org/show_bug.cgi?id=429021
> 
> Maik Qualmann  changed:
> 
> What|Removed |Added
> 
>   Status|REPORTED|RESOLVED
>   Resolution|--- |NOT A BUG
> Version Fixed In||7.2.0
> 
> --- Comment #6 from Maik Qualmann  ---
> If you rotate the images back and forth in digiKam, they are actually rotated
> losslessly depending on the setting in digiKam setup and the orientation flag
> is then "normal". It is clear that the face coordinates then match the image.
> 
> Maik
> 

/Roberto

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 429021] Wrong image rotation when extracting face thumbs

2020-11-12 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=429021

Maik Qualmann  changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
 Resolution|--- |NOT A BUG
   Version Fixed In||7.2.0

--- Comment #6 from Maik Qualmann  ---
If you rotate the images back and forth in digiKam, they are actually rotated
losslessly depending on the setting in digiKam setup and the orientation flag
is then "normal". It is clear that the face coordinates then match the image.

Maik

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 429021] Wrong image rotation when extracting face thumbs

2020-11-12 Thread Beto Kella
https://bugs.kde.org/show_bug.cgi?id=429021

--- Comment #5 from Beto Kella  ---
(In reply to Maik Qualmann from comment #4)
> But that's not a bug in digiKam. You have to understand that digiKam always
> stores the face coordinates internally with the aligned image. When writing
> metadata to the image, as is the standard in many programs, the face
> coordinates for the unaligned image are then saved. So you have to read the
> orientation flag in the DB and rotate the image accordingly with ImageMagick.
> 
> Maik

All cases are fixed after I rotate the images back and forth and extract the
thumbs again, without changing any option in ImageMagic...

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 429021] Wrong image rotation when extracting face thumbs

2020-11-12 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=429021

--- Comment #4 from Maik Qualmann  ---
But that's not a bug in digiKam. You have to understand that digiKam always
stores the face coordinates internally with the aligned image. When writing
metadata to the image, as is the standard in many programs, the face
coordinates for the unaligned image are then saved. So you have to read the
orientation flag in the DB and rotate the image accordingly with ImageMagick.

Maik

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 429021] Wrong image rotation when extracting face thumbs

2020-11-12 Thread Beto Kella
https://bugs.kde.org/show_bug.cgi?id=429021

--- Comment #3 from Beto Kella  ---
(In reply to Maik Qualmann from comment #2)
> I don't know if his problem is he is extracting an invalid / old face
> thumbnail. Or whether it is the bug that if there is a facial thumbnail
> already with the coordinates, no new and correct one is created. The face
> thumbnail in the DB is found using a path + rectangle identifier.
> 
> Maik

I am not getting the thumbs from the DB (could not fathom how...). I am getting
the image paths and using ImageMagic to extract the rectangle indicated by the
coordinates in ImageTagProperties.
/Roberto

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 429021] Wrong image rotation when extracting face thumbs

2020-11-12 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=429021

Maik Qualmann  changed:

   What|Removed |Added

 CC||metzping...@gmail.com

--- Comment #2 from Maik Qualmann  ---
I don't know if his problem is he is extracting an invalid / old face
thumbnail. Or whether it is the bug that if there is a facial thumbnail already
with the coordinates, no new and correct one is created. The face thumbnail in
the DB is found using a path + rectangle identifier.

Maik

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 429021] Wrong image rotation when extracting face thumbs

2020-11-12 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=429021

caulier.gil...@gmail.com changed:

   What|Removed |Added

 CC||caulier.gil...@gmail.com

--- Comment #1 from caulier.gil...@gmail.com ---
It still reproducible using current 7.2.0-betaƩ installer for Windows ?

https://files.kde.org/digikam/

Gilles Caulier

-- 
You are receiving this mail because:
You are watching all bug changes.