danielgtaylor / jpeg-archive

Utilities for archiving JPEGs for long term storage.
1.16k stars 122 forks source link

ppm needs to be converted to grayscale as well #72

Closed chregu closed 6 years ago

chregu commented 6 years ago

When the 2nd input is a ppm, we need to convert it to grayscale, otherwise the output is wrong (way too high)

Not sure, if this is the correct way to do it, but I hope you get the idea.

lfos commented 6 years ago

Merged, thanks!