#import <LynkeosFileWriter.h>


Public Member Functions | |
| (void) | - saveImageAtURL:withData:withPrecision:blackLevel:whiteLevel:withPlanes:width:lineWidth:height:metaData: |
| Save the image data in a file at the given URL. Simple as that ;o). | |
| - (void) saveImageAtURL: | (NSURL *) | url | ||
| withData: | (const void *const *const ) | data | ||
| withPrecision: | (floating_precision_t) | precision | ||
| blackLevel: | (double) | black | ||
| whiteLevel: | (double) | white | ||
| withPlanes: | (u_short) | nPlanes | ||
| width: | (u_short) | w | ||
| lineWidth: | (u_short) | lineW | ||
| height: | (u_short) | h | ||
| metaData: | (NSDictionary *) | metaData | ||
Save the image data in a file at the given URL. Simple as that ;o).
| url | The URL of the file to save | |
| data | An array of pointers to the image color planes | |
| precision | Wether the data buffer contains floats or doubles | |
| black | The value of the black level in the source image | |
| white | The value of the white level in the source image | |
| nPlanes | The number of color planes. | |
| w | Width of sample | |
| lineW | The number of samples in each line, as it can be larger than w there may be spare at the end of the lines. | |
| h | Height of sample | |
| metaData | The image meta data The pixels in the data are already scaled to 0.0 for black and 1.0 for white. The parameters | |
| black | and | |
| white | give the value they had in the source image before scaling ; this can be used to save the original value (for example in floating point FITS). |
1.5.4