-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to help for developing new decompressor? #679
Comments
I'm not sure what the specific question is. See also https://github.com/darktable-org/rawspeed/blob/develop/docs/IntegrationTesting.rst.
|
Thanks for the swift reply!
I would like to know more about the workflow, do you directly working in the darktable rawspeed-submodule and rebuild the darktable after modifying the rawspeed? Since it will open up a relative heavy GUI, are there any way to prevent this, or there is a lightweight viewer that also depend on rawspeed? Also, any suggestion on attaching the GDB for debugging/tracing purpose? Is it still need to attach to rebuilt darktable? Thanks! |
Generally almost never, but everyones's mileage may differ. Again, it depends on what you want to achieve. |
Thanks for pointing me out! I tried rstest and stored the PPM, put the PPM back into darktable and adjust the exposure to get the image back! (btw, are there any viewer that is not darktable support adjusting exposure on the fly?) So if the new decompressor works will, the above workflow should work, right? |
Usually it's not quite An Image, since usually a demosaicing is needed,
I can't parse the question, sorry.
I guess so? |
@mlouielu thank you for taking a look at that! |
I suppose you can open the PGM in GIMP and hit Colors -> Auto -> Stretch Contrast... (or any other tool having similar functionality, like Adjustments -> Auto-Level in paint.NET on Windows etc.) It'll be still CFA mosaiced and grayscale, but should at least give you an idea if there is a "sensible" image behind it or just garbage. |
Or, you could even temporarily just hack the |
You can also avoid any code changes and use pamdepth 65535 to shift the PGM up to 16b, then use pnmhisteq/pnmnorm to enhance, and then pamtopng/pnmtopng (or any other output format to view in any sw): https://netpbm.sourceforge.net/doc/directory.html I'm sure you can do the equivalent w/ ImageMagick/GraphicsMagick as well on one line... |
Hi there,
I want to help on #367 and want to get some enlightenment to point me out how to test on it. I had build and download the test images from raw.pixls.us, what will be the recommend process of testing?
For example, how can I determine the decompressor is successfully implement? Are there any viewer or way to test the result?
Thanks!
The text was updated successfully, but these errors were encountered: