Home | History | Annotate | Download | only in MagickCore

Lines Matching full:brightness

205 %  BrightnessContrastImage() changes the brightness and/or contrast of an
206 % image. It converts the brightness and contrast parameters into slope and
212 % const double brightness,const double contrast,ExceptionInfo *exception)
218 % o brightness: the brightness percent (-100 .. 100).
226 const double brightness,const double contrast,ExceptionInfo *exception)
250 intercept=brightness/100.0+((100-brightness)/200.0)*(1.0-slope);
848 brightness,
860 brightness=0.0;
861 ConvertRGBToHSB(*red,*green,*blue,&hue,&saturation,&brightness);
862 brightness+=0.5*sign*(0.5*(sin((double) (MagickPI*(brightness-0.5)))+1.0)-
863 brightness);
864 if (brightness > 1.0)
865 brightness=1.0;
867 if (brightness < 0.0)
868 brightness=0.0;
869 ConvertHSBToRGB(hue,saturation,brightness,red,green,blue);
2933 % ModulateImage() lets you control the brightness, saturation, and hue
2934 % of an image. Modulate represents the brightness, saturation, and hue
2948 % o modulate: Define the percent change in brightness, saturation, and hue.
3005 brightness,
3010 Increase or decrease color brightness, saturation, or hue.
3012 ConvertRGBToHSB(*red,*green,*blue,&hue,&saturation,&brightness);
3019 brightness*=0.01*percent_brightness;
3020 ConvertHSBToRGB(hue,saturation,brightness,red,green,blue);