I found multiple ways to change the resolution of an image using convert:
convert
-sample -resample -scale -resize -adaptive-resize -thumbnail >
-sample -resample -scale -resize -adaptive-resize -thumbnail
As said by Ciro Santilli 新疆改造中心 六四事件 法轮功:
If you had sample images, this would be even more perfect :-)
-resize
(8.0 kB)
-sample
(2.2kB)
-scale
(7.0 kB)
-adaptive-resize
(4.3 kB)