AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

* Photo * Buckingham Canal - Near Chennai, INDIA
Goto page 1, 2  Next
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> General Chat
View previous topic :: View next topic  
Author Message
SKAN



Joined: 26 Dec 2005
Posts: 6264

PostPosted: Fri Mar 31, 2006 9:43 am    Post subject: * Photo * Buckingham Canal - Near Chennai, INDIA Reply with quote

Dear friends, Smile

I took this photo in my digital camera & thought it was good enough to be shared.

[Snapshot] Buckingham Canal - Near Chennai, INDIA

You may Download the original (untouched) file 1280x960, 303KB: Dsc04787.jpg

Regards, Smile
_________________
Back to top
View user's profile Send private message
PhiLho



Joined: 27 Dec 2005
Posts: 6721
Location: France (near Paris)

PostPosted: Fri Mar 31, 2006 10:47 am    Post subject: Reply with quote

Nice. Thanks for sharing. Could do a good background image.
I wonder how the camera captors were not saturated by the sun.
_________________
vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2")
Back to top
View user's profile Send private message Visit poster's website
SKAN



Joined: 26 Dec 2005
Posts: 6264

PostPosted: Fri Mar 31, 2006 11:11 am    Post subject: Reply with quote

Dear PhiLho, Smile

You wrote:
I wonder how the camera captors were not saturated by the sun.


It looked okay in the LCD and so I clicked it. Guess I was lucky Smile

Regards, Smile

PS: My Digital Camera
_________________
Back to top
View user's profile Send private message
evl



Joined: 24 Aug 2005
Posts: 1239

PostPosted: Fri Mar 31, 2006 11:34 am    Post subject: Reply with quote

Nice pic, especially the ripples on the water. Actually the sun has saturated the sensors (middle is pure white), it just doesn't look that way (cameras can be surprisingly forgiving with pictures of the sun).
Back to top
View user's profile Send private message
SKAN



Joined: 26 Dec 2005
Posts: 6264

PostPosted: Fri Mar 31, 2006 8:07 pm    Post subject: Reply with quote

Thanks evl.. Regards, Smile
_________________
Back to top
View user's profile Send private message
evl



Joined: 24 Aug 2005
Posts: 1239

PostPosted: Fri Mar 31, 2006 9:32 pm    Post subject: Reply with quote

Here's one of my favourite pics (from a technical point of view, not one I'd necessarily want on my wall Laughing )

A larger version



It's just a normal sized fly, in case you wonder Wink I have a habbit of piling on lenses onto my digital camera (Fuji E550) although the manual says to only use 1 at a time Laughing
Back to top
View user's profile Send private message
SKAN



Joined: 26 Dec 2005
Posts: 6264

PostPosted: Sat Apr 01, 2006 2:09 am    Post subject: Reply with quote

evl Shocked !, Thats a great looking macro shot. Nice & colorful Smile.
Have you cropped it from a larger photo?. I saw the specs 6.3M!!! ...

Regards, Smile
_________________
Back to top
View user's profile Send private message
evl



Joined: 24 Aug 2005
Posts: 1239

PostPosted: Sat Apr 01, 2006 2:19 am    Post subject: Reply with quote

It's just resized, not cropped - the original is a 12 megapixel (6 megapixel interpolated to 12 within the camera - comes out slightly better quality for a number of reasons on the that Fuji model). That sort of magnification is about the maximum practical limit - any more and the depth of field becomes hardly anything (i.e. only one specific distance in the pic is in focus). Close-up lenses are really cheap and lots of fun if you have a few bugs to take pictures of (and then wish you hadn't seen them in so much detail Laughing )
Back to top
View user's profile Send private message
PhiLho



Joined: 27 Dec 2005
Posts: 6721
Location: France (near Paris)

PostPosted: Sat Apr 01, 2006 6:38 am    Post subject: Reply with quote

