doc:appunti:hardware:canoscan_9000f_mark_ii_positive_scan
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
doc:appunti:hardware:canoscan_9000f_mark_ii_positive_scan [2019/12/23 16:20] – [Imagemagick tools] niccolo | doc:appunti:hardware:canoscan_9000f_mark_ii_positive_scan [2020/01/01 16:02] – [Extract the embedded color profile from an image] niccolo | ||
---|---|---|---|
Line 75: | Line 75: | ||
convert image.tiff -print " | convert image.tiff -print " | ||
convert image.tiff -print " | convert image.tiff -print " | ||
+ | </ | ||
+ | |||
+ | ==== Remove the color profile from an image ==== | ||
+ | |||
+ | This command will **strip** any comment and **profile** from a source image, it **does not alter the pixel data** values (**WARNING**: | ||
+ | |||
+ | < | ||
+ | convert image.tiff -strip image-no-profile.tiff | ||
</ | </ | ||
Line 93: | Line 101: | ||
</ | </ | ||
- | The resulting image will not have any metadata about color profile, so the sRGB will be assumed by default. The pixel data values are converted from the original Canon colorspace to the sRGB one (one-way lossy operation). | + | The resulting image will not have any metadata about color profile, so the sRGB will be assumed by default. The pixel data values are converted from the original Canon colorspace to the sRGB one (one-way lossy operation). NOTICE: |
- | + | ||
- | **NOTICE**: the Debian package **colord-data** provides | + | |
==== Extract the embedded color profile from an image ==== | ==== Extract the embedded color profile from an image ==== | ||
Line 106: | Line 112: | ||
It is not possible to extract the ICC file if the colorspace is just declared into the metadata, but not embedded as a profile. In this case you can search instead into the **/ | It is not possible to extract the ICC file if the colorspace is just declared into the metadata, but not embedded as a profile. In this case you can search instead into the **/ | ||
+ | |||
+ | ==== Examine an ICC color profile ==== | ||
+ | |||
+ | We can use the command line tool **exiftool** from the Debian package **libimage-exiftool-perl**. | ||
+ | |||
+ | To examine a profile embedded into an image: | ||
+ | |||
+ | < | ||
+ | exiftool -icc_profile: | ||
+ | </ | ||
+ | |||
+ | To examine an ICC profile file: | ||
+ | |||
+ | < | ||
+ | exiftool profile.icc | ||
+ | </ | ||
==== Set a different colorspace ==== | ==== Set a different colorspace ==== | ||
Line 136: | Line 158: | ||
convert image.tiff -colorspace CIELab image_lab.tiff | convert image.tiff -colorspace CIELab image_lab.tiff | ||
</ | </ | ||
+ | |||
+ | Some known colorspaces are: **sRGB**, **RGB**, **CIELab**, **Gray**. To list colorspaces supported by Imagemagick, | ||
An **ICC color profile** is **not embedded** into the file, so the software used to open the resulting file must be aware of that colorspace by itself. | An **ICC color profile** is **not embedded** into the file, so the software used to open the resulting file must be aware of that colorspace by itself. |
doc/appunti/hardware/canoscan_9000f_mark_ii_positive_scan.txt · Last modified: 2020/01/02 16:40 by niccolo