cxt / webp

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

cwebp and dwebp utils options inconsistency #223

Closed GoogleCodeExporter closed 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

GoogleCodeExporter commented 9 years ago
Sorry for the long delay on this. Both -resize and the missing ability to 
specify one dimension as 0 changes have been merged:

1e595fe dwebp: add -resize as a synonym for -scale
24a9693 dec: allow 0 as a scaling dimension

they'll be available in the next release (0.5.0)

Original comment by jz...@google.com on 14 Aug 2015 at 7:21