Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Iphone native *.heic support #35

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

varlog00
Copy link
Contributor

My wife has Iphone and suddenly I was confronted with *.heic files my Raspi/Slide didn't know what to do with. I looked around, made some assumptions and here I'm sharing the results: tested (at the moment) on raspi 4 buster support for *.heic format image for Slide.
Because getting the exif data from heic images was a bit tricky I made a change on top of my proposed ExifHelper - which helped :).

Take care

@varlog00 varlog00 closed this Apr 20, 2021
@NautiluX
Copy link
Owner

Hey, thanks for this PR sorry I didn't find the time to take a look at it and test it. I'll reopen it because I'm happy to integrate it.

@NautiluX NautiluX reopened this Apr 20, 2021
@NautiluX NautiluX mentioned this pull request Apr 20, 2021
Copy link
Owner

@NautiluX NautiluX left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still want to have a closer look at the code. I'm fine if you have to check out and compile that qt lib to build binaries for slide, but if one just wants to use it we should at least provide a simple way to use it without until it's an official part of the qt lib. WDYT?

Comment on lines +83 to +94
Build Qt plugin for *.heic (Iphone) files

```
git clone https://github.com/jakar/qt-heif-image-plugin.git
cd qt-heif-image-plugin
mkdir -p build
cd build
cmake ..
make
sudo make install
```

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this necessary only to compile from source or as well to just run it? Can I use slide without heic support if I leave this out?

@@ -50,6 +50,11 @@ slide [-t rotation_seconds] [-o background_opacity(0..255)] [-b blur_radius] -p
* qt5-image-formats-plugins
* libexif

## if *.heic support wanted
* libheif
* qt-heif-image-plugin (alas is not a part of Qt jet, have to be compiled, see instuctions below)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* qt-heif-image-plugin (alas is not a part of Qt jet, have to be compiled, see instuctions below)
* qt-heif-image-plugin (alas is not a part of Qt yet, have to be compiled, see instuctions below)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants