@@ -484,14 +484,24 @@ function waveform(): FlagQualifier {
484484 return new FlagQualifier ( 'waveform' ) ;
485485}
486486
487+ /**
488+ * @summary qualifier
489+ * @memberOf Qualifiers.Flag
490+ * @description A qualifier that ensures that an alpha channel is not applied to a TIFF image if it is a mask channel.
491+ * @return {Qualifiers.Flag.FlagQualifier }
492+ */
493+ function ignoreMaskChannels ( ) : FlagQualifier {
494+ return new FlagQualifier ( 'ignore_mask_channels' ) ;
495+ }
496+
487497
488498const Flag = {
489499 animated, anyFormat, animatedPng, animatedWebP,
490500 clipEvenOdd, lossy, preserveTransparency, png8, png24, png32, progressive, rasterize,
491501 sanitize, stripProfile, tiff8Lzw, attachment, forceIcc, forceStrip, getInfo, immutableCache,
492502 keepAttribution, keepIptc, custom, streamingAttachment, hlsv3, keepDar, noStream, mono,
493503 layerApply, relative, regionRelative, splice, truncateTS, waveform, ignoreInitialAspectRatio, clip,
494- tiled, noOverflow
504+ tiled, noOverflow, ignoreMaskChannels
495505} ;
496506
497507export {
@@ -500,7 +510,7 @@ export {
500510 sanitize , stripProfile , tiff8Lzw , attachment , forceIcc , forceStrip , getInfo , immutableCache ,
501511 keepAttribution , keepIptc , custom , streamingAttachment , hlsv3 , keepDar , noStream , mono ,
502512 layerApply , relative , regionRelative , splice , truncateTS , waveform , ignoreInitialAspectRatio , clip ,
503- tiled , noOverflow
513+ tiled , noOverflow , ignoreMaskChannels
504514} ;
505515
506516
0 commit comments