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

Suggestion: Add the possibility to get the Image dimensions #4

Closed
paulmassen opened this issue Nov 28, 2016 · 0 comments
Closed

Suggestion: Add the possibility to get the Image dimensions #4

paulmassen opened this issue Nov 28, 2016 · 0 comments

Comments

@paulmassen
Copy link
Contributor

Hi,

Smart Image Renamer is very helpful, but I would be glad to get the Dimension of my photos in order to have a renamed file as below:
2016-myimage-900x600.jpg

I tried to add this:

'Model': exif_data.get('Model', ''),
                                  'Dim1': exif_data.get('XResolution', ''),
                                  'Dim2': exif_data.get('YResolution', ''),
                                  'Folder': os.path.basename(root),

With no success.
Hope you can help me!

Thanks

paulmassen added a commit to paulmassen/smart-image-renamer that referenced this issue Jan 18, 2017
This is a suggestion I made a few weeks ago ronakg#4
This is my first time messing with python, so the syntax might not be the best and it might be worth having a second look at this, but it works fine apparently.
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

No branches or pull requests

1 participant