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

New Post: PC vs Mac byte order?

$
0
0
The tiff writer should use the default byte order of your system. But you can force it like this:
using (MagickImage image = new MagickImage("input.tiff"))
{
  image.SetDefine(MagickFormat.Tiff, "endian", "lsb"); // PC// or
  image.SetDefine(MagickFormat.Tiff, "endian", "msb"); // Mac
  image.Write("output.tiff");
}

Viewing all articles
Browse latest Browse all 3693

Trending Articles



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