On Wed, May 4, 2011 at 6:06 PM, Sebastian Pipping <sp...@gentoo.org> wrote:
> Hello!
>
>
> I stumbled upon the article
>
>  Gamma error in picture scaling
>  http://www.4p8.com/eric.brasseur/gamma.html#Use_a_correct_software
>
> recently.  I was actually pointed to it be some tool applying the proper
> algortihm.  I think it was command line.

> Especially as I don't trust ImageMagick with files that matter I would
> love to find (or re-find) a command line tool that properly handles
> Gamma when resizing images.  Needs be free software.  Anyone?

ImageMagick works. I downloaded the Dalai Lama photo from that page
and converted it by doing:

convert -colorspace sRGB gamma_dalai_lama_gray.jpg -scale 50%% -set
colorspace sRGB gamma_dalai_lama_gray50.png

And the resulting image is correct.

Reply via email to