Naming HDR photos differently - Feature Requests - CHDK Forum

Naming HDR photos differently

  • 9 Replies
  • 4353 Views
Naming HDR photos differently
« on: 06 / July / 2009, 05:38:02 »
Advertisements
One feature I really like on the Canon cameras is that when you use their Stitch Assist menu, the file names come out as STA, STB, etc instead of IMG. That way when you get it on the computer you can tell which ones were supposed to be panoramas. It would be nice if there were a way to do this when using the bracketing in continuous mode options, eg name the files something like HDA, HDB instead of IMG, so that later you can easily search for which ones were HDR attempts.
My Flickr Page
I use the chdk on my SX230 and SD1100 cameras, and I installed them using a Macbook, currently running 10.6.8.

*

Offline fudgey

  • *****
  • 1705
  • a570is
Re: Naming HDR photos differently
« Reply #1 on: 06 / July / 2009, 16:19:51 »
For RAW or DNG this is not a problem (do we have something like that already or was it just a plan... this has been discussed before, hasn't it?), especially not if you don't require files to be visible via USB (i.e. you take the card out to move images to your PC).

AFAIK we do not currently know how to make the camera to choose a different name for a JPEG during shooting. This may very well be possible, but will likely require advanced ASM magic for each and every camera and sub requiring a lot of work from skilled developers.

Another way to implement this would be to rename images after they've been saved. This we could probably do (in Lua scripts it can already be done without changes to CHDK, and I think mattkime's Lua libs may make that fairly easy even), but the problem is that these images will be lost in PLAY mode -- you wouldn't be able to review these images in play mode until you reboot.

*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: Naming HDR photos differently
« Reply #2 on: 06 / July / 2009, 16:33:24 »
this feature is already implemented, you have to use raw though.

*

Offline reyalp

  • ******
  • 14125
Re: Naming HDR photos differently
« Reply #3 on: 06 / July / 2009, 17:25:34 »
this feature is already implemented, you have to use raw though.
But it crashes SX10 and possibly other dryos cameras http://chdk.kernreaktor.org/mantis/view.php?id=280
Don't forget what the H stands for.

Re: Naming HDR photos differently
« Reply #4 on: 07 / July / 2009, 05:40:48 »
Ok, I wasn't sure how much of a pain it would be to do. Sounds like its too much work, and I'd hate to lose the files in play mode. (I did want it for Jpeg, I haven't been using raw much)
My Flickr Page
I use the chdk on my SX230 and SD1100 cameras, and I installed them using a Macbook, currently running 10.6.8.

Re: Naming HDR photos differently
« Reply #5 on: 07 / July / 2009, 06:51:22 »
We do that using SDM and WIA-Loader.
You can rename the files however you want as you upload via USB or from the card-reader.

See this page.


Re: Naming HDR photos differently
« Reply #6 on: 07 / July / 2009, 17:32:53 »
I know I can rename files later, but the idea here would be to have it rename them for me when I take certain types of photos, so that I don't have to remember a week later which were which or spend time looking for those particular files. Its fine if the feature is too much of a pain to implement, but my suggestion is separate from renaming them later.
My Flickr Page
I use the chdk on my SX230 and SD1100 cameras, and I installed them using a Macbook, currently running 10.6.8.

*

Offline fudgey

  • *****
  • 1705
  • a570is
Re: Naming HDR photos differently
« Reply #7 on: 08 / July / 2009, 16:14:38 »
CHDK knows when the camera is shooting and it also knows the JPEG (RAW/DNG too obviously) file name that's being written, so it shouldn't be a huge effort to implement something that would write a log file that ties bursts together, writing their bracketing values (usually Tv shift) as well.

This log file could even have the form of a shell script for your chosen operating system, renaming files accordingly when executed in a directory with the said photos.

(this can of course be done in Lua already, but requires you to shoot from a script of course, harder to do for burst mode).

Re: Naming HDR photos differently
« Reply #8 on: 08 / July / 2009, 18:04:49 »
CHDK knows when the camera is shooting and it also knows the JPEG (RAW/DNG too obviously) file name that's being written, so it shouldn't be a huge effort to implement something that would write a log file that ties bursts together, writing their bracketing values (usually Tv shift) as well.

This log file could even have the form of a shell script for your chosen operating system, renaming files accordingly when executed in a directory with the said photos.

(this can of course be done in Lua already, but requires you to shoot from a script of course, harder to do for burst mode).

How is this done in lua? How do I find out the file name (or the number) of the image that was just taken or is about to be taken?

*

Offline reyalp

  • ******
  • 14125
Re: Naming HDR photos differently
« Reply #9 on: 08 / July / 2009, 19:33:52 »
How is this done in lua? How do I find out the file name (or the number) of the image that was just taken or is about to be taken?
get_exp_count()

You can also work it out directly from params, see the CHDK source for details ;)
Don't forget what the H stands for.

 

Related Topics


SimplePortal © 2008-2014, SimplePortal