![]() |
How to read aux:Lens from xmp image info?
How to read aux:Lens from xmp image info?
My first post, I hope this thread is where it should be. I’m trying to read lens name info from a JPG image saved from PS. From what I can conjure up with google I’ve narrowed it down to this PHP function by Pekka Saarinen http://photography-on-the.net/ee/bet...mp_to_exif.php Code:
<?phpI’ve been trying to get this custom function to work in pixelpost with modding the functions _exif.php file but my lack of PHP knowledge and a decent way to debugging has stumped me, I know this method will work but someone with a handle on PHP is needed i can be emailed at bryan AT bryan-howard DOT com |
well first off you should not try to hack the core functions of Pixelpost. Secondly this should be done in an addon.
Third, I'll whip something up for you asap. |
Ok im trying to get this to work as an addon but, I’m stuck with this code
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
I'm not too familiar with the EXIF functions as I have never taken the plunge into those files but a regex like this:
Code:
aux:Lens="(.*?)"EF24-70mm f/2.8L USM from this string, aux:Lens="EF24-70mm f/2.8L USM" aux:ImageNumber="64" |
I'm working on an addon as we speak.
|
Dennis your addon will no doubt be far superior to mine and i will pick it apart when i get stuck again :)
|
Howard, I seriously doubt that my addon will be far more superior, after all it is based on the same code. ;)
|
It's going to take a little bit more to get this all working. I can extract the info you want, but I don't want to stop there.
|
hi there,
just wondering if there has been an progress with this addon. Thank you. |
Yes, there is. However, I use some code which is not freely available at this point. I'm still waiting if I can release it.
|
| All times are GMT. The time now is 07:44 AM. |
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.