I have tested various methods - it's always the same result.
When I remove metadata via "Metadata" - "Clean Metadata" and then save the picture, the size increases by 22% up to 44%.
What I have discarded as cause so far:
- It's not the camera app I'm using
- It's not the camera either, as it occurs with older pictures as well and those where taken by a physical "only" camera
- I have also played around with selecting only certain metadata types to be removed
I also tried different programs like Pix image viewer and browser.
It's reproducible there.
So why is this happening and how can this be fixed?
My aim is to anonymize the images.
Removing metadata increases jpeg image size by 44%
Moderators: helmut, XnTriq, xnview, Dreamer
-
- Posts: 2
- Joined: Sat Mar 15, 2025 5:16 pm
Re: Removing metadata increases jpeg image size by 44%
Probably depends on what level of JPG compression you have set when saving the file, quite often the cameras will be set to a higher level of compression than what the program saves at, hence the overall image size increases despite having reduced the size of metadata.
Geoff G8DHE
Spherical Visions
Spherical Visions
Re: Removing metadata increases jpeg image size by 44%
use Metadata>Clean... in Browser, it removes metadata from file w/o re-encoding image datalist_of_results wrote: Sat Mar 15, 2025 5:36 pm When I remove metadata via "Metadata" - "Clean Metadata" and then save the picture, the size increases by 22% up to 44%.
So why is this happening and how can this be fixed?
Metadata>Clean Metadata... in Viewer removes metadata from loaded image, not from file
Last edited by user0 on Sat Mar 15, 2025 6:21 pm, edited 1 time in total.
Re: Removing metadata increases jpeg image size by 44%
If the above post doesn't provide a solution consider g8dhe's suggestion:
You can easily compare two files' compression levels in the viewer using Image > Properties... .g8dhe wrote: Sat Mar 15, 2025 5:53 pm Probably depends on what level of JPG compression you have set when saving the file, quite often the cameras will be set to a higher level of compression than what the program saves at, hence the overall image size increases despite having reduced the size of metadata.
-
- Posts: 2
- Joined: Sat Mar 15, 2025 5:16 pm
Re: Removing metadata increases jpeg image size by 44%
Thanks for all the quick replies.cday wrote: Sat Mar 15, 2025 6:15 pm If the above post doesn't provide a solution consider g8dhe's suggestion:
You can easily compare two files' compression levels in the viewer using Image > Properties... .g8dhe wrote: Sat Mar 15, 2025 5:53 pm Probably depends on what level of JPG compression you have set when saving the file, quite often the cameras will be set to a higher level of compression than what the program saves at, hence the overall image size increases despite having reduced the size of metadata.
I found in the big image under "Image > Properties" under the EXIF Tool tab and then EXIF this:
Compression JPEG (old-style)
It doesn't show in the original file.
Any clues?
I'm going to try the other suggestions.
@user0: I guess this won't work for batch processing?
Re: Removing metadata increases jpeg image size by 44%
you can remove metadata from multiple files in Browserlist_of_results wrote: Sat Mar 15, 2025 6:50 pm @user0: I guess this won't work for batch processing?