Photo Mechanic > Code Replacements
Code replacement issue using Fuji X camera serials
PaulH:
Hi all, new user of PM for code replacements. Would appreciate any advice, as I cannot find a precise answer here or on the general web. The issue: cannot get code replacement to work with serial numbers of Fuji X cameras. Have created a UTF-8 tab text file that contains the serial number followed by a tab space then my replacement text. When I put the ={snum}= variable into an iptc field, I get the serial number generated by PM inside the delineator's = and not my replacement text. I am wondering if it is a "problem" with Fuji cameras since the serial number generated by PM bears no similarity to the number imprinted on the camera body. The generated number also appears to be in two parts. I have attached my Code text file. Any advice welcomed, thank you.
Kirk Baker:
In your Code Replacement file use the serial number that PM shows you, not the one on the camera body itself.
-Kirk
PaulH:
Hi, Thanks. I am using the serial number that Photo Mechanic generates, not the one on the body. However the number is very long and is also in two parts. I cannot tell whether the two parts are just separated by a space or a tab:- here is one of them >
FFDT23027800 5935303934341604225D603011490F
When I use the ={snum}= variable pasted into an IPTC field, or even {serial} or {serialnum}, I get the full number as shown along with the = either side, instead of the replacement text. Like this>
=FFDT23027800 5935303934341604225D603011490F=
I have tried both with and without the code replacement text file loaded via the drop down alongside the IPTC fields.
Addendum: I have just been able to try a Canon image file with the same Code Replacement text file (after adding the appropriate entry) and Stationery Pad which works just as it is supposed to. May be an issue with the length or extraction of the Fuji serial number?
Kirk Baker:
Paul,
--- Quote from: PaulH on June 27, 2018, 01:37:16 AM ---Hi, Thanks. I am using the serial number that Photo Mechanic generates, not the one on the body. However the number is very long and is also in two parts. I cannot tell whether the two parts are just separated by a space or a tab:- here is one of them >
FFDT23027800 5935303934341604225D603011490F
When I use the ={snum}= variable pasted into an IPTC field, or even {serial} or {serialnum}, I get the full number as shown along with the = either side, instead of the replacement text. Like this>
=FFDT23027800 5935303934341604225D603011490F=
I have tried both with and without the code replacement text file loaded via the drop down alongside the IPTC fields.
Addendum: I have just been able to try a Canon image file with the same Code Replacement text file (after adding the appropriate entry) and Stationery Pad which works just as it is supposed to. May be an issue with the length or extraction of the Fuji serial number?
--- End quote ---
Hard to say. Please post your Code Replacement text file and I'll take a look at it. Also, please post a sample image from your Fuji X camera in JPEG format (the full, original image from the camera). Use the 'Attachments and other options' link when you're composing your reply to this message and there you'll be able to upload your files.
Thanks,
-Kirk
PaulH:
Thank you Kirk, Attached the text file. Will have to send the Jpeg as a second post as it makes the upload too large and this page rejects it.
Navigation
[0] Message Index
[#] Next page
Go to full version