User Tools

Site Tools


en:traffic:brightness_contrast

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
en:traffic:brightness_contrast [2018/09/22 12:03]
bahnfrank65 [Syntax]
en:traffic:brightness_contrast [2018/09/22 22:15]
bahnfrank65 [Syntax]
Line 8: Line 8:
 The formulation for adjusting the brightness and contrast is: The formulation for adjusting the brightness and contrast is:
  
-<​code>​[BC:<​Helligkeitsänderung>,<Kontraständerung>​]</​code>​+<​code>​[BC:<​brightness change>, <contrast change>​]</​code>​
  
 Both values are given as decimal fractions with a decimal point instead of a comma and up to two digits behind it. Since both the brightness and the contrast can be increased and reduced, the control range is from -1 to 1. 0 stands for maintaining the original value. Both values are given as decimal fractions with a decimal point instead of a comma and up to two digits behind it. Since both the brightness and the contrast can be increased and reduced, the control range is from -1 to 1. 0 stands for maintaining the original value.
Line 14: Line 14:
 A brightness change of 1 causes a completely white picture, -1 blackens the picture. With a contrast change of 1, all color values are brought to the next extreme or close to it (ie either 0 or 255 or FF), at -1 the whole image is colored medium gray. A brightness change of 1 causes a completely white picture, -1 blackens the picture. With a contrast change of 1, all color values are brought to the next extreme or close to it (ie either 0 or 255 or FF), at -1 the whole image is colored medium gray.
  
-Transparent areas are excluded from these changes, and even black (# 000000) areas are only affected by Brightness 1 or Contrast -1. At the same time, [[en:​traffic:​tueranimation|animated doors]], [[en:​traffic:​vehicle list:vehicle macropage variations|page variations]] and [[en:​traffic:​stromabnehmer:​start|pantograph]] are currently excluded.+Transparent areas are excluded from these changes, and even black (# 000000) areas are only affected by Brightness 1 or Contrast -1. At the same time, [[en:​traffic:​animated_doors|animated doors]], [[en:​traffic:​vehicle_list:vehicle_macro:page_variations|page variations]] and [[en:​traffic:​pantograph:​start|pantograph]] are currently excluded.
  
 It is also possible to change rectangular sections of an image; These are specified with coordinates that define the lower left corner on the one hand and the dimensions of an area on the other hand. It is also possible to change rectangular sections of an image; These are specified with coordinates that define the lower left corner on the one hand and the dimensions of an area on the other hand.
en/traffic/brightness_contrast.txt · Last modified: 2018/09/22 22:24 by bahnfrank65