qiqian / webp

Automatically exported from code.google.com/p/webp
0 stars 0 forks source link

cwebp and dwebp utils options inconsistency #223

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I noticed than both cwebp and dwebp have an option to resize resulting image.

But it has different names in different utilities. In cwebp it is called 
-resize, while in swebp it is called -scale.

I failed to find any significant difference between -scale and -resize options, 
except that -resize allows any of it's parameters to be 0.

It'll be nice to remove this inconsistency by copying cwebp -resize behavior in 
dwebp utility, leaving -scale as a legacy synonym.

Thanx!

Original issue reported on code.google.com by lbeschas...@iknow.travel on 17 Sep 2014 at 4:49