Forrest logo
back to context overview

sips

List of commands for sips:

  • sips:tldr:164e7 sips: Resample image so height and width aren't greater than specified size (notice the capital Z).
    $ sips --resampleHeightWidthMax ${1920} ${300} ${image_file-ext}
    try on your machine
    explain this command
  • sips:tldr:25322 sips: Resample image at specified size, Image aspect ratio may be altered.
    $ sips --resampleHeightWidth ${1920} ${300} ${image_file-ext}
    try on your machine
    explain this command
  • sips:tldr:61001 sips: Resample all images in a directory to fit a width of 960px (honoring aspect ratio).
    $ sips --resampleWidth ${960} ${path-to-images}
    try on your machine
    explain this command
  • sips:tldr:83d1f sips: Remove ColorSync ICC profile from an image.
    $ sips --deleteProperty profile --deleteColorManagementProperties ${path-to-image_file-ext}
    try on your machine
    explain this command
  • sips:tldr:fdcd2 sips: Convert an image from CMYK to RGB.
    $ sips --matchTo "/System/Library/ColorSync/Profiles/Generic RGB Profile.icc" ${path-to-image-ext} ${path-to-out_dir}
    try on your machine
    explain this command
back to context overview