Free JPG reduction service

All non-XnView related: softwares, formats, imaging, photography...

Moderators: XnTriq, helmut, xnview

User avatar
JohnFredC
XnThusiast
Posts: 2010
Joined: Wed Mar 17, 2004 8:33 pm
Location: Sarasota Florida

Free JPG reduction service

Post by JohnFredC »

Web-only so far and I haven't tested, but possibly of interest:

JPEGMINI

Edit-----------------------------------------------------------------

I changed the title of this post.

My tests show about 6:1 file size reduction with no discernible differences between the before and after JPGs. Perhaps such performance is not unique, but for single images the upload/download is conveniently speedy and I have been very pleased with the results.
John
User avatar
DOS386
Posts: 291
Joined: Sun Jun 11, 2006 2:43 pm

Re: Free JPG reduction service

Post by DOS386 »

JohnFredC wrote:My tests show about 6:1 file size reduction with no discernible differences between the before and after JPGs.
I'm skeptical and it needs registration to test :-(

Please optimize this one: everdone.jpg and provide the result.

That it optimizes better huge images is a strong sign that it's lossy and hoping that you won't check the result in full size. If you can confirm the factor 6 then please provide your before and after JPG's, preferably also the lossless version before any JPG. everdone.png
There is indeed no WinZIP under my rock.
User avatar
JohnFredC
XnThusiast
Posts: 2010
Joined: Wed Mar 17, 2004 8:33 pm
Location: Sarasota Florida

Re: Free JPG reduction service

Post by JohnFredC »

Hi DOS386

That site doesn't need registration.

Try the following:
  • Click "Try it Now" (yellow button)
    Click "Select photos" (yellow button)
I was skeptical too, but it appears to work well for photos... try a large 90 quality jpeg.

That little 55k file link you provided shrank to 53k but it is not a photo, so I am not surprised..
John
User avatar
DOS386
Posts: 291
Joined: Sun Jun 11, 2006 2:43 pm

Re: Free JPG reduction service

Post by DOS386 »

JohnFredC wrote:Click "Try it Now" (yellow button)
OK
JohnFredC wrote:Click "Select photos" (yellow button)
there is none
JohnFredC wrote:but it is not a photo, so I am not surprised..
so please provide (before/after) a huge photo (I have no > 10 MP photos here)
There is indeed no WinZIP under my rock.
User avatar
JohnFredC
XnThusiast
Posts: 2010
Joined: Wed Mar 17, 2004 8:33 pm
Location: Sarasota Florida

Re: Free JPG reduction service

Post by JohnFredC »

Hmmm... I have no problem with that page. Here is a view showing the Yellow upload button. After conversion, the before/after comparison page will also show is a download button to retrieve the processed image.

Image

You are welcome to download the following examples and inspect my personal results:

Before JPEGMini (6Mb)
After JPEGmini (1Mb)

BTW I am not affiliated with the service in anyway, just trying to contribute to the forum.
John
User avatar
Peter2
XnThusiast
Posts: 1348
Joined: Thu Nov 24, 2005 3:07 pm
Location: CH

Re: Free JPG reduction service

Post by Peter2 »

DOS386 wrote:
JohnFredC wrote:Click "Select photos" (yellow button)
there is none
This is not a simple button, it it something with "Adobe Flash Player". Maybe your browser blocked it?

Peter
XnViewMP <Current version> German, XnConvert <Current version>, Win 10
User avatar
DOS386
Posts: 291
Joined: Sun Jun 11, 2006 2:43 pm

Re: Free JPG reduction service

Post by DOS386 »

Peter2 wrote:This is not a simple button, it it something with "Adobe Flash Player". Maybe your browser blocked it?
Best usable with any browser ... I had banned that malware from my PC long ago ;-)
JohnFredC wrote:You are welcome to download the following examples and inspect my personal results: Before JPEGMini (6Mb) After JPEGmini (1Mb)
Thanks ... done ... done ...

Image

This is probably the end of JPEGMINI ... because ...

