Bitcoin full node and query server

Mar 18, 2021

View in context in the libbitcoin Slack #general mirror.

evoskuil12:57
And at this point I also think it would be trivial to implement a png and/or jpeg encoder.
2 replies · evoskuil · last Mar 18, 2021
evoskuil13:10
Also, I removed the raw output format. The uncompressed TIFF output is sufficient to obtain the logical pixel data in a reliable manner, just using margin 0 and module pixels 1. I placed the image at the end of the file at a fixed offset, with the offset published from the tiff class header. Of course one can also use the API directly as well.
evoskuil13:13
I chose tiff because it was an old common format, and pretty simple. But I read that png was designed to be simpler, so I might give it a shot and if it works out we can just and an image type enumeration class to the command line parser to support various formats.