rawVB - tool for converting RAW to JPG - source available!
Download:
EXE (just the program):
http://retroactive.be/rawVB-0_21.zip
Source code (VB6)
http://retroactive.be/rawVBsrc-090105.zip
rawVB 0.2
Readme
8/21/05
8/31/05
RawGL or rawVB?
--------------------------------------------------------------
rawVB is something I made as an alternative to the capable
but buggy RawGL. I could not batch save in rawgl plus I didn't
like the end picture's colors. So, I have set about to make my
own tool that I hope others will find useful as well. I don't
mean to make RawGL sound bad, but it simply didn't work well
for me. If it works for you, great. Otherwise try my program
out.
It's Not Done!
--------------------------------------------------------------
rawVB does not decompress the RAW files by itself. It uses
Decomp_-*test*-('").exe from pv2raw (see the sf.net site.) However,
all the other work is done by my program. It debayers the image
and presents a preview, then to save, it employs a simple 2x
bilinear resampling algorithm.
You will notice the pictures are not as clear as RawGL, I
haven't figured out how to keep quality while converting to
color.
Basic Guidelines
--------------------------------------------------------------
Now with version 0.2, you can browse to a different directory
with your RAWs! You can see the raws by clicking on them
in the list, or by using the arrows. You can either save
pictures on at a time, or by clicking "Save All".
You Can Help!
--------------------------------------------------------------
This is the second version and so it's guaranteed to still
have loads of bugs. You can help me out by emailing me at
marshallgs (at) gmail.com
If you have any better interpolating ideas, let me know. I
plan to convert the pv2raw decompression code to VB
eventually.
That's all folks!
Marshall
sailpix- 08-22-2005
Cool... :D
Create987- 08-22-2005
The most important change to make is the ability to browse to a directory full of .RAW files. Making the person have this program in the same directory is going to be a problem.
Any chance you can provide the source too? I'ld love to see what you did!
marshallh- 08-22-2005
I've added directory browsing. You can view RAWs somewhere else in anther folder, and still convert.
http://savefile.com/files/1073778
Create987- 08-22-2005
I've added directory browsing. You can view RAWs somewhere else in anther folder, and still convert.
http://savefile.com/files/1073778
Can we talk you into putting the source code into the package next time you release it???? PLEASE???
ygfperson- 08-23-2005
I've added directory browsing. You can view RAWs somewhere else in anther folder, and still convert.
http://savefile.com/files/1073778
Can we talk you into putting the source code into the package next time you release it???? PLEASE???
ditto here. Source code would be useful for us to see the algorithm in action and possibly to port it to linux or a mac.
In any case, it's nice to see people write software to solve some of their personal frustrations with other software.
Create987- 08-23-2005
I've added directory browsing. You can view RAWs somewhere else in anther folder, and still convert.
http://savefile.com/files/1073778
Can we talk you into putting the source code into the package next time you release it???? PLEASE???
With the source code, it might be easy for somebody to use your program as a backend to the process. It would be nice to have a single program that will open up the camera, download the .RAW's and convert them to .JPEG and then optionally delete the images in the camera.
BUT.... THANKS for taking the time to do what you have already done!!!
Create987- 08-25-2005
Hey Marshallh!!! Any further improvements on your program??? It really is usefull! I like the way it shows the .JPG it just made as it is working on the next one. Its a real good way to preview the pictures you took and figure out how many are worth printing.
Drmn4ea- 08-31-2005
With the source code, it might be easy for somebody to use your program as a backend to the process. It would be nice to have a single program that will open up the camera, download the .RAW's and convert them to .JPEG and then optionally delete the images in the camera.
I actually have that (sloooowly) forumer.com/viewtopic.php?t=566>on the way - volunteers to port over stuff from the existing tools welcome. I've been lost (intentionally, really!) in the mtns. in the state of Washington all last week through this morning (needless to say, no computer access); but I'll try to have a formal API fleshed out in the next couple days.
Create987- 08-31-2005
I actually have that (sloooowly) forumer.com/viewtopic.php?t=566>on the way - volunteers to port over stuff from the existing tools welcome. I've been lost (intentionally, really!) in the mtns. in the state of Washington all last week through this morning (needless to say, no computer access); but I'll try to have a formal API fleshed out in the next couple days.
Great!!! Just off the top of your head, do you think it would be very difficult for someone to add the code to talk to the camera? It would be neat if this could pull the images off the camera and convert them to JPEG in just one step.
marshallh- 08-31-2005
Ok, the code is uncommented but simple enough you can probably figure it out - it's Visual Basic after all :P
Must have Visual Basic 5 or 6. Doesn't open with vb .net
http://gamesoft.dyndns.org/rawvbsrc-083105.zip
Comments please.
Drmn4ea- 08-31-2005
PV2Tool already talks to the camera, handles the unlocking, etc. - the only difficulty now is wrapping everyone's code together into a single cohesive program(s) without duplicating work too much (because that takes time people don't have...at least I don't :? )
(or, in the case of SUCR, un-generalizing the interface too much. Having the same couple of buttons to do all the dirty work for Classic, PV2 and Saturn will make things a lot easier on the huddled masses IMO.)
For example...Very good, stable code to handle the unlocking and even a key database is already done in PV2Tool - but will it compile with the same tools as my and morcheeba's code for the Classic? How about interfacing to libjpeg/libpng/etc... The time burn will come in rewriting things between computer languages and even compilers/build environments.)
marshallh- 08-31-2005
Some good thoughts. The one tying everything together will definitely not be me, though... unless you want to have an application in VB (sloooooow!)
On the other hand, once someone figures out the CAMCALIB.dat file format, we might be able to come out with MUCH better pictures! Have you noticed that the preview on the camera of the last picture taken is usualy MUCH sharper and brighter than the RAWs? That means the firmware is applying some sort of image processing on it! And i'd guess it uses the camcalib.dat file.
Just some speculation here, but that's it for now. I'm off to open camcalib in a hex-ed...
Create987- 08-31-2005
Ok, the code is uncommented but simple enough you can probably figure it out - it's Visual Basic after all :P
Must have Visual Basic 5 or 6. Doesn't open with vb .net
http://gamesoft.dyndns.org/rawvbsrc-083105.zip
Comments please.
Marshallh, this link doesn't seem to work???
marshallh- 08-31-2005
Now it should work. Was a typo in the filename on the server :)
Forumer™ is Voted #1 Free Forum Hosting provider
Build your own community today with the largest message board hosting company.