Jump to content

cola007

Members
  • Posts

    11
  • Joined

  • Last visited

cola007's Achievements

Rookie

Rookie (2/14)

  • First Post
  • Collaborator
  • Conversation Starter
  • Week One Done
  • One Month Later

Recent Badges

0

Reputation

  1. Thanks for the tip, EER! Unfortunately in this case the zipped file is about 280KB, just a tad more than what I'm allowed to upload directly.
  2. Hi null54, thanks for compiling the new version of DCRaw and pointing me to an example of an open file dialog! I've updated the DLL but now it's too big to attach directly to the post. I've seen a recommended hosting service somewhere in the forums, once I locate it I'll upload the file and put a link up. Updated original post with new download location.
  3. Hi mojochan, Thanks for your interest in the plugin! Currently the plugin uses the camera's white balance by default. If your images are coming out gray it may be due to the version of DCRaw that's included in the plugin. This particular version of DCRaw may not be fully compatible with your specific camera. When I compiled the RAWFile plugin I know that the DCRaw EXE I used was at least 2 minor revisions out of date as I used a precompiled EXE from another source (see original post). I'm not sure when support for the GF2 was added, but it appears to be on the list of supported cameras so theoretically a newer version should work properly with your camera. I'll look into compiling the latest source code for DCRaw but I can't make any guarantees that I'll be able to. As a side note, one of my friends helped me out getting the RAWFile plugin compiled from the original source code as he's a full time coder (unfortunately, I am not), meaning it may take a while before I'm able to get to this. - Jeff
  4. Hello all, I've been attempting to update the RAWFile plugin in order to increase compatibility with the various RAW file types out there. So far it's been successful. For reference, here is a link to the original plugin and its source: http://forums.getpai...ge__hl__RAWFile I'd like to continue to improve the plugin but I need some ideas and help. I was able to update the dcraw.exe file within the plugin to a fairly recent version, update the parameters passed to the exe and updated the list of file types the plugin can open. My ideas for improvement are: - Add additional file formats to the supported format list (I don't believe all of the supported formats are currently included) - Create a dialog when opening the files so the user can change the dcraw options for each RAW file opened (similar to the dialog used for saving jpeg files) - Save the most recent settings to the registry as the default for the next time a RAW file is opened (including an option to reset to defaults) - Given the amount of options available within DCRaw.exe it may be best to use a tabbed interface for the dialog Any other ideas for this plugin are welcome. One big question I have is: is creating a dialog on the open file action even possible/supported? If not then I could certainly use something like a parameter file, which won't be as friendly but will still get the job done. Now, on to my need for assistance... I'm not very familiar with C#. I took a few basic C and C++ classes in high-school (that was 10+ years ago now) and, quite frankly, don't remember too much other than the basics and even then I'm quite foggy. In fact, I don't believe we went over DLLs in any of the classes I've taken, so basically this is really new territory for me. If anybody can provide some examples of how to code the updates I'd like to make I'd greatly appreciate it. I've attached the current plugin if any body would like to test, however the source has not changed much from the original if you'd like to get a feel for it. I can certainly post the current source for anybody willing to look at it or even help me update it. Some links for reference: Compiled DCRaw.exe (I used the DCRawMS.exe): http://www.insflug.org/raw/Downloads/ DCRaw options/switches: http://www.cybercom....aw/dcraw.1.html I look forward to any and all feedback. Thanks! - Jeff UPDATE: Link to RAWFile
  5. I think before I post this for everyone to see I might try to tweak the DLL to use a parameter file or something. Some of my images that are shot in low light produce a lot of artifacts and I have to use the the "-m 3" parameter for the images to render cleanly ("-m 2" still leaves artifacts but "-m 3" successfully eliminates them). I don't believe any of my shots done in daylight have the same problem so I think leaving it configurable would be the best option.
  6. Give this one a shot. The plugin is currently using this set of switches: "-w -W -q 3 -c -T" (Use camera white balance, don't auto-brighten, use highest quality conversion, write data to standard output, use TIFF as output) If there are any other modifications you'd like to see, let me know. For reference, the available options are listed below. Usage: dcraw.exe [OPTION]... [FILE]... -v Print verbose messages -c Write image data to standard output -e Extract embedded thumbnail image -i Identify files without decoding them -i -v Identify files and show metadata -z Change file dates to camera timestamp -w Use camera white balance, if possible -a Average the whole image for white balance -A <x y w h> Average a grey box for white balance -r <r g b g> Set custom white balance +M/-M Use/don't use an embedded color matrix -C <r b> Correct chromatic aberration -P <file> Fix the dead pixels listed in this file -K <file> Subtract dark frame (16-bit raw PGM) -k <num> Set the darkness level -S <num> Set the saturation level -n <num> Set threshold for wavelet denoising -H [0-9] Highlight mode (0=clip, 1=unclip, 2=blend, 3+=rebuild) -t [0-7] Flip image (0=none, 3=180, 5=90CCW, 6=90CW) -o [0-5] Output colorspace (raw,sRGB,Adobe,Wide,ProPhoto,XYZ) -d Document mode (no color, no interpolation) -D Document mode without scaling (totally raw) -j Don't stretch or rotate raw pixels -W Don't automatically brighten the image -b <num> Adjust brightness (default = 1.0) -g <p ts> Set custom gamma curve (default = 2.222 4.5) -q [0-3] Set the interpolation quality -h Half-size color image (twice as fast as "-q 0") -f Interpolate RGGB as four colors -m <num> Apply a 3x3 median filter to R-G and B-G -s [0..N-1] Select one raw image or "all" from each file -6 Write 16-bit instead of 8-bit -4 Linear 16-bit, same as "-6 -W -g 1 1" -T Write TIFF instead of PPM RAWFile.zip
  7. K, I got the same results you described. I've updated the DCRaw.exe in the source and was able to get a full color photo. Try out this new DLL and let me know how it works for you. <Removed old plugin>
  8. Can you send me a sample image? I'll be glad to see how it renders on my machine. If it doesn't work properly I can have my friend try to include the latest build of dcraw in the plugin.
  9. I had one of my friends who is familiar with C# update the RAWFile file type source and now I'm able to open up .RW2 files and they look correct. I can send you a copy so you can see if it works properly for you. If it does I'll post it as an update on the RAWFile thread (or create a new thread). -Jeff
  10. I'd like to second this request. I can provide sample files if that would be helpful. Thanks! Jeff
×
×
  • Create New...