ImageMagick
convert -size 1024x768 -sampling-factor 4:2:2 -depth 8 raw-example.yuv <outfile>.png
sips -s format bmp input.png –out output.bmp
identify -verbose hand_white.gif |\ perl -0777 -ne 's/^ //gm; \ print $& while /^(Colors|Alpha|Colormap):.*?(?=^S)/gms' convert -set units PixelsPerInch 1200x1200px.png -density 600 -format pdf 1200x1200px-changedensity3.pdf
convert -units PixelsPerInch image -density 300 resultimage
convert -units PixelsPerInch image -resample 300 resultimage
magick identify rose.jpg magick identify -verbose convert -size 16000x16000 -depth 8 -extract 640x480+1280+960 \ image.rgb image.png”, oppure convert -size 16000x16000 -depth 8 'image.rgb' \ image.rgb image.png“
magick convert -size 1280x536 -depth 8 -extract 200x200+600+250 Prova2.jpg NuovaImage.jpg magick convert -scale 50% -quality 80% monumeto.jpg monumento_ridotto.jpg magick convert -resize 350 -quality 80% monumeto.jpg monumento_350.jpg