https://bugs.documentfoundation.org/show_bug.cgi?id=149645

            Bug ID: 149645
           Summary: insert photo album does not rotate images
           Product: LibreOffice
           Version: 7.3.3.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: medium
         Component: Impress
          Assignee: [email protected]
          Reporter: [email protected]

Description:
When inserting images with the album functionality, images are not rotated
according to the exif data.
Since bug 146019 is resolved, inserted images are rotated automatically
matching to the exif data (without user confirmation) in almost all places. So
I expected it here too.

Steps to Reproduce:
1. in menu, select Insert->Media->Picture Galery
2. select "insert" button in the dialog
3. select an image with exif rotation (eg. attachment 176569)
3. click "open" (in the selection dialog)
4. click "insert slides" (in the album dialog)

Actual Results:
the image is inserted rotated (down is not down)

Expected Results:
the picture is inserted looking normal (so rotated according to the exif data)


Reproducible: Always


User Profile Reset: No



Additional Info:
I tested with 7.3.3.2 (and 7.0.4.2)

The automatic rotation without confirmation should be in 7.3.x according to
https://bugs.documentfoundation.org/show_bug.cgi?id=146019#c3

In the code for photo album [1] some code like the following is probably
missing:

    const Degree10 aRotation = aMetadata.getRotation();
    if (aRotation)
    {
        GraphicNativeTransform aTransform( aGraphic );
        aTransform.rotate( aRotation );
    }

code found in
https://git.libreoffice.org/core/+/30f6ad6a617e7b9aa86f774e8b6da9c4ae8ad9f4%5E%21

[1]
https://git.libreoffice.org/core/+/refs/heads/master/sd/source/ui/dlg/PhotoAlbumDialog.cxx#124

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to