[FFmpeg-devel] [PATCH]lavc/psd: Interpret duotone as grayscale
Carl Eugen Hoyos
ceffmpeg at gmail.com
Wed Jan 11 01:21:03 EET 2017
2017-01-10 23:57 GMT+01:00 Martin Vignali <martin.vignali at gmail.com>:
> 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.
Pushed with a warning.
Feel free to look at my 32bit patch attached to ticket #6045, perhaps
you know how to fix it.
Thank you, Carl Eugen
More information about the ffmpeg-devel
mailing list