View Full Version : SDK Viewfinder Rotation
SDK_Monkey
8th of May 2003 (Thu), 15:46
Does anyone know how to rotate the viewfinder image in the SDK? Is it just a function inside the API or do you have to do it manually?
App being done in VB so any help would be appreciated.
Thanks in advance.
Monkey
Osmium
14th of May 2003 (Wed), 03:34
Assuming you're talking about Photoshop V7?
I haven't tried this yet, but the documentation refers to a Document method "RotateCanvas". So...
doc.RotateCanvas(45)
Should rotate your image by 45 degrees clockwise.
SDK_Monkey
19th of May 2003 (Mon), 09:00
I guess I need to be a little bit clearer about what I am trying to do.
I am streaming in the viewfinder images from the camera every .001 seconds and displaying them on the screen. Very much like the Remote Capture program that comes with the Canon Camera. If you have ever used this software you can see that you can rotate the viewfinder 90 degrees either way. Using the SDK, I need to know if the camera can rotate this image before passing it back to me or do I have to take the image only one way from the camera and rotate it myself.
If someone knows how to make the camera do it, that would be GREAT!!! I am doing it myself right now but I can only get the image .667 of a second to keep the program from crashing. If I try to do it every .001 second it will crash after a few seconds.
Thanks
caunt
1st of August 2003 (Fri), 22:33
I don't know too much about the SDK yet. I'm working in Delphi and Canon doesn't support that language (though they've supplied many of the files necessary)
I can't really help you, but, could you tell me what format the 'cdTime' is in? None of the time/date formats I;ve tried seems to give the correct answer (as defined by other exif readers).
For instance, one cdTime parameter passes me the integer
1058764840
and I understand that is supposed to represent
20 July 2003 21:20:42
but I don't know how to extract that date from that number. Can you help?
mastablasta
6th of August 2003 (Wed), 16:26
I just trying to find out how i can use my A70 as a webcam, and as i looked around i decided to write the software myself.
Now i see that you are doing quite the same, am i right?
stopbath
8th of August 2003 (Fri), 08:41
Why do you need the viewfinder updated every 1/1000 second? Seems a bit over kill. Still once every 2/3 second seems a bit slow, but perhaps that is the maximum that the USB or some other hardware can do.
SDK_Monkey
8th of August 2003 (Fri), 08:50
Has anyone used the remote capture software? In it you can rotate the view-finder and it is very fluid. That is what I am trying to do. If you have not used it, install it and take a look. As far as using it as a web cam, I guess you could stream it in and re-broadcast it back out over the web. Never thought of using it that way but I don't see any reason why it would not work.
vBulletin® v3.6.12, Copyright ©2000-2012, Jelsoft Enterprises Ltd.