Approve the Cookies
This website uses cookies to improve your user experience. By using this site, you agree to our use of cookies and our Privacy Policy.
OK
Index  •   • New posts  •   • RTAT  •   • 'Best of'  •   • Gallery  •   • Gear  •   • Reviews
Guest
New posts  •   • RTAT  •   • 'Best of'  •   • Gallery  •   • Gear  •   • Reviews
Register to forums    Log in

 
FORUMS Canon Cameras, Lenses & Accessories Canon EOS Digital Cameras 
Thread started 10 Apr 2012 (Tuesday) 23:04
Search threadPrev/next
sponsored links
(this ad will go away when you log in as a registered member)

Lens doesn't show up in EXIF

 
BushWacker
Goldmember
Avatar
2,128 posts
Gallery: 1 photo
Likes: 603
Joined Dec 2011
Location: Lake Tahoe, USA
     
Apr 10, 2012 23:04 |  #1

Why doesn't the lens type show up in the EXIF info file in Photoshop most of the time. I'm using a 5DMkII with various lenses and sometimes it shows up and most times it does not. It will give me the focal length every time but not the particular lens used which would be very helpful info to have. What's up with that?


"When I shoot something I use a Canon!"
-------------- Gear List | flickr (external link) --------------

  
  LOG IN TO REPLY
sponsored links
(this ad will go away when you log in as a registered member)
smythie
I wasn't even trying
3,718 posts
Gallery: 30 photos
Likes: 648
Joined Jun 2009
Location: Sydney - Australia
     
Apr 10, 2012 23:06 |  #2

