Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mm2/Little-CMS.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarti Maria <marti.maria@littlecms.com>2021-11-06 22:08:45 +0300
committerMarti Maria <marti.maria@littlecms.com>2021-11-06 22:08:45 +0300
commit127f1de02bb92c26a259d879200c4a874839fdad (patch)
treef8f48e385f5f127ed2150bbcfc33f709f20e14c6 /plugins
parentb604d09877bed63fdff1c8a9d3c2e0d79312c2a6 (diff)
fix alpha channel bug
From a PR we got some issues, fixed.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/fast_float/src/fast_float_cmyk.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/fast_float/src/fast_float_cmyk.c b/plugins/fast_float/src/fast_float_cmyk.c
index 0b68fad..f6157a1 100644
--- a/plugins/fast_float/src/fast_float_cmyk.c
+++ b/plugins/fast_float/src/fast_float_cmyk.c
@@ -303,10 +303,11 @@ void FloatCMYKCLUTEval(struct _cmstransform_struct *CMMcargo,
out[OutChan] += DestIncrements[OutChan];
}
- if (ain)
+ if (ain) {
*(cmsFloat32Number*)(out[TotalOut]) = *(cmsFloat32Number*)ain;
ain += SourceIncrements[4];
out[TotalOut] += DestIncrements[TotalOut];
+ }
}
strideIn += Stride->BytesPerLineIn;