@@ -127,19 +127,19 @@ impl RGBE8Pixel {
127
127
128
128
/// Converts ```RGBE8Pixel``` into ```Rgb<T>``` with scale=1 and gamma=2.2
129
129
///
130
- /// color_ldr = (color_hdr*scale)^ gamma
130
+ /// color_ldr = (color_hdr*scale)<sup> gamma</sup>
131
131
///
132
- /// # Panic
133
- ///
134
- /// Panics when ```T::max_value()``` cannot be represented as f32.
132
+ /// # Panic
133
+ ///
134
+ /// Panics when ```T::max_value()``` cannot be represented as f32.
135
135
#[ inline]
136
136
pub fn to_ldr < T : Primitive + Zero > ( self ) -> Rgb < T > {
137
137
self . to_ldr_scale_gamma ( 1.0 , 2.2 )
138
138
}
139
139
140
140
/// Converts RGBE8Pixel into Rgb<T> using provided scale and gamma
141
141
///
142
- /// color_ldr = (color_hdr*scale)^ gamma
142
+ /// color_ldr = (color_hdr*scale)<sup> gamma</sup>
143
143
///
144
144
/// # Panic
145
145
///
@@ -574,10 +574,14 @@ pub struct HDRMetadata {
574
574
/// First pair tells how resulting pixel coordinates change along a scanline.
575
575
/// Second pair tells how they change from one scanline to the next.
576
576
pub orientation : ( ( i8 , i8 ) , ( i8 , i8 ) ) ,
577
- /// Divide color values by exposure to get to get physical radiance in watts/steradian/m^2
577
+ /// Divide color values by exposure to get to get physical radiance in
578
+ /// watts/steradian/m<sup>2</sup>
579
+ ///
578
580
/// Image may not contain physical data, even if this field is set.
579
581
pub exposure : Option < f32 > ,
580
- /// Divide color values by corresponing tuple member (r, g, b) to get to get physical radiance in watts/steradian/m^2
582
+ /// Divide color values by corresponing tuple member (r, g, b) to get to get physical radiance
583
+ /// in watts/steradian/m<sup>2</sup>
584
+ ///
581
585
/// Image may not contain physical data, even if this field is set.
582
586
pub color_correction : Option < ( f32 , f32 , f32 ) > ,
583
587
/// Pixel height divided by pixel width
0 commit comments