Setting JFIF APP0 marker segment values
Posted: 2016-04-29T17:16:36-07:00
Is there a way to use convert CLI to set JFIF APP0 marker segment values? I want to set:
Density(BYTE[1]): 01 (inches)
Xdensity(BYTE[2]/SHORT): 600
Ydensity(BYTE[2]/SHORT): 600
I'd really like to do it as a batch to all *.jpg files in the directory. I've googled and searched the ImageMagick pages but I'll be hornswaggled if I can figure it out.
Me:
Windows 10 x64
ImageMagick-6.9.3-8-Q16-x64-dll.exe
Next will be the same thing to all the *.jpg files in the directory, but set a bunch of EXIF tags:
ResolutionUnit(SHORT): 2 (inches)
XResolution(RATIONAL): 600
YResolution(RATIONAL): 600
DateTimeOriginal(ASCII[20]): 1970-01-01 01:00:00
GPSLatitudeRef(ASCII[1]): N
GPSLatitude(RATIONAL[3]): [0]38 [1]39 [2]22.26081582
GPSLongitudeRef(ASCII[1]): W
GPSLongitude(RATIONAL[3]): [0]90 [1]27 [2]13.323671996
Density(BYTE[1]): 01 (inches)
Xdensity(BYTE[2]/SHORT): 600
Ydensity(BYTE[2]/SHORT): 600
I'd really like to do it as a batch to all *.jpg files in the directory. I've googled and searched the ImageMagick pages but I'll be hornswaggled if I can figure it out.
Me:
Windows 10 x64
ImageMagick-6.9.3-8-Q16-x64-dll.exe
Next will be the same thing to all the *.jpg files in the directory, but set a bunch of EXIF tags:
ResolutionUnit(SHORT): 2 (inches)
XResolution(RATIONAL): 600
YResolution(RATIONAL): 600
DateTimeOriginal(ASCII[20]): 1970-01-01 01:00:00
GPSLatitudeRef(ASCII[1]): N
GPSLatitude(RATIONAL[3]): [0]38 [1]39 [2]22.26081582
GPSLongitudeRef(ASCII[1]): W
GPSLongitude(RATIONAL[3]): [0]90 [1]27 [2]13.323671996