[ITK] CanReadFile checks extension
Matt McCormick
matt.mccormick at kitware.com
Wed Feb 18 13:58:23 EST 2015
Hi Marian,
Yes, most of the ImageIO's currently just use file extensions to check
if they can read a file. However, contributions that improve this by
examining the header would be welcome.
Thanks,
Matt
On Wed, Feb 18, 2015 at 1:27 PM, Мар'ян Климов <nekto1989 at gmail.com> wrote:
> Hi all,
>
> I haven't looked at all IO, but JPEGImageIO and BMPImageIO are checking file
> extensions in CanReadFile and return false without looking into header if
> extension is wrong (or no extension is present). Is this expected behavior?
>
> Best regards,
> Marian
>
> _______________________________________________
> Community mailing list
> Community at itk.org
> http://public.kitware.com/mailman/listinfo/community
>
More information about the Community
mailing list