Are you using any non-Canon lenses (I don't see any in your sig)?


Gear List

  
  LOG IN TO REPLY
BushWacker
THREAD ­ STARTER
Goldmember
Avatar
2,128 posts
Gallery: 1 photo
Likes: 603
Joined Dec 2011
Location: Lake Tahoe, USA
     
Apr 10, 2012 23:16 |  #3

smythie wrote in post #14245511 (external link)
Are you using any non-Canon lenses (I don't see any in your sig)?

Nope, don't have any non-Canon lenses.


"When I shoot something I use a Canon!"
-------------- Gear List | flickr (external link) --------------

  
  LOG IN TO REPLY
BushWacker
THREAD ­ STARTER
Goldmember
Avatar
2,128 posts
Gallery: 1 photo
Likes: 603
Joined Dec 2011
Location: Lake Tahoe, USA
     
Apr 10, 2012 23:22 as a reply to  @ BushWacker's post |  #4

I might have found it. The lens type isn't showing up in the .jpg files but is showing up in the raw .dng files. Is there a way to get the lens type out of a .jpg file?


"When I shoot something I use a Canon!"
-------------- Gear List | flickr (external link) --------------

  
  LOG IN TO REPLY
tzalman
Fatal attraction.
Avatar
13,476 posts
Likes: 196
Joined Apr 2005
Location: Gesher Haziv, Israel
     
Apr 11, 2012 04:03 |  #5

How are you converting Raw to RGB?
How are you writing the jpg?

At one of these points parts of the EXIF are being dropped.


Elie / אלי

  
  LOG IN TO REPLY
BushWacker
THREAD ­ STARTER
Goldmember
Avatar
2,128 posts
Gallery: 1 photo
Likes: 603
Joined Dec 2011
Location: Lake Tahoe, USA
     
Apr 11, 2012 12:58 |  #6

tzalman wrote in post #14246209 (external link)
How are you converting Raw to RGB?
How are you writing the jpg?

At one of these points parts of the EXIF are being dropped.

I shoot Raw + JPG in the camera. The raw is converted to dng with Adobe dng converter and the JPG is right out of the camera. The converted dng file has the lens information but the JPG does not.


"When I shoot something I use a Canon!"
-------------- Gear List | flickr (external link) --------------

  
  LOG IN TO REPLY
John ­ from ­ PA
Cream of the Crop
9,272 posts
Likes: 837
Joined May 2003
Location: Southeast Pennsylvania
     
Apr 11, 2012 18:05 |  #7

Post a jpeg "right out of the camera" and lets see if the lens info is there.




  
  LOG IN TO REPLY
mike_311
Checking squirrels nuts
3,761 posts
Gallery: 18 photos
Best ofs: 1
Likes: 552
Joined Mar 2011
     
Apr 11, 2012 18:18 |  #8

it should be there, somehow lightroom knows what lens was used.


Canon 5d mkii | Canon 17-40/4L | Tamron 24-70/2.8 | Canon 85/1.8 | Canon 135/2L
www.michaelalestraphot​ography.com (external link)
Flickr (external link) | 500px (external link) | About me

  
  LOG IN TO REPLY
BushWacker
THREAD ­ STARTER
Goldmember
Avatar
2,128 posts
Gallery: 1 photo
Likes: 603
Joined Dec 2011
Location: Lake Tahoe, USA
     
Apr 12, 2012 02:53 |  #9

John from PA wrote in post #14249924 (external link)
Post a jpeg "right out of the camera" and lets see if the lens info is there.

Ok, here is a .jpg right out of the camera. It's a bit large:

IMAGE: http://i589.photobucket.com/albums/ss340/WackyBush/Travel/_MG_1856.jpg

And here is a copy of the info file from my version of Photoshop (CS3):

IMAGE: http://i589.photobucket.com/albums/ss340/WackyBush/Travel/INFO.jpg

Note there is nothing under the Lens field.

"When I shoot something I use a Canon!"
-------------- Gear List | flickr (external link) --------------

  
  LOG IN TO REPLY
tzalman
Fatal attraction.
Avatar
13,476 posts
Likes: 196
Joined Apr 2005
Location: Gesher Haziv, Israel
     
Apr 12, 2012 06:24 |  #10

BushWacker wrote in post #14251964 (external link)
Ok, here is a .jpg right out of the camera. It's a bit large:

But it's not right out of the camera, is it? Not unless the 5D2 has started making 1023x682 pixels jpgs. When it was resaved in PS that was a perfect opportunity for some of the metadata to be lost.

In fact, the lens type is never written in the EXIF. It is written in the Maker Notes. Apparently PSCS3 when using ACR reads and displays it from there (a Raw converter like ACR has to access the Maker Notes because that's where the WB info is), but the main body of PSCS when displaying a jpg file does not. Both LR and DPP read it with jpgs as well as CR2s, but many applications do not, they simply don't bother with the Maker Notes. And when PS saves a jpg it doesn't bother to rewrite the Maker Notes.


Elie / אלי

  
  LOG IN TO REPLY
BioSci
Senior Member
Avatar
413 posts
Gallery: 25 photos
Likes: 76
Joined Nov 2010
Location: Boston MetroWest Burbs
     
Apr 12, 2012 08:22 as a reply to  @ tzalman's post |  #11

Aah, the lens info DOES appear in the EXIF info for this JPG. I use "Jeffrey's EXIF viewer" directly from my browser on this web page, and it shows the lens as '35mm'. See below.


Basic Image Information
Artist: Photographer: $abo $ells Inc.
Copyright: Copyright 2012: $abo $ells, Inc.
Camera: Canon EOS 5D Mark II
Lens: 35 mm
Exposure: Manual exposure, 1/49 sec, f/6.3, ISO 250
Flash: Off, Did not fire
Date: March 28, 2012 6:01:11AM (timezone not specified)
(15 days, 18 minutes, 14 seconds ago, assuming image timezone of US Pacific)
File: 682 × 1,023 JPEG
97,488 bytes (0.093 megabytes) Image compression: 95%
3% crop of the 5,616 × 3,744 (21.0 megapixel) original
Color Encoding:
WARNING: No color-space metadata and no embedded color profile: Windows and Mac browsers and apps treat colors randomly.
Images for the web are most widly viewable when in the sRGB color space and with an embedded color profile. See my Introduction to Digital-Image Color Spaces for more information.
Image URL: http://i589.photobucke​t.com …yBush/Travel/_M​G_1856.jpg (external link)


EOS R | 7D | 24-70 f/2.8L II | 70-200 f/2.8L II | 100-400 f/4.5-5.6L | 17-55 f/2.8 | 11-16 f/2.8

Tyo Photography (external link)

  
  LOG IN TO REPLY
Bob_A
Cream of the Crop
Avatar
8,438 posts
Gallery: 48 photos
Likes: 46
Joined Jan 2005
Location: Alberta, Canada
     
Apr 12, 2012 08:27 |  #12

I use FxIF with Firefox and get the following:


HOSTED PHOTO
please log in to view hosted photos in full size.


Bob
SmugMug (external link) | My Gear Ratings | My POTN Gallery

  
  LOG IN TO REPLY
uOpt
Goldmember
Avatar
2,283 posts
Likes: 3
Joined Jun 2009
Location: Boston, MA, USA
     
Apr 12, 2012 08:31 |  #13

Right. The problem is that the lens model is in some nonstandard part of EXIF.

I had to hack up my own extractor of lens info for Linux/FreeBSD. The available tools only use the standard EXIF headers, they miss the lens model. The lens info is right there but I have to grab it myself.

The field that the lens info is in varies in format. Sometimes it has an "aux:Lens=" at the beginning and sometimes it does not. I bet you'll find that this is the difference that makes Adobe's tools recognize the lens info in some pictures but not in others.

This looks primitive but it works for me in all cases so far:


grep_for_lens ()
{
strings "$@" | egrep '[0-9]mm.*f/' \
| perl -p -e 's/^.*aux:Lens=\"(.*)\​".*$/$1/' \
| uniq \
| awk '{print "Lens : " $0}'
}

My imagine composition sucks. I need a heavier lens.

  
  LOG IN TO REPLY
John ­ from ­ PA
Cream of the Crop
9,272 posts
Likes: 837
Joined May 2003
Location: Southeast Pennsylvania
     
Apr 12, 2012 08:34 |  #14

Just a data point, if I open the image in the normally supplied Canon software (DPP & ZB), the EXIF for the image provided by the OP lacks the lens information. If however I take one of my own images from a 60D, all the EXIF information is present and retained.




  
  LOG IN TO REPLY
tzalman
Fatal attraction.
Avatar
13,476 posts
Likes: 196
Joined Apr 2005
Location: Gesher Haziv, Israel
     
Apr 12, 2012 09:18 |  #15

BioSci wrote in post #14252723 (external link)
Aah, the lens info DOES appear in the EXIF info for this JPG. I use "Jeffrey's EXIF viewer" directly from my browser on this web page, and it shows the lens as '35mm'. See below.

The focal length is not the same as the lens identification which would be its full name, i.e. zoom range, max aperture, etc.

John from PA wrote in post #14252768 (external link)
Just a data point, if I open the image in the normally supplied Canon software (DPP & ZB), the EXIF for the image provided by the OP lacks the lens information. If however I take one of my own images from a 60D, all the EXIF information is present and retained.

As I noted above, DPP reads data from the Maker Notes section of the metadata, which is distinct and different from the EXIF, for out of camera jpgs and for CR2s. When the OP resized and saved the posted jpg, PSCS stripped out the Maker Notes.

The contents of the EXIF is standard and mandated by a standards institute set up by the Japanese electronic devices industry. It contains a field for the focal length used but not for the lens id. code. The Maker Notes is a separate section of the file metadata and contains a complete listing of every setting option in the camera as well as other data primarily for the use of company technicians. Its contents are not fixed and the device maker can choose what data is there.


Elie / אלי

  
  LOG IN TO REPLY
sponsored links
(this ad will go away when you log in as a registered member)

2,862 views & 0 likes for this thread
Lens doesn't show up in EXIF
FORUMS Canon Cameras, Lenses & Accessories Canon EOS Digital Cameras 
AAA
x 1600
y 1600

Jump to forum...   •  Rules   •  Index   •  New posts   •  RTAT   •  'Best of'   •  Gallery   •  Gear   •  Reviews   •  Member list   •  Polls   •  Image rules   •  Search   •  Password reset

Not a member yet?
Register to forums
Registered members may log in to forums and access all the features: full search, image upload, follow forums, own gear list and ratings, likes, more forums, private messaging, thread follow, notifications, own gallery, all settings, view hosted photos, own reviews, see more and do more... and all is free. Don't be a stranger - register now and start posting!


COOKIES DISCLAIMER: This website uses cookies to improve your user experience. By using this site, you agree to our use of cookies and to our privacy policy.
Privacy policy and cookie usage info.


POWERED BY AMASS forum software 2.1forum software
version 2.1 /
code and design
by Pekka Saarinen ©
for photography-on-the.net

Latest registered member is karozenix
933 guests, 302 members online
Simultaneous users record so far is 15144, that happened on Nov 22, 2018

Photography-on-the.net Digital Photography Forums is the website for photographers and all who love great photos, camera and post processing techniques, gear talk, discussion and sharing. Professionals, hobbyists, newbies and those who don't even own a camera -- all are welcome regardless of skill, favourite brand, gear, gender or age. Registering and usage is free.