Question about "keep original file when encoded result is larger"

XnConvert Multi Platform - Windows, MacOSX, Linux

Moderators: XnTriq, helmut, xnview

sx090
Posts: 12
Joined: Thu Jan 11, 2024 8:49 am

Question about "keep original file when encoded result is larger"

Post by sx090 »

Hi all,

I'm so happy I found this very very useful tool. Tried Caesium and RIOT before but must admit, the options that XnConvert offers, are just incredible and so useful. Thanks for creating it!

I have two questions:
1) Just an informative question, I couldnt find on the forum or in the Docs:
The "face" icon in the "Input" screen, what exaclty does it mean? That XnConvert detected a face? Or that it is embedded in the MetaData of the picture!?

I marked a few examples: Sometimes my face was clearly visible and the icon is listed. In the 3rd row, the icon is not there (marked yellow) even though in the pictures we clearly look into the camera. The pictures come from an IPhone 11 - is it IPhone metadata?
Image


2. I use these output options:
Means: I want to overwrite all originals, keep all metadata and original file dates, but ONLY overwrite in case the new file got shrinked (smaller filesize). For me, the log and alos the output folder (I kept a backup of the original folder) suggests, it also overwrites in case the new file got bigger.

Image

Log:
Startzeit: 11.01.2024 09:57

C:\Users\user\Desktop\asd\IMG_20221008_230718_187.jpg 591x1280x24 : Geöffnet
C:\Users\user\Desktop\asd\IMG_20221008_230718_187.jpg : gespeichert
107.94 KiB -> 118.17 KiB (9%)

C:\Users\user\Desktop\asd\IMG_20221008_230719_438.jpg 591x1280x24 : Geöffnet
C:\Users\user\Desktop\asd\IMG_20221008_230719_438.jpg : gespeichert
100.87 KiB -> 110.54 KiB (9%)

C:\Users\user\Desktop\asd\IMG_20221010_212053_074.JPG 2250x3000x24 : Geöffnet
C:\Users\user\Desktop\asd\IMG_20221010_212053_074.JPG : gespeichert
542.80 KiB -> 600.97 KiB (10%)

C:\Users\user\Desktop\asd\IMG_20221010_212053_901.JPG 2250x3000x24 : Geöffnet
C:\Users\user\Desktop\asd\IMG_20221010_212053_901.JPG : gespeichert
629.26 KiB -> 688.88 KiB (9%)
My expectation was: XnConvert would compress into a jpg File (stored somewhere in Temp directory), determine if there was a filesize reduction, and only in case "yes" -> Overwrite the original.

Can you help me here?
Thanks soooooo much!
User avatar
xnview
Author of XnView
Posts: 43613
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Question about "keep original file when encoded result is larger"

Post by xnview »

The "face" icon in the "Input" screen, what exaclty does it mean? That XnConvert detected a face? Or that it is embedded in the MetaData of the picture!?
Metadata is detected
My expectation was: XnConvert would compress into a jpg File (stored somewhere in Temp directory), determine if there was a filesize reduction, and only in case "yes" -> Overwrite the original.
In your case, it will not work as expected. if source & destination is the same, the option will do nothing. I need to change that...
Pierre.
sx090
Posts: 12
Joined: Thu Jan 11, 2024 8:49 am

Re: Question about "keep original file when encoded result is larger"

Post by sx090 »

Thanks so much for your quick response.

W.r.t. 1) Yes, thought so. But which one exactly? I wasnt able to identify an EXIF / IPC entry which could be a hint to a person/face?

W.r.t. 2): That would be really great. Or at least make the checkbox grayed out :)
User avatar
xnview
Author of XnView
Posts: 43613
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Question about "keep original file when encoded result is larger"

Post by xnview »

sx090 wrote: Thu Jan 11, 2024 10:45 am W.r.t. 1) Yes, thought so. But which one exactly? I wasnt able to identify an EXIF / IPC entry which could be a hint to a person/face?
It's XMP mwg
Pierre.