jpeg-archive icon indicating copy to clipboard operation
jpeg-archive copied to clipboard

[Request] Please allow more arguments to the "--subsample" switch

Open ghost opened this issue 10 years ago • 1 comments

Please allow more arguments to the "--subsample" switch.

Currently only 2x2 (default) and 1x1 (disable) is supported, but there are plenty cameras available, that outputs 2x1 or 1x2 jpegs. Transcoding these jpegs via jpeg-recompress are always too big (1x1), or look often too ugly (2x2) (structure in red color areas, anti-aliasing, flat gradient etc.).

Sure, 2x2 is for the most jpegs enough quality, or simple not noticeable, so 2x2 can be still the default value.

So please, let us choose the correct sampling method, or autodetect it from the original.

Regards, Biozynotiker

ghost avatar May 30 '15 12:05 ghost

Sure, I think adding a couple more options here is a good idea. I'm quite busy at the moment but will try to take a look at this sometime soon. Pull requests welcome if you are impatient :wink:

danielgtaylor avatar Jun 03 '15 03:06 danielgtaylor