With Magick.Net I'm getting this error opening an image.
Improper JPEG sampling factors 2,2\nApparently should be 1,1.. `JPEGPreDecode' @ error/tiff.c/TIFFErrors/581"
System.Exception {ImageMagick.MagickCoderErrorException}
The same error message appears when using GIMP so I assume it's part of libtiff.
Is there any way to continue to read the file properly and correct this problem?
This is the code snippet where the error is thrown.
MagickImage curImage = new MagickImage(Path.GetFullPath(file));
I'm using Magick.Net-AnyCPU Q16 net40-client 7.0.0.7
A sample file is here
https://app.box.com/s/8lfqekv98dc615ezrld6
Thanks,
Darren
Improper JPEG sampling factors 2,2\nApparently should be 1,1.. `JPEGPreDecode' @ error/tiff.c/TIFFErrors/581"
System.Exception {ImageMagick.MagickCoderErrorException}
The same error message appears when using GIMP so I assume it's part of libtiff.
Is there any way to continue to read the file properly and correct this problem?
This is the code snippet where the error is thrown.
MagickImage curImage = new MagickImage(Path.GetFullPath(file));
I'm using Magick.Net-AnyCPU Q16 net40-client 7.0.0.7
A sample file is here
https://app.box.com/s/8lfqekv98dc615ezrld6
Thanks,
Darren