Delete all meta except jfif

Started by ranger, May 08, 2020, 10:47:56 AM

Previous topic - Next topic

ranger

Thanks, now it works. That is what I was looking for!

Just one more thing I want to check if you can help - when you use argument  -jfif:xresolution=72  it forces this resolution even though the real one may be different.
After all the processing, with  --list  I can see the "Image Width: 1132" and "Image Height: 726"  information, which is the real one.
Still, wouldn't it be better not to force resolution in APP0 to avoid possible conflicts or confusions?

Is there a way to create the -jfif without specifying the resolution?
Or, is it that it doesn't actually matter what value the resolution is set to...?

StarGeek

Resolution is not the image width/height.  It's the DPI to be initially used.  For example, adding it to a Doc file, it will be used to determine the starting size of the image on the page.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

Phil Harvey

As StarGeek said, and as I have been trying (unsuccessfully) to explain, you should try to understand the difference between resolution (pixels/inch) and image size (number of pixels).

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

ranger

OK, thanks, got it.
So this actually doesn't matter.  As long as number of pixels is kept unchanged, a higher resolution means a smaller size (in inches) and vice-versa, so it doesn't actually matter, right?

Thanks Phil, you did a good job explaining, thumbs up.
Same for you StarGeek!   ;)

Phil Harvey

YES!  By Jove, I think he's got it!  :)

- Phil

Edit:  Sorry, I was thinking of this thread when I wrote these last two responses.  Scriptero had a similar misunderstanding, and that was the thread in which I was trying in vain to explain the meaning of the resolution tags.  You're (thankfully!) a lot quicker than him.
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).