Page 1 of 1
No Pentax K20D Exif Makernotes
Posted: Thu Jan 01, 2009 11:55 am
by Nutznieser
Hallo,
I work with a Pentax K20D Camera. The makernotes from exif data in jpeg's become not displayed.
I think it's a bug.
Harry
Posted: Thu Jan 01, 2009 3:57 pm
by bmezenga
Hi Nutznieser,
It isn´t a bug.
XnView support makernotes only for a few brands (see WhatsNew.txt) and Pentax isn´t included.
For makernotes you can:
- use K20D Bundled software (Pentax Photo Browser)
- use ExifTool (
http://www.sno.phy.queensu.ca/~phil/exiftool/) + ExifToolGUI (
http://freeweb.siol.net/hrastni3/)
Posted: Thu Jan 01, 2009 8:29 pm
by deejjjaaaa
Re: No Pentax K20D Exif Makernotes
Posted: Fri Jan 02, 2009 9:14 am
by xnview
Could you send me a sample?
Re: No Pentax K20D Exif Makernotes
Posted: Fri Jan 02, 2009 11:28 am
by Nutznieser
Hallo,
Thank you for your quickly answers and your recommended software.
xnview wrote:Could you send me a sample?
I had sent a sample picture from Pentax K20D to your e-mail adress
<-- removed* -->. I hope it's the correct adress.
Thanks!
Posted: Fri Jan 02, 2009 11:34 am
by bmezenga
Sample sent to webmaster at xnview dot com
It´s a small resolution jpg file straight from my Pentax k100D.

Pierre
You may already know this pages. If not, take a look:
Posted: Sat Jan 10, 2009 7:15 pm
by bmezenga
Thanks for the Pentax makernotes in XnView 1.96 b1.
However, I see two problems:
1) The fields "Exposure time", "FNumber", "Exposure Compensation", "Focal Lenght" and "Shutter Count" don´t show proper values.
2) The makernotes are not showed for PEF files.
Posted: Mon Jan 12, 2009 2:14 pm
by xnview
bmezenga wrote:
1) The fields "Exposure time", "FNumber", "Exposure Compensation", "Focal Lenght" and "Shutter Count" don´t show proper values.
Right
2) The makernotes are not showed for PEF files.
I'll try to add the support
Posted: Wed Jan 14, 2009 12:59 am
by bmezenga
xnview wrote:bmezenga wrote:
2) The makernotes are not showed for PEF files.
I'll try to add the support
OK for 1.96
beta 2:

Thank you

"Shutter Count" still don´t show proper value.
Posted: Wed Jan 14, 2009 8:31 am
by xnview
bmezenga wrote: 
"Shutter Count" still don´t show proper value.
Yes, i have a problem with it
Posted: Thu Jan 15, 2009 1:11 am
by bmezenga
xnview wrote:Yes, i have a problem with it
Maybe
this perl library from Phil Harvey can shed some light on the shuttercount subject. Follow a parcial extraction:
Code: Select all
# Encrypt or decrypt Pentax ShutterCount (symmetrical encryption) - PH
# Inputs: 0) shutter count value, 1) ExifTool object ref
# Returns: Encrypted or decrypted ShutterCount
sub CryptShutterCount($$)
{
my ($val, $exifTool) = @_;
# Pentax Date and Time values are used in the encryption
return undef unless $$exifTool{PentaxDate} and $$exifTool{PentaxTime} and
length($$exifTool{PentaxDate})==4 and length($$exifTool{PentaxTime})>=3;
# get Date and Time as integers (after padding Time with a null byte)
my $date = unpack('N', $$exifTool{PentaxDate});
my $time = unpack('N', $$exifTool{PentaxTime} . "\0");
return $val ^ $date ^ (0xffffffff - $time);
}
Re: No Pentax K20D Exif Makernotes
Posted: Fri Sep 18, 2009 8:28 am
by Nutznieser
Hallo,
I have to say thankyou for implemented the makernotes for Pentax K20D!
But one value is still allways bad: The field shutter count.
Could you repair that? It would be perfect!
Harry
Re: No Pentax K20D Exif Makernotes
Posted: Thu Feb 24, 2011 5:40 am
by Bruce
EXIF in XnView will not show shutter count for Pentax istDL. Shutter counts for Nikon D 50 and 70 display just fine.
www.myshuttercount.com will display Pentax shutter count after you upload a photo. That's probably good enough for government work.
Bruce