Forrest logo
back to the sips tool

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

The command you provided is using the "sips" (Scriptable Image Processing System) command-line tool on macOS to convert an image to a specified output directory while applying a color profile.

Here's a breakdown of the command and its components:

  • "sips": This is the command-line tool used for image processing.
  • "--matchTo": This option is used to specify the color profile to be applied to the image. In this case, the color profile is set to "/System/Library/ColorSync/Profiles/Generic RGB Profile.icc". This color profile is a commonly used generic RGB profile.
  • "${path-to-image-ext}": This placeholder should be replaced with the actual path to the input image that you want to convert. You need to provide the full path along with the file name and extension.
  • "${path-to-out_dir}": This placeholder should be replaced with the actual path to the output directory where you want to save the converted image. You need to provide the full path to the desired directory.

By running this command with the appropriate image path and output directory, the image will be converted with the specified color profile, preserving the color characteristics defined by that profile, and saved in the provided output directory.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the sips tool