Pedro Côrte-Real
Pedro Côrte-Real
This is all from experience from working on other raw pipelines and then several resources online. Bruce Lindbloom's website for example has a bunch of useful resources on color conversions:...
Hey there. I've considered doing it in the past for the formats I most care about. Other projects don't bundle this functionality because it's a whole other can of worms...
To test rawloader I use the raw library from here: https://raw.pixls.us/ I have some personal scripts I use to do some checks, but I've been meaning to add to this...
See imagepipe and chimper for practical uses of the library: https://github.com/pedrocr/imagepipe/ https://github.com/pedrocr/chimper
@aaronleopold `rawloader` only deals with interpreting and decoding the raw data itself, it doesn't process it in any way. `imagepipe` is what you want if you want to create an...
More than welcome. If you want to discuss anything live I have IRC always running on #chimper irc.freenode.net. I may not always be available but I'll eventually reply, and check...
@qarmin see my comment above with the link to imagepipe. That converter example uses the image crate and so does chimper.
That part is only used to print out some metadata. The actual decode and conversion is just this call: https://github.com/pedrocr/imagepipe/blob/d95a17f7a55c7d6fb73d8006791a9436e80de10c/src/bin/converter.rs#L53-L56 It gives you an 8bit output directly no matter what...
Rawloader doesn't have any support for it and it's not something that can be done generally. There are formats where the last pixel depends on the values of every other...
It's not impossible, but it would be hacky. Example for the formats you listed in increasing scale of the size of the hack: - ARW: it has fixed offsets so...