Media format (jpg or jpeg)
Posted: 26 May 2020 09:52
From time to time, I do a review of my database to check for consistent names and formats, missing references, etc. In the list of media records, images are recorded as both jpg and jpeg format, even though all the original files are of type *.jpg.
My first thought was that editing the files to remove excessive borders or to de-skew was changing how FH saw the filetype, but that is not the case. As an experiment, I freshly downloaded two probate images from Ancestry, and created media records using the files exactly as downloaded, without even changing the filename. Both files were *.jpg, but in FH one had been recorded as jpeg.
I checked the exif tags of both files, and they were identical
I know there is absolutely no difference between jpg and jpeg, and the shorter form was just a workaround to cope with the 3 character file extension of DOS and pre-95 Windows. It's a relatively trivial issue, as it would be simple to modify them all to the same format in a text editor if I wanted complete consistency, but it seems an odd behaviour. Have I missed something somewhere?
My first thought was that editing the files to remove excessive borders or to de-skew was changing how FH saw the filetype, but that is not the case. As an experiment, I freshly downloaded two probate images from Ancestry, and created media records using the files exactly as downloaded, without even changing the filename. Both files were *.jpg, but in FH one had been recorded as jpeg.
I checked the exif tags of both files, and they were identical
I know there is absolutely no difference between jpg and jpeg, and the shorter form was just a workaround to cope with the 3 character file extension of DOS and pre-95 Windows. It's a relatively trivial issue, as it would be simple to modify them all to the same format in a text editor if I wanted complete consistency, but it seems an odd behaviour. Have I missed something somewhere?