I wrote a little PowerShell script for Windows users:
$fileNames = Get-ChildItem -Path $scriptPath -Recurse -Include *.PEF
for ($i=0; $i -lt $fileNames.Count; $i++) {
exiftool -model="PENTAX K-1" -overwrite_original $fileNames[$i].FullName
}
1. Save as .ps1 file and put it somewhere in system path so it can be called from anywhere OR just save it in some temporary directory where you can drop in some PEF files
2. Open Administrator PowerShell and set script execution policy to RemoteSigned (allows running local scripts)
3. Go to the directory where PEF files are
4. Run the script: .\script.ps1 <PEF file directory path or just a sub directory name where PEF files are>
It goes thru all directories in the path provided to the script and runs ExifTool for every PEF-file and sets camera model name to "Pentax K-1" after which Lightroom sees them as valid mk1 files and lets you import them.
Script provided as is and no further technical support will be given. You run this at your own risk.
---------- Post added 05-03-18 at 01:41 PM ----------
Originally posted by angerdan Even Photoshop CS5 from 2010 supports the K-1 DNG-files. So what are you waiting for?
What do you need PEF for? Pentax is the only reasonable priced camera manufacturer who offers native DNG in their cameras - so every DNG-compatoble programm should open the files.
This is not a proper solution. Using pixel shift with DNG files just plain does not work in Lightroom as it currently is. You need to use PEF format if you want to use LR to process PS files. Which is my favorite PS processor BTW. Why? Lightroom just pushes the most out of the files with correct sharpening settings. Motion Correction fails but any PS file having motion failed already when exposing them anyway...