Changeset 4879 for libpipi


Ignore:
Timestamp:
Jun 13, 2014, 7:41:07 AM (9 years ago)
Author:
Sam Hocevar
Message:

autocontrast: fix alpha handling.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpipi/trunk/pipi/filter/autocontrast.c

    r3342 r4879  
    101101                dstdata[4 * (y * w + x) + 2]
    102102                    = (srcdata[4 * (y * w + x) + 2] - min) * t;
     103                dstdata[4 * (y * w + x) + 3]
     104                    = srcdata[4 * (y * w + x) + 3];
    103105            }
    104106        }
Note: See TracChangeset for help on using the changeset viewer.