[FFmpeg-devel] [PATCH]lavc/psd: Interpret duotone as grayscale

Martin Vignali martin.vignali at gmail.com
Wed Jan 11 00:57:33 EET 2017


I don't have a strong opinion about duo tone (i never use it)

> Seems not the best way to manage this kind of file
>
> Not sure if I understand:
> What is the alternative? Do you know how to interpret
> the duotone specification?
>

I think it's better to have the real color :-)
But i don't know how to interpret the DuoTone information

>
> > Doesn't know the general rules of this project, about that :
> > Is it better to not support a file
>
> > or wrongly interpret it ?
>
> What is wrong about following the specification?
>
>
> Sorry didn't see this part of the spec :
"Other applications that read Photoshop files can treat a duotone image as
a gray image, and just preserve the contents of the duotone information
when reading and writing the file."

So probably ok in that case, but maybe with a warning, so the user can
know, that the file is not correctly decode.

Martin


More information about the ffmpeg-devel mailing list