evl wrote:
if you have a few bugs to take pictures of (and then wish you hadn't seen them in so much detail Laughing )
I prefer to find and eliminate the bugs off my programs... Razz
_________________
vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2")
Back to top
View user's profile Send private message Visit poster's website
SKAN



Joined: 26 Dec 2005
Posts: 6264

PostPosted: Sat Apr 01, 2006 7:12 am    Post subject: Reply with quote

Dear evl,

Quote:
Close-up lenses are really cheap and lots of fun if you have a few bugs to take pictures of (and then wish you hadn't seen them in so much detail Laughing )


Very Happy Laughing

I am not able to get so closer with the default lens of my camera Sad . I take large pictures and crop-out the main object
Buying an additional lens is an expensive affair in this part of world!

I require some info from you..
How do you move files from Digital Camera to the computer?

My Digital Camera gets recognised as a "Removable Drive" when plugged-in through USB.
Earlier, I used DOS Batch to move files & now AHK.
Putting it in a nutshell the script is like follows:

Code:
Source = G:\DCIM\101MSDCF\*.jpg

Loop, % Source
  FileMove, %A_LoopfileLongPath%, E:\Sony\~Dump\*.*

Tooltip, Moving Complete!
Sleep, 2000
Tooltip,


I trust the Tooltip,
and Unplug the USB Device
and instantly get an error reading drive.

I know whats happening...

I have to wait till Drive-In-Use indicator goes off in my Camera.
But I have to open the Battery cover to see the Red light (indicator).
.. Awkward!

How to make the script to notify me
"FileCopy Complete!... It is Safe to unplug the Camera Now"

Any suggestions/help would be highly appreciated..

Regards, Smile

PS: The actual script will involve displaying of the Picture (in a GUI) that is being Copied/Moved. I have to use Sleep command inside the loop but it will never be accurate.

I want the picture to be displayed for the exact time taken for copying/moving it.

I have a very hard workaround in my mind, but want to be sure
there no easy way out.
_________________
Back to top
View user's profile Send private message
evl



Joined: 24 Aug 2005
Posts: 1239

PostPosted: Sat Apr 01, 2006 12:42 pm    Post subject: Reply with quote

Close-up lenses are the cheapest type of lens - I got mine off eBay, but even brand new they are pretty cheap - about 30 US dollars for a pair of Kodak +7 and +10 close-up lenses (you can combine close-up lenses - you don't have to use amacro mode on the camera then too). Of course, with digital cameras which don't have a fixed lens (like yours and mine) you first need a tube adaptor to be able to attach anything.


Personally I just move my files manually because it'd not a very common task and I usually look at the thumbnails while still on the camera's memory card and delete any obviously bad ones (at 4 mb per file it can save a lot of time Laughing )

I'm not sure about the problem you're having - just out of interest, have you changed the "write caching for removable drives" option in windows xp? The default is the safer option of not caching and writing everything directly. How much longer does the drive take to become free after the tooltip says it's finished?

It may be possible to send a request to be able to remove the device (which may then be denied if it is still in use). Maybe the following (or something similar) could be used with sendmessage:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/devio/base/wm_devicechange.asp
Quote:
DBT_DEVICEQUERYREMOVE
0x8001 Permission is requested to remove a device or piece of media. Any application can deny this request and cancel the removal.
Back to top
View user's profile Send private message
SKAN



Joined: 26 Dec 2005
Posts: 6264

PostPosted: Sat Apr 01, 2006 5:51 pm    Post subject: Reply with quote

Dear evl, Smile

I am replying late owing to Internet connection problems!.

evl wrote:
Close-up lenses are the cheapest type of lens - I got mine off eBay, but even brand new they are pretty cheap - about 30 US dollars for a pair of Kodak +7 and +10 close-up lenses (you can combine close-up lenses - you don't have to use amacro mode on the camera then too). Of course, with digital cameras which don't have a fixed lens (like yours and mine) you first need a tube adaptor to be able to attach anything.


Thanks of the info.. I should check with Sony-Chennai for availability. I had opted for Sony just for the tag "Made in Japan". Asian's dont get "Made in Japan" easily. I imported it from Middle east to be sure. Sony peripherals are expensive comparatively, one does not get clones easily. I recently shelled out US$ 100 for an additional 256MB (Memory Stick PRO) and additional Battery (InfoLITHIUM NP-FR1)

I can buy a 80GB HDD for US$ 50 !!

Quote:
I'm not sure about the problem you're having - just out of interest, have you changed the "write caching for removable drives" option in windows xp?


Well. I am using WIN 98 SE.
- I Also have XP Pro installed which I don`t use for serious activities.
- No hi-Speed USB in computer (but my camera is!).
- File read/writes are slow.

My Problem is the multitasking capability of Windows! Wink .

The Filecopy Loop exits almost the same time irrespective of the file sizes!?

for Eg. in Standalone Dos when you run a Batch file:

Quote:
    Filecopy.bat
    --------------
    Copy file1.jpg C:\temp
    Copy file2.jpg C:\temp


File2.jpg will be copied only after File1.jpg has been copied.

But In a loop - FileCopy seems to start copying the next files before the previous file is copied!

So the loop (and the script itself) exits quicker. That is well before the files are actually copied/moved.

You know what happens if Removable drive is unplugged during a File Read/Write operation!.

A workaround is to insert a Sleep inside the loop

Code:
Source=G:\DCIM\101MSDCF\*.jpg
Target=C:\Windows\Desktop\Temp

Gui, Add, Picture,x0 y0 w320 h240 vPic
Gui, Show, w320 h240, Please Wait

Loop, % Source
{
GuiControl,,Pic, %A_LoopFileLongPath%
Gui,Show,,% "Moving " A_loopFileName "(" A_Index ")"
FileCopy, %A_LoopFileLongPath%,%Target%
Sleep 3000
}

ExitApp
Return

GuiClose:
GuiEscape:
ExitApp
return


But things are not certain & still I have to make sure that the "Drive-in-Use" indicator is off on my camera!

I not sure whether I can, but
I am thinking of writing a customised FileCopy() function with PhiLho's Binary ReadWrite functions!..

Maybe I should request him to write one.. Dear PhiLho ... are you reading this? .. I have something in my mind that would benefit many AHK users..

Thanks for all the help.

Regards, Smile
_________________
Back to top
View user's profile Send private message
evl



Joined: 24 Aug 2005
Posts: 1239

PostPosted: Sat Apr 01, 2006 6:48 pm    Post subject: Reply with quote

Maybe you should start another thread and specifically ask about waiting for a file to finish copying before continuing. Maybe Chris could support a parameter that waits for the file to finish being copied before continuing.

I kind of recall something being asked in the forum before about "waiting for files to finish copying" - but using windows explorer. That might be a workaround - to open explorer windows and just automate the move that way (could probably hide the windows too).
Back to top
View user's profile Send private message
SKAN



Joined: 26 Dec 2005
Posts: 6264

PostPosted: Sat Apr 01, 2006 9:00 pm    Post subject: Reply with quote

Dear evl, Smile
I searched the forum.. & found Serenity's post
I am learning ... Thanks for all this help. Regards, Smile
_________________
Back to top
View user's profile Send private message
BoBo
Guest





PostPosted: Sat Apr 01, 2006 10:15 pm    Post subject: Reply with quote

Quote:
in Standalone Dos when you run a Batch file ... File2.jpg will be copied only after File1.jpg has been copied


Code:
RunWait, cmd /c Copy file1.jpg C:\temp,, Hide
RunWait, cmd /c Copy file2.jpg C:\temp,, Hide
Isn't that OK for you ?
Back to top
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> General Chat All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group