Decreases File Size
habakuk007 opened this issue · comments
If used with jpegrescan the file size is increased:
albums/cvjm-kornmarkt/internationale_arbeit/Romania-Mission-Trip-2013/Savinesti (20).JPG: 6.01% (70.9 kiB)
albums/cvjm-kornmarkt/internationale_arbeit/Romania-Mission-Trip-2013/CVJM_Cristuru (51).JPG: 2.01% (21.6 kiB)
albums/cvjm-kornmarkt/internationale_arbeit/Romania-Mission-Trip-2013/Roma_Dorf_Csekefalva (82).JPG: 5.57% (57.1 kiB)
albums/cvjm-kornmarkt/internationale_arbeit/Romania-Mission-Trip-2013/Roma_im_CVJM_Befalva (45).JPG: 6.49% (64.3 kiB)
albums/cvjm-kornmarkt/internationale_arbeit/Romania-Mission-Trip-2013/Roma_Dorf_Csekefalva (116).JPG: 5.70% (74.0 kiB)
albums/cvjm-kornmarkt/internationale_arbeit/Romania-Mission-Trip-2013/Roma_Dorf_Csekefalva (81).JPG: 6.34% (57.0 kiB)
albums/cvjm-kornmarkt/internationale_arbeit/Romania-Mission-Trip-2013/Roma_im_CVJM_Befalva (78).JPG: 3.55% (36.1 kiB)
albums/cvjm-kornmarkt/internationale_arbeit/Romania-Mission-Trip-2013/Piatra_Neamt (45).JPG: 2.95% (30.9 kiB)
albums/cvjm-kornmarkt/internationale_arbeit/Romania-Mission-Trip-2013/Schaessburg (5).JPG: 6.41% (57.2 kiB)
I had not a single decrease in file size.
That log indicates that the images decreased in size between about 2 and 7%
each if I'm reading that correctly.
Do another run with a test batch of images, list the files sizes before and
after and compare.
picopt should also have given you a summary at the end for total bytes and
% saved.
AJ
On Mon, Sep 15, 2014 at 1:47 PM, habakuk007 notifications@github.com
wrote:
If used with jpegrescan the file size is increased:
albums/cvjm-kornmarkt/internationale_arbeit/Romania-Mission-Trip-2013/Savinesti (20).JPG: 6.01% (70.9 kiB)
albums/cvjm-kornmarkt/internationale_arbeit/Romania-Mission-Trip-2013/CVJM_Cristuru (51).JPG: 2.01% (21.6 kiB)
albums/cvjm-kornmarkt/internationale_arbeit/Romania-Mission-Trip-2013/Roma_Dorf_Csekefalva (82).JPG: 5.57% (57.1 kiB)
albums/cvjm-kornmarkt/internationale_arbeit/Romania-Mission-Trip-2013/Roma_im_CVJM_Befalva (45).JPG: 6.49% (64.3 kiB)
albums/cvjm-kornmarkt/internationale_arbeit/Romania-Mission-Trip-2013/Roma_Dorf_Csekefalva (116).JPG: 5.70% (74.0 kiB)
albums/cvjm-kornmarkt/internationale_arbeit/Romania-Mission-Trip-2013/Roma_Dorf_Csekefalva (81).JPG: 6.34% (57.0 kiB)
albums/cvjm-kornmarkt/internationale_arbeit/Romania-Mission-Trip-2013/Roma_im_CVJM_Befalva (78).JPG: 3.55% (36.1 kiB)
albums/cvjm-kornmarkt/internationale_arbeit/Romania-Mission-Trip-2013/Piatra_Neamt (45).JPG: 2.95% (30.9 kiB)
albums/cvjm-kornmarkt/internationale_arbeit/Romania-Mission-Trip-2013/Schaessburg (5).JPG: 6.41% (57.2 kiB)I had not a single decrease in file size.
—
Reply to this email directly or view it on GitHub
#3.
Hi,
thanks for your fast reply!
Probably was wrong as after the run there were many files like "...JPG.picopt-optimized.png" in the directory. After deleting them manually the size of the folder decreased again.
Also there is a different behavior if I use -r or not (if there are no subfolders).
If I use it without I get the message "Didn't optimize any files." If I do use it every file is listed and some are optimized.
Best regard!
Stefan
the .picopt-optimized.png files are temporary files that should be cleaned
up by picopt. If they're not, then picopt was interrupted or there's a bug.
$ picopt # does nothing. no files specified.
$ picopt a.jpg b.png # optimizes two files.
$ picopt * # will try to optimize everything in the
directory (non recursive)
$ picopt -r mydir # optimizes files in mydir recursilvely
$ picopt -r # I think is the same as picopt -r .
AJ
On Mon, Sep 15, 2014 at 2:45 PM, habakuk007 notifications@github.com
wrote:
Hi,
thanks for your fast reply!Probably was wrong as after the run there were many files like
"...JPG.picopt-optimized.png" in the directory. After deleting them
manually the size of the folder decreased again.Also there is a different behavior if I use -r or not (if there are no
subfolders).
If I use it without I get the message "Didn't optimize any files." If I do
use it every file is listed and some are optimized.Best regard!
Stefan—
Reply to this email directly or view it on GitHub
#3 (comment).