... I placed 3 tiny fragments ... the middle one is from the original (6 MiB) picture ... the upper and bottom are from JPEGMINI (1 MiB) and NC/XN converted Q=73 (1 MiB) ... as you can see, there is a noticeable ugly blocking visible in the upper and bottom ones ... so JPEGMINI is lossy ... what's worse, NC/XN can do too and the ...

challenge for everybody seeing this post is to find out whether the upper fragment is from JPEGMINI and the bottom one from NC/XN or vice-versa. Please send a PM with your finding ("upper is MINI" or "bottom is MINI" or "unable to detect any quality difference") ... this is a blind viewing test :-) :-) :-)

If a large majority identifies the superior JPEGMINI fragment correctly, then JPEGMINI works ... otherwise, it's just one more hoax (after "infima" and 1'000'000 other B***-S*** file size "compressors" / "optimizers" ... I don't have all the names of those).

Note that with "nature photo" pictures (as by JohnFredC) the quality loss is much less prominently visible than with screenshots or pictures having text (see mine above). Also, the absurdly huge size as preferred by JPEGMINI reduces the risk that someone will check the images in full size or even zoomed up as I (inherently evil :mrgreen:) did.
There is indeed no WinZIP under my rock.
User avatar
JohnFredC
XnThusiast
Posts: 2010
Joined: Wed Mar 17, 2004 8:33 pm
Location: Sarasota Florida

Re: Free JPG reduction service

Post by JohnFredC »

Geez.

Well, the upper one seems more "blocked", and the bottom one seems to have more blur...

Subtle differences, to be sure, but obvious when compared to the original (itself composed of jpgs from the camera, stitched and recompressed).

Good eyes, DOS386. Good eyes!
John
User avatar
XnTriq
Moderator & Librarian
Posts: 6387
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Free JPG reduction service

Post by XnTriq »

My guess: Selective (“regions of interest”) compression
  • WebSiteOptimization.com
    • Use Weighted Optimization
      Weighted optimization or regional compression applies different degrees of compression to different areas of your image. By varying the quality within images you can improve file size.
      Blur Backgrounds for Optimized JPEGs
      Background blurring reduces non-critical details to make the JPEG algorithm work more efficiently. Converting to Lab Color mode allows you to maximize blur for minimum file size.
    TheDesignspace Adobe TV
    • ADC Presents: Selective JPEG compression
      Using Fireworks CS4, Platform Evangelist Kevin Hoyt shows you how to pick and choose what parts of your images get compressed and by how much, resulting in better overall quality.
    XAT Software
User avatar
XnTriq
Moderator & Librarian
Posts: 6387
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Free JPG reduction service

Post by XnTriq »

p97858_1.png
p97858_2.png
ionForge: imageDiff (@Softpedia)
You do not have the required permissions to view the files attached to this post.
User avatar
JohnFredC
XnThusiast
Posts: 2010
Joined: Wed Mar 17, 2004 8:33 pm
Location: Sarasota Florida

Re: Free JPG reduction service

Post by JohnFredC »

The presence of some hyperbole in my initial posts has been adequately demonstrated.
John
User avatar
XnTriq
Moderator & Librarian
Posts: 6387
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Free JPG reduction service

Post by XnTriq »

JohnFredC wrote:The presence of some hyperbole in my initial posts has been adequately demonstrated.
It's not about contradicting your statement, John :-)
I was just curious what their approach might be, and how this reduction in filesize affects the (perceived) quality of processed pictures.
JPEGmini wrote:Your photos on a diet! Reduce the file size of your photos by up to 5x, while keeping their original quality and JPEG format!
User avatar
oops66
XnThusiast
Posts: 2005
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Re: Free JPG reduction service / or binary -jpeg-recompress

Post by oops66 »

Hello,
Very interesting...
For information, I have tried a similar open tool into Ubuntu called "ladon" and -- jpeg-recompress (like jpegmini), and I have a similar result (with the JohnFredC original image file):
****************
https://github.com/gunta/image-recompre ... /README.md
This is a fork of jpeg-archive.
The planned differences are:
- Support for WebP
- Support for JPEG2000
- Support for PNG24
- Support for pngquant

