Help to set DPI!

Advanced Renamer forum
#1 : 07/11-16 18:08
Nico Tanne
Nico Tanne
Posts: 2
Hello i need to rename my files with a height in cm.
but advanced renamer calculates with 72dpi
but with exiftool i can read the real dpi size but dont calculate to cm.
is there a way to set the dpi from exif tool and calculate the real size?

Thank you very much for Help!



07/11-16 18:08
#2 : 08/11-16 00:53
G. Lambany
G. Lambany
Posts: 187
Reply to #1:
Yes, we can do that with a script method in AR

so, you want to extract image resolution (exif ImageHeight and ImageWith) make sure the dpi is in inch (exif ResolutionUnit) and convert resolution with exif XResolution and YResolution to centimeters? Do you see the same exif tags in your pictures?

cheers


08/11-16 00:53
#3 : 08/11-16 01:18
G. Lambany
G. Lambany
Posts: 187
Reply to #2:
Something like that?

adds 0.00x0.00 to the filename, using WidthxHeight

http://pastebin.com/HeinQ3SF

cheers


08/11-16 01:18
#4 : 08/11-16 07:59
Nico Tanne
Nico Tanne
Posts: 2
Reply to #3:

That´s it!
Works fine for me!

Best Regards


08/11-16 07:59