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

New Post: Converting jpg to Tiled Pyramid TIFF for IIPImage

$
0
0
If you want to set the define tiff:tile-geometry you should use the following code:
image.SetDefine(MagickFormat.Tiff, "tile-geometry", "256x256");
I am trying to include some new classes in the next release that will make setting this easier. This will become something like this:
using (MagickImage image = new MagickImage(source))
{
  IDefines defines = new TiffDefines()
  {
    TileGeometry = new MagickGeometry(256, 256)
  };
  image.SetDefines(defines);
}

Viewing all articles
Browse latest Browse all 3693

Trending Articles



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