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

            NikonPreview preview = new NikonPreview(previewArray.buffer);

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

            NikonPreview preview = new NikonPreview(previewArray.buffer);

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