I noticed that there are hooks for postprocessing RAW before saving.
Is there a similar hook for postprocessing JPEG before saving?
What I want to do:
I want to implement my own sepia coloring.
I'm hoping I can have the camera capture the image, allow me to
modify the CCD memory directly and recolor it with a nice sepia algorithm,
then let the camera do its regular thing and save it as a JPEG (or RAW or DNG).
Photoshop has this cool sepia-ish function to make pictures bluish, greenish,
pinkish, etc. I think I know how the algorithm works, but I want to implement
it in the camera.
My question has a few parts:
1. Can I directly modify the CCD memory after a picture is taken?
Or is this bad? My alternative is to load the image into memory, edit, then save.
2. Since I cannot find a post-process function before it gets saved,
where would I put in this hook? (Camera is an A700, but I'd like something
in the general/ directory.)
3. Perhaps it is buried in the assembly code, but I don't see where the
actual camera shot or save takes place. Where and when is this happening?
(I looked over the developer wiki, but there really isn't a good description
of the overall process flow.)
Doing this with RAW or DNG seems pretty easy since there are hooks, but I
want to support JPEG too.
Thanks for any help!