Changeset 29514 for branches/eam_branches/ipp-20100823/psModules
- Timestamp:
- Oct 21, 2010, 2:40:17 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20100823/psModules/src/camera/pmFPA_JPEG.c
r29354 r29514 195 195 fmax = +6.0; 196 196 } 197 bool haveBar = psMetadataLookupBool(&status, options, "SCALE.BAR"); // Mode for scaling image 198 if (!status) { 199 haveBar = false; 200 } 197 201 198 202 float min = 0, max = 0; // Minimum and maximum for stretch … … 226 230 jpegOptions->max = max; 227 231 232 if (haveBar) { 233 jpegOptions->showScale = PS_JPEG_SHOWSCALE_BOTTOM; 234 } else { 235 jpegOptions->showScale = PS_JPEG_SHOWSCALE_NONE; 236 } 237 228 238 // NOTE: we can overlay the location of the stars from the readout by passing a bDrawBuffer to this function 229 239
Note:
See TracChangeset
for help on using the changeset viewer.