Image
************

https://github.com/danielgtaylor/ladon/issues/1
I've installed nodejs from the latest repo:

Code: Select all

sudo add-apt-repository ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install python-software-properties python g++ make nodejs 

Then ladon:
sudo npm install -g ladon
---
dowloaded JPEG-Archive 2.0.1:
https://github.com/danielgtaylor/jpeg-archive/releases

Code: Select all

ls -l
-rwxrwxrwx 1     1104 août   5  2014 jpeg-archive
-rwxrwxrwx 1   545419 août   5  2014 jpeg-compare
-rwxrwxrwx 1   526936 août   5  2014 jpeg-hash
-rwxrwxrwx 1   554200 août   5  2014 jpeg-recompress
--
If you are looking for an easy way to run these utilities in parallel over many files to utilize all CPU cores, please also download Ladon. You can then use the jpeg-archive command below or use ladon directly. Example:

Code: Select all

# Re-compress JPEGs and replace the originals
ladon "Photos/**/*.jpg" -- jpeg-recompress FULLPATH FULLPATH

# Re-compress JPEGs into the new directory 'Comp'
ladon -m Comp/RELDIR "Photos/**/*.jpg" -- jpeg-recompress FULLPATH Comp/RELPATH
then:

Code: Select all

$ ladon pano.Zoner.DSC03729-03731.cr.jpg -- jpeg-recompress FULLPATH FULLPATH
Metadata size is 3kb
ssim at q=67 (40 - 95): 0.999357
ssim at q=81 (68 - 95): 0.999803
ssim at q=88 (82 - 95): 0.999916
ssim at q=84 (82 - 87): 0.999868
ssim at q=86 (85 - 87): 0.999911
Final optimized ssim at q=85: 0.999832
New size is 19% of original (saved 5483 kb)
resultats:

Code: Select all

$ ls -l
-rwxrwxrwx 1  1382670 févr.  9 13:58 ladon_pano.Zoner.DSC03729-03731.cr.jpg
-rw-rw-r-- 1  6997953 févr.  9 13:20 pano.Zoner.DSC03729-03731.cr.jpg
-rw-rw-r-- 1  1107064 févr.  9 13:20 pano.Zoner.DSC03729-03731.cr_mini.jpg
... So almost the same size and quality
Ladon:

Code: Select all

$ identify -verbose ladon_pano.Zoner.DSC03729-03731.cr.jpg 
Image: ladon_pano.Zoner.DSC03729-03731.cr.jpg
  Format: JPEG (Joint Photographic Experts Group JFIF format)
  Mime type: image/jpeg
  Class: DirectClass
  Geometry: 5828x2727+0+0
  Units: Undefined
  Type: TrueColor
  Endianess: Undefined
  Colorspace: sRGB
  Depth: 8-bit
  Channel depth:
    red: 8-bit
    green: 8-bit
    blue: 8-bit
  Channel statistics:
    Red:
      min: 0 (0)
      max: 255 (1)
      mean: 103.681 (0.406591)
      standard deviation: 55.8025 (0.218833)
      kurtosis: -0.528224
      skewness: 0.759734
    Green:
      min: 0 (0)
      max: 255 (1)
      mean: 124.594 (0.488604)
      standard deviation: 44.5005 (0.174512)
      kurtosis: -0.288165
      skewness: 0.639896
    Blue:
      min: 0 (0)
      max: 255 (1)
      mean: 142.375 (0.558333)
      standard deviation: 42.2234 (0.165582)
      kurtosis: -0.012254
      skewness: -0.340954
  Image statistics:
    Overall:
      min: 0 (0)
      max: 255 (1)
      mean: 123.55 (0.484509)
      standard deviation: 47.8784 (0.187758)
      kurtosis: -0.248854
      skewness: 0.2516
  Rendering intent: Perceptual
  Gamma: 0.454545
  Chromaticity:
    red primary: (0.64,0.33)
    green primary: (0.3,0.6)
    blue primary: (0.15,0.06)
    white point: (0.3127,0.329)
  Background color: white
  Border color: srgb(223,223,223)
  Matte color: grey74
  Transparent color: black
  Interlace: JPEG
  Intensity: Undefined
  Compose: Over
  Page geometry: 5828x2727+0+0
  Dispose: Undefined
  Iterations: 0
  Compression: JPEG
  Quality: 85
  Orientation: Undefined
  Properties:
    comment: Compressed by jpeg-recompress
    date:create: 2015-02-09T13:58:56+01:00
    date:modify: 2015-02-09T13:58:13+01:00
    exif:Compression: 6
    exif:DateTime: 2011:08:30 13:07:19
    exif:ExifOffset: 58
    exif:JPEGInterchangeFormat: 106
    exif:JPEGInterchangeFormatLength: 3207
    jpeg:colorspace: 2
    jpeg:sampling-factor: 2x2,1x1,1x1
    signature: 722eff19222876ae80ffc91a1a8a1e54e5f8e7c88455524d865f1fd6e4a28e45
  Profiles:
    Profile-exif: 3319 bytes
  Artifacts:
    filename: ladon_pano.Zoner.DSC03729-03731.cr.jpg
    verbose: true
  Tainted: False
  Filesize: 1.383MB
  Number pixels: 15.89M
  Pixels per second: 29.99MB
  User time: 0.520u
  Elapsed time: 0:01.530
  Version: ImageMagick 6.8.8-7 Q16 x86_64 2014-02-24 http://www.imagemagick.org
