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 revision | ||
doc:appunti:hardware:canoscan_9000f_mark_ii_positive_scan [2019/12/23 11:53] – [Imagemagick tools] niccolo | doc:appunti:hardware:canoscan_9000f_mark_ii_positive_scan [2020/01/02 16:40] (current) – [Imagemagick tools] niccolo | ||
---|---|---|---|
Line 9: | Line 9: | ||
<code bash> | <code bash> | ||
+ | #!/bin/sh | ||
+ | |||
FORMAT=' | FORMAT=' | ||
RESOLUTION=' | RESOLUTION=' | ||
Line 23: | Line 25: | ||
</ | </ | ||
- | When you will open the image into GIMP, you will asked if you want to convert the pixel values from the **custom Canon color space**, to the **standard sRGB** color space. Keeping the image into its original format (16 bit and original color space) is the best option if you want to keep all the numerical data for future image manipulation. Converting to another color space (sRGB is the one suggested by GIMP) will speed-up the handling of the image, but it is an **lossy | + | When you will open the image into GIMP, you will asked if you want to convert the pixel values from the **custom Canon color space**, to the **standard sRGB** color space. Keeping the image into its original format (16 bit and original color space) is the best option if you want to keep all the numerical data for future image manipulation. Converting to another color space (sRGB is the one suggested by GIMP) will speed-up the handling of the image, but it is an **lossy |
The GIMP is rather good in handling various image formats with custom color profiles, but beware that not all the viewers are equally capable. E.g. the **Geeqie 1.4** image viewer **does not apply** custom ICC profiles **to JPEG images**, so it will display images as //RAW data// (bad colors). Images for the web generally do not embed a custom color profile, they are expected to be into the sRGB color space, compressed as JPEG 24 bit (8 bit per channel). | The GIMP is rather good in handling various image formats with custom color profiles, but beware that not all the viewers are equally capable. E.g. the **Geeqie 1.4** image viewer **does not apply** custom ICC profiles **to JPEG images**, so it will display images as //RAW data// (bad colors). Images for the web generally do not embed a custom color profile, they are expected to be into the sRGB color space, compressed as JPEG 24 bit (8 bit per channel). | ||
- | ===== ICC profile ===== | + | ===== The Canon 9000F ICC profile ===== |
An **[[wp> | An **[[wp> | ||
Line 35: | Line 37: | ||
For the **Canon CanoScan 9000F Mark II** there is, available on the net, a color profile made by an unknown author, here you can find a copy: **{{.: | For the **Canon CanoScan 9000F Mark II** there is, available on the net, a color profile made by an unknown author, here you can find a copy: **{{.: | ||
+ | |||
===== Imagemagick tools ===== | ===== Imagemagick tools ===== | ||
- | The **Imagemagick** package provides several tools that can be used for several tasks: | + | See the page **[[..:software:imagemagick_color_management]]**. |
- | + | ||
- | * **Inspect** | + | |
- | | + | |
- | * Apply, change or strip **color profiles**. | + | |
- | + | ||
- | === Add a color profile === | + | |
- | + | ||
- | This command will **strip** all the comments and **profiles** from a source image, then it adds a color profile from an ICC file, **embedding** it into the image, **without altering the pixel data** values (**WARNING**: it will remove the // | + | |
- | + | ||
- | < | + | |
- | convert image.tiff -strip -profile canon9000fmarkii.icc image-profile-canon.tiff | + | |
- | </ | + | |
- | + | ||
- | === Convert to other color profile === | + | |
- | + | ||
- | The following command will ignore any embedded profile (-strip), **apply the Canon custom profile**, than **convert** the image to the **standard sRGB color profile** (color space). Finally it removes from the resulting image any metadata about profile: | + | |
- | + | ||
- | < | + | |
- | convert image.tiff -strip -profile canon9000fmarkii.icc -profile sRGB.icc -strip image-srgb.tiff | + | |
- | </ | + | |
- | + | ||
- | 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**: the Debian package **colord-data** provides the file **/ | + |
doc/appunti/hardware/canoscan_9000f_mark_ii_positive_scan.txt · Last modified: 2020/01/02 16:40 by niccolo