DPReview.com is closing April 10th - Find out more

why is x100t jpg file 3mb more?

Started Apr 27, 2017 | Discussions thread
Exit10 Senior Member • Posts: 2,264
Re: why is x100t jpg file 3mb more?

nixda wrote:

Exit10 wrote:

pseudobreccia wrote:

Kuromusha wrote:

no, but the average (of thousands of photos) on my x100s files is around 5mb, the average on x100t is 8mb.

Really? You expect us to believe that you actually took the time and effort to collect the data and obtain the average file size from thousands of your photos?

Just for amusement - if you have exiftool and a computer that will run a shell here is a one line command to do the calculation without separating out the jpgs into separate directories - it excludes edited or RAW processed files as they will skew the results:

exiftool -s -q -r -if '$model eq "X100S"' -p '$Directory/$FileName' -if '$Software =~ /X100S/' -ext jpg . | sed "s/^\|$/'/g" | xargs ls -l | awk '{ s+=$5;++c } END {printf "%9d Images - Average %9.2f bytes\n", c, s/c}'

I ran it against my pictures filesystem for the X-T2 and got this for jpgs;

On my system, that command gives "illegal variable". The command needs to be adapted to the particular OS and shell.

Yes you are probably right - this is tested on Windows and Cygwin it had some peculiarities with line terminators.

274 Images - Average 13498777.50 bytes

That would be an average of 12.87 MB per JPEG, which doesn't sound quite right.

Yes right again - my poor testing skills - I should have constrained it to full size 24MP images

Changing to RAW gave me

288 Images - Average 27415894.33 bytes

There are many ways to compute such averages. To start, you can run exiftool with "-filesize", or better yet, use the file sizes that the OS reports. I typically extract the various information first for all images, write it into a tab-delimited file, and then do my calculations on that.

That command does use the operating system to get the size - I didn't think the FileSize in the EXIF was sufficiently precise but it would simplify the command and probably make it OS and shell independent:

exiftool -s -q -r -if '$model eq "X-T2"' -p '$FileSize' -if '$Software =~ /X-T2/' -if '$megapixels == 24' -ext jpg . | awk '/MB/ { s+=$1;++c } END {printf "%9d Images - Average %9.2f MB\n", c, s/c}'

 Exit10's gear list:Exit10's gear list
Canon EOS Rebel T6i Fujifilm X-T3 Canon EF 200mm f/2.8L II USM Canon EF 24-105mm f/4L IS USM Fujifilm XF 18-55mm F2.8-4 R LM OIS +4 more
Post (hide subjects) Posted by
(unknown member)
(unknown member)
Keyboard shortcuts:
FForum PPrevious NNext WNext unread UUpvote SSubscribe RReply QQuote BBookmark MMy threads
Color scheme? Blue / Yellow