Jpegmini:

Code: Select all

$ identify -verbose pano.Zoner.DSC03729-03731.cr_mini.jpg 
Image: pano.Zoner.DSC03729-03731.cr_mini.jpg
  Format: JPEG (Joint Photographic Experts Group JFIF format)
  Mime type: image/jpeg
  Class: DirectClass
  Geometry: 5828x2727+0+0
  Resolution: 300x300
  Print size: 19.4267x9.09
  Units: PixelsPerInch
  Type: TrueColor
  Endianess: Undefined
  Colorspace: sRGB
  Depth: 8-bit
  Channel depth:
    red: 8-bit
    green: 8-bit
    blue: 8-bit
  Channel statistics:
    Red:
      min: 0 (0)
      max: 255 (1)
      mean: 103.58 (0.406196)
      standard deviation: 55.8395 (0.218979)
      kurtosis: -0.527076
      skewness: 0.760466
    Green:
      min: 0 (0)
      max: 255 (1)
      mean: 124.685 (0.48896)
      standard deviation: 44.492 (0.174478)
      kurtosis: -0.287001
      skewness: 0.639697
    Blue:
      min: 0 (0)
      max: 255 (1)
      mean: 142.286 (0.557984)
      standard deviation: 42.2691 (0.165761)
      kurtosis: -0.0111703
      skewness: -0.343133
  Image statistics:
    Overall:
      min: 0 (0)
      max: 255 (1)
      mean: 123.517 (0.48438)
      standard deviation: 47.9036 (0.187857)
      kurtosis: -0.247445
      skewness: 0.250364
  Rendering intent: Perceptual
  Gamma: 0.454545
  Chromaticity:
    red primary: (0.64,0.33)
    green primary: (0.3,0.6)
    blue primary: (0.15,0.06)
    white point: (0.3127,0.329)
  Background color: white
  Border color: srgb(223,223,223)
  Matte color: grey74
  Transparent color: black
  Interlace: None
  Intensity: Undefined
  Compose: Over
  Page geometry: 5828x2727+0+0
  Dispose: Undefined
  Iterations: 0
  Compression: JPEG
  Quality: 78
  Orientation: Undefined
  Properties:
    comment: Optimized by JPEGmini-www.jpegmini.com
    date:create: 2015-02-09T13:20:10+01:00
    date:modify: 2015-02-09T13:20:10+01:00
    exif:Compression: 6
    exif:DateTime: 2011:08:30 13:07:19
    exif:ExifOffset: 58
    exif:JPEGInterchangeFormat: 106
    exif:JPEGInterchangeFormatLength: 3207
    jpeg:colorspace: 2
    jpeg:sampling-factor: 2x2,1x1,1x1
    signature: ccc6607970da713060fddaca37458acda6838e454cb2bab160958d49935237df
  Profiles:
    Profile-exif: 3319 bytes
  Artifacts:
    filename: pano.Zoner.DSC03729-03731.cr_mini.jpg
    verbose: true
  Tainted: False
  Filesize: 1.107MB
  Number pixels: 15.89M
  Pixels per second: 35.32MB
  User time: 0.450u
  Elapsed time: 0:01.450
  Version: ImageMagick 6.8.8-7 Q16 x86_64 2014-02-24 http://www.imagemagick.org
