Quantcast
Channel: magick Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 1011

Created Unassigned: 'TIFFWriteDirectoryTagData' @ error/tiff.c/TIFFErrors/565` [1417]

$
0
0
Hi,

I'm using magick net library to convert image from jpg/png image into tif. Besides conversion I need apply some transformation for image (Trim, SetColorProfile, Resize, etc.).
For most of images it works just well, but for some of them it throws error like:
`IO error writing tag data. 'TIFFWriteDirectoryTagData' @ error/tiff.c/TIFFErrors/565`.

This error not happens if during conversion skipped SetColorProfile step. Before similar error was for Trim, but we updated library from version "Magick.NET.Core-Q8 7.0.2.400", to "Magick.NET.Core-Q8 7.0.3.300", and it fixed problem, but now it happens for another operations. Stack trace does not told me reason of error:
`
"at ImageMagick.MagickImage.NativeMagickImage.WriteBlob(MagickSettings settings, UIntPtr& length)\r\n
at ImageMagick.MagickImage.Write(Stream stream)\r\n
at ImageMagick.MagickImage.ToByteArray()\r\n "
`
NOTE: Console tool of ImageMagick works for problematin image.

I prepared sample to reproduce the problem. https://github.com/inteno/ImageMagickTifError

Viewing all articles
Browse latest Browse all 1011

Trending Articles



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