_ImageOpen, _OpenLargeImageProgVsSplit, _OpenLargeImageSplit, _ReopenProgressiveAsDownsampled, EnableDetectSequence, ImageOpen, OpenDocument, OpenDocument2, OpenDocument2_SetParams_Downsample, OpenDocument2_SetParams_Exp, OpenDocumentSerie, OpenDownsampledLargeImage, OpenDownsampledLargeImageEx, OpenLargeImage, SnippingTool
Description
_ReopenProgressiveAsDownsampled();
This function calls the OpenDownsampledLargeImageEx function. When an image is opened in the Progressive mode, you can zoom on a detail and if the zoom is smaller than 50%, you can use the context menu command to open it downsampled. The image opens in the same zoom and on the same position in the memory.
Description
EnableDetectSequence(
int Enabled
);
This function sets the behavior for detecting sequences when opening images via the Image Open dialog.
1 enables detecting sequences.
This function runs the File > Recent Files command.
Interactive command to this function: File > Open
Description
ImageOpen(
char *Image
);
This function opens the selected image file to the application screen.
See Also
_ImageOpen
Description
OpenDocument( char *Image
, intSaveModified
);
This function opens the document and displays the specified image on the screen.
Note
It is recommended to use OpenDocument2 function instead.
Parameters
SaveModified
Specifies whether to save an opened document when it has been modified.
Asks whether to save changes or not. Ask before overwriting. | |
Changes are saved automatically. Overwrite existing file. | |
Changes are not saved. Always discard the image. Do not save (handled in macro). | |
Save into different folder. | |
Cancels the operation. |
See Also
OpenLargeImage, ImageOpen, SaveCurrentDocument
Description
OpenDocument2( char *Image
, intSeriesType
, intDocOpenType
);
This function opens the document and displays the specified image on the screen.
Description
OpenDocument2_SetParams_Downsample( doublePicViewZoom
, doubleRelativePositionX
, doubleRelativePositionY
);
Sets the parameters before calling the OpenDocument2 function with parameter int DocOpenType
equals to 2.
Description
OpenDocument2_SetParams_Exp( intND_ExperimentType
, doubleSequenceStep
);
Sets the parameters before calling the OpenDocument2 function.
Parameters
Description
OpenDocumentSerie( char *Image
, intDocumentSerie
, intSaveModified
);
Opens a selected series (OME-TIFF) of the document.
Parameters
SaveModified
Specifies whether to save an opened document when it has been modified.
Asks whether to save changes or not. Ask before overwriting. | |
Changes are saved automatically. Overwrite existing file. | |
Changes are not saved. Always discard the image. Do not save (handled in macro). | |
Save into different folder. | |
Cancels the operation. |
Description
OpenDownsampledLargeImage( char *Image
, intSaveModified
);
Opens a large image (which does not fit in the memory) as a downsampled (reduced) image in multiplies of 2 so that it fits into the memory. This function automatically saves the downsampled data to the original file (w/2xh/2, w/4xh/4, w/8xh/8, ...) therefore enlarges the file by one third. The downsampled image works as a normal image enabling any standard operations. This function is an alternative to the Progressive mode where the image is in its full size but not all operations are possible.
Parameters
SaveModified
Specifies whether to save an opened document when it has been modified.
Asks whether to save changes or not. Ask before overwriting. | |
Changes are saved automatically. Overwrite existing file. | |
Changes are not saved. Always discard the image. Do not save (handled in macro). | |
Save into different folder. | |
Cancels the operation. |
Description
OpenDownsampledLargeImageEx( char *Image
, doublePicViewZoom
, intPicViewDocuX
, intPicViewDocuY
, intSaveModified
);
This function is the same as OpenDownsampledLargeImage and in addition it allows to set the target enlargement (e.g. 20%) and to set a point you want to have in the middle of the view.
Parameters
PicViewDocuX
X coordinate of the zoom centre. A zoom centre is a point that will keep its position on the screen during zooming. The coordinates correspond to picture dimensions (in pixels). [0, 0] corresponds to the top-left corner of the picture.
PicViewDocuY
Y coordinate of the zoom centre. A zoom centre is a point that will keep its position on the screen during zooming. The coordinates correspond to picture dimensions (in pixels). [0, 0] corresponds to the top-left corner of the picture.
SaveModified
Specifies whether to save an opened document when it has been modified.
Asks whether to save changes or not. Ask before overwriting. | |
Changes are saved automatically. Overwrite existing file. | |
Changes are not saved. Always discard the image. Do not save (handled in macro). | |
Save into different folder. | |
Cancels the operation. |
Description
OpenLargeImage( char *Image
, intSaveModified
);
This function opens any image and assigns the SaveModified parameter to it. This parameter saves the modified image (0 = not saving, 1 = saving).
Parameters
SaveModified
Specifies whether to save an opened document when it has been modified.
Asks whether to save changes or not. Ask before overwriting. | |
Changes are saved automatically. Overwrite existing file. | |
Changes are not saved. Always discard the image. Do not save (handled in macro). | |
Save into different folder. | |
Cancels the operation. |
See Also
OpenDocument, ImageOpen, SaveCurrentDocument
This function runs the Edit > Snipping Tool command.
Description
SnippingTool();
This function executes the snipping tool enabling to make screenshots within NIS-Elements. After execution a red rectangular is displayed, dynamically changing with the mouse cursor position. Select the desired area for the capture and click the primary mouse button to copy the selection to clipboard. Then you can paste it into a new document.
This function runs the File > Open command.
Description
_ImageOpen();
This function displays the Open Image dialog box.
See Also
ImageOpen