예제 #1
0
 void OnLowResolutionPreviewReady(NikonDevice sender, NikonPreview preview)
 {
     if (_lowResolutionPreviewReady != null)
     {
         _lowResolutionPreviewReady(sender, preview);
     }
 }
예제 #2
0
 void OnPreviewReady(NikonDevice sender, NikonPreview preview)
 {
     if (_previewReady != null)
     {
         _previewReady(sender, preview);
     }
 }
예제 #3
0
        void GetPreviewAndFireEvent(eNkMAIDCapability previewCapabilty, PreviewReadyDelegate d)
        {
            NikonArrayWithData previewArray = Object.GetArrayWithData(previewCapabilty);

            NikonPreview preview = new NikonPreview(previewArray.buffer);

            Scheduler.Callback(d, this, preview);
        }
예제 #4
0
 void device_PreviewReady(NikonDevice sender, NikonPreview preview)
 {
     Save(preview.JpegBuffer, "preview.jpg");
 }
예제 #5
0
 void device_LowResolutionPreviewReady(NikonDevice sender, NikonPreview preview)
 {
     Save(preview.JpegBuffer, "preview_lowres.jpg");
 }
예제 #6
0
 void OnPreviewReady(NikonDevice sender, NikonPreview preview)
 {
     if (_previewReady != null)
     {
         _previewReady(sender, preview);
     }
 }
예제 #7
0
 void OnLowResolutionPreviewReady(NikonDevice sender, NikonPreview preview)
 {
     if (_lowResolutionPreviewReady != null)
     {
         _lowResolutionPreviewReady(sender, preview);
     }
 }
예제 #8
0
        void GetPreviewAndFireEvent(eNkMAIDCapability previewCapabilty, PreviewReadyDelegate d)
        {
            NikonArrayWithData previewArray = Object.GetArrayWithData(previewCapabilty);

            NikonPreview preview = new NikonPreview(previewArray.buffer);

            Scheduler.Callback(d, this, preview);
        }