Original:

Code: Select all

identify -verbose pano.Zoner.DSC03729-03731.cr.jpg 
Image: pano.Zoner.DSC03729-03731.cr.jpg
  Format: JPEG (Joint Photographic Experts Group JFIF format)
  Mime type: image/jpeg
  Class: DirectClass
  Geometry: 5828x2727+0+0
  Resolution: 300x300
  Print size: 19.4267x9.09
  Units: PixelsPerInch
  Type: TrueColor
  Endianess: Undefined
  Colorspace: sRGB
  Depth: 8-bit
  Channel depth:
    red: 8-bit
    green: 8-bit
    blue: 8-bit
  Channel statistics:
    Red:
      min: 0 (0)
      max: 255 (1)
      mean: 103.651 (0.406474)
      standard deviation: 55.8306 (0.218943)
      kurtosis: -0.530576
      skewness: 0.758706
    Green:
      min: 0 (0)
      max: 255 (1)
      mean: 124.62 (0.488707)
      standard deviation: 44.5171 (0.174577)
      kurtosis: -0.286806
      skewness: 0.639895
    Blue:
      min: 0 (0)
      max: 255 (1)
      mean: 142.311 (0.558082)
      standard deviation: 42.2422 (0.165656)
      kurtosis: -0.0259004
      skewness: -0.336156
  Image statistics:
    Overall:
      min: 0 (0)
      max: 255 (1)
      mean: 123.527 (0.484421)
      standard deviation: 47.9 (0.187843)
      kurtosis: -0.250349
      skewness: 0.252067
  Rendering intent: Perceptual
  Gamma: 0.454545
  Chromaticity:
    red primary: (0.64,0.33)
    green primary: (0.3,0.6)
    blue primary: (0.15,0.06)
    white point: (0.3127,0.329)
  Background color: white
  Border color: srgb(223,223,223)
  Matte color: grey74
  Transparent color: black
  Interlace: JPEG
  Intensity: Undefined
  Compose: Over
  Page geometry: 5828x2727+0+0
  Dispose: Undefined
  Iterations: 0
  Compression: JPEG
  Quality: 99
  Orientation: Undefined
  Properties:
    date:create: 2015-02-09T13:20:03+01:00
    date:modify: 2015-02-09T13:20:03+01:00
    exif:Compression: 6
    exif:DateTime: 2011:08:30 13:07:19
    exif:ExifOffset: 58
    exif:JPEGInterchangeFormat: 106
    exif:JPEGInterchangeFormatLength: 3207
    jpeg:colorspace: 2
    jpeg:sampling-factor: 1x1,1x1,1x1
    signature: eebcdfa865493d3b7c3340f88949b1b03e67884a114b814153c5dca2785b0bb7
  Profiles:
    Profile-exif: 3319 bytes
  Artifacts:
    filename: pano.Zoner.DSC03729-03731.cr.jpg
    verbose: true
  Tainted: False
  Filesize: 6.998MB
  Number pixels: 15.89M
  Pixels per second: 18.92MB
  User time: 0.820u
  Elapsed time: 0:01.840
  Version: ImageMagick 6.8.8-7 Q16 x86_64 2014-02-24 http://www.imagemagick.org
So: Approximative jpeg compression : original at 99% & 6.99MO _ ladon 85% & 1.38MO(19% of original size) _ jpegmini 78% & 1.1MO(15% of original size.
XnViewMP Linux X64 - Debian - X64