Skip to main content
edited body; edited tags; edited title
Source Link

Command-line tool for lossless jpegJPEG compression and optimization for Ubuntu

I am looking for a command line lossless jpegJPEG compression tool which will have the following functionality:

  • be a command line tool with no guiGUI interface
  • I can provide list of folders (where my potentially unoptimized images are), it will recursively goes and optimize all images inside of these folders and subfolders
  • the images will be saved with the same name as they were before (substituting old unoptimized image for a new one)

Also it is not really important, it would be nice if the tool could

  • Give a report (how much space per file / in total was saved)
  • Could resize images as well
  • Should properly handle big amount of files (> 1000)
  • Remove metadata

Answer to Nick Wilde:

I do not know whom should I trust: you or people from google who created pageSpeed. When I run this jpegthis jpeg through pageSpeed it says

Losslessly compressing http://upload.wikimedia.org/.../Lake_mapourika_NZ.jpeghttpS://upload.wikimedia.org/.../Lake_mapourika_NZ.jpeg could save 16.8KiB (4% reduction).

P.S. the reason to use a tool is not to save some space on my machine, the images are on the server, so optimizing images will help to save bandwidth for users viewing images. For this reason images should be viewable and archiving them is not an option.

Command-line tool for lossless jpeg compression and optimization for Ubuntu

I am looking for a command line lossless jpeg compression tool which will have the following functionality:

  • be a command line tool with no gui interface
  • I can provide list of folders (where my potentially unoptimized images are), it will recursively goes and optimize all images inside of these folders and subfolders
  • the images will be saved with the same name as they were before (substituting old unoptimized image for a new one)

Also it is not really important, it would be nice if the tool could

  • Give a report (how much space per file / in total was saved)
  • Could resize images as well
  • Should properly handle big amount of files (> 1000)
  • Remove metadata

Answer to Nick Wilde:

I do not know whom should I trust: you or people from google who created pageSpeed. When I run this jpeg through pageSpeed it says

Losslessly compressing http://upload.wikimedia.org/.../Lake_mapourika_NZ.jpeg could save 16.8KiB (4% reduction).

P.S. the reason to use a tool is not to save some space on my machine, the images are on the server, so optimizing images will help to save bandwidth for users viewing images. For this reason images should be viewable and archiving them is not an option.

Command-line tool for lossless JPEG compression and optimization for Ubuntu

I am looking for a command line lossless JPEG compression tool which will have the following functionality:

  • be a command line tool with no GUI interface
  • I can provide list of folders (where my potentially unoptimized images are), it will recursively goes and optimize all images inside of these folders and subfolders
  • the images will be saved with the same name as they were before (substituting old unoptimized image for a new one)

Also it is not really important, it would be nice if the tool could

  • Give a report (how much space per file / in total was saved)
  • Could resize images as well
  • Should properly handle big amount of files (> 1000)
  • Remove metadata

Answer to Nick Wilde:

I do not know whom should I trust: you or people from google who created pageSpeed. When I run this jpeg through pageSpeed it says

Losslessly compressing httpS://upload.wikimedia.org/.../Lake_mapourika_NZ.jpeg could save 16.8KiB (4% reduction).

P.S. the reason to use a tool is not to save some space on my machine, the images are on the server, so optimizing images will help to save bandwidth for users viewing images. For this reason images should be viewable and archiving them is not an option.

I am looking for a command line lossless jpeg compression tool which will have the following functionality:

  • be a command line tool with no gui interface
  • I can provide list of folders (where my potentially unoptimized images are), it will recursively goes and optimize all images inside of these folders and subfolders
  • the images will be saved with the same name as they were before (substituting old unoptimized image for a new one)

Also it is not really important, it would be nice if the tool could

  • giveGive a report (how much space per file / in total was saved)
  • couldCould resize images as well
  • shouldShould properly handle big amount of files (> 1000)
  • removeRemove metadata

Answer to Nick Wilde:

I do not know whom should I trust: you or people from google who created pageSpeed. When I run this jpeg through pageSpeed it says

Losslessly compressing http://upload.wikimedia.org/.../Lake_mapourika_NZ.jpeg could save 16.8KiB (4% reduction).

P.S. the reason to use a tool is not to save some space on my machine, the images are on the server, so optimizing images will help to save bandwidth for users viewing images. For this reason images should be viewable and achievingarchiving them is not an option.

I am looking for a command line lossless jpeg compression tool which will have the following functionality:

  • be a command line tool with no gui interface
  • I can provide list of folders (where my potentially unoptimized images are), it will recursively goes and optimize all images inside of these folders and subfolders
  • the images will be saved with the same name as they were before (substituting old unoptimized image for a new one)

Also it is not really important, it would be nice if the tool could

  • give a report (how much space per file / in total was saved)
  • could resize images as well
  • should properly handle big amount of files (> 1000)
  • remove metadata

Answer to Nick Wilde:

I do not know whom should I trust: you or people from google who created pageSpeed. When I run this jpeg through pageSpeed it says

Losslessly compressing http://upload.wikimedia.org/.../Lake_mapourika_NZ.jpeg could save 16.8KiB (4% reduction).

P.S. the reason to use a tool is not to save some space on my machine, the images are on the server, so optimizing images will help to save bandwidth for users viewing images. For this reason images should be viewable and achieving them is not an option.

I am looking for a command line lossless jpeg compression tool which will have the following functionality:

  • be a command line tool with no gui interface
  • I can provide list of folders (where my potentially unoptimized images are), it will recursively goes and optimize all images inside of these folders and subfolders
  • the images will be saved with the same name as they were before (substituting old unoptimized image for a new one)

Also it is not really important, it would be nice if the tool could

  • Give a report (how much space per file / in total was saved)
  • Could resize images as well
  • Should properly handle big amount of files (> 1000)
  • Remove metadata

Answer to Nick Wilde:

I do not know whom should I trust: you or people from google who created pageSpeed. When I run this jpeg through pageSpeed it says

Losslessly compressing http://upload.wikimedia.org/.../Lake_mapourika_NZ.jpeg could save 16.8KiB (4% reduction).

P.S. the reason to use a tool is not to save some space on my machine, the images are on the server, so optimizing images will help to save bandwidth for users viewing images. For this reason images should be viewable and archiving them is not an option.

edited title
Link
Nicolas Raoul
  • 20k
  • 12
  • 62
  • 154

Tools Command-line tool for lossless jpeg compression /and optimization for ubuntuUbuntu

edited tags
Link
Loading
Tweeted twitter.com/#!/StackSoftRecs/status/446964340655394816
added 262 characters in body
Source Link
Salvador Dali
  • 381
  • 1
  • 2
  • 14
Loading
Answer to the question
Source Link
Salvador Dali
  • 381
  • 1
  • 2
  • 14
Loading
Source Link
Salvador Dali
  • 381
  • 1
  • 2
  • 14
Loading