[gimp] app: don't copy alpha in gimp_operation_profile_transform_process()
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: don't copy alpha in gimp_operation_profile_transform_process()
- Date: Fri, 9 Sep 2016 23:10:03 +0000 (UTC)
commit 6bc8b4ee7401cb4faced31e68e65b323a3010431
Author: Michael Natterer <mitch gimp org>
Date: Sat Sep 10 01:09:11 2016 +0200
app: don't copy alpha in gimp_operation_profile_transform_process()
GimpColorTransform abstracts that lcms problem away.
app/operations/gimpoperationprofiletransform.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/app/operations/gimpoperationprofiletransform.c b/app/operations/gimpoperationprofiletransform.c
index d22b9b5..2585265 100644
--- a/app/operations/gimpoperationprofiletransform.c
+++ b/app/operations/gimpoperationprofiletransform.c
@@ -275,12 +275,6 @@ gimp_operation_profile_transform_process (GeglOperation *operation,
if (self->transform)
{
- /* copy the alpha channel */
- if (babl_format_has_alpha (self->dest_format))
- babl_process (babl_fish (self->src_format,
- self->dest_format),
- src, dest, samples);
-
gimp_color_transform_process_pixels (self->transform,
self->src_format,
src,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]