Quantcast
Channel: magick Discussions Rss Feed
Viewing all articles
Browse latest Browse all 3693

New Post: Improper JPEG sampling factors

$
0
0
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

Viewing all articles
Browse latest Browse all 3693

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>