New Post: Magick.NET-7.0.0.0009-Q16-x64-net40-client Freezing System
I can share the file, there's nothing to it really - I just can't seem to figure out how to upload it....
View ArticleNew Post: Magick.NET-7.0.0.0009-Q16-x64-net40-client Freezing System
Man I'm getting old - I'm now wondering if it's the same issue I posted before - which is incidentally I used the same file for testing....https://magick.codeplex.com/discussions/569677 - I have to...
View ArticleNew Post: Converting jpg to Tiled Pyramid TIFF for IIPImage
I'm trying to convert a jpg image to Tiled Pyramid TIFF to use with IIPImage server. I'm using the following code:string source = @"image.jpg"; string target = @"image.tif"; using (MagickImage image =...
View ArticleNew Post: Magick.NET-7.0.0.0009-Q16-x64-net40-client Freezing System
This size issue is definitely my problem. Anything done in millimeters makes the size huge. So I attempted to use the Density setting, but I'm getting this error: Error 1 Cannot implicitly convert type...
View ArticleNew Post: Magick.NET-7.0.0.0009-Q16-x64-net40-client Freezing System
The type of the Density property has been changed from MagickGeometry to a Nullable<PointD>. My old example no longer works. You could determine the size by looking at the viewBox/width/height...
View ArticleNew Post: IPTC tags
I don't have much experience with IPTC profiles but it looks like you can add the first 3 without any problems. It looks like the last two are added by Adobe. I found the following document:...
View ArticleNew Post: Single and Multipage TIFFs to SINGLE PDF
If you want to read a multi-page tiff you should create a MagickImageCollection instead and just write it to a PDF file.using (MagickImageCollection pages = new MagickImageCollection("input.tiff")) {...
View ArticleNew Post: Single and Multipage TIFFs to SINGLE PDF
OK cool, so if I had multiple multi-page tiffs... I could read them into multiple MagickImageCollections, combine the collections, and then write the single result PDF out?
View ArticleNew Post: Converting jpg to Tiled Pyramid TIFF for IIPImage
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...
View ArticleNew Post: Single and Multipage TIFFs to SINGLE PDF
Yup, you could do something like this:using (MagickImageCollection output = new MagickImageCollection()) { foreach (string fileName in Directory.GetFiles(@"C:\InputFolder", "*.tiff")) { using...
View ArticleNew Post: Single and Multipage TIFFs to SINGLE PDF
Oh wow, thanks dude. Very cool to get answers like this on here.
View ArticleNew Post: IPTC tags
Thank you very much! I don't actually have a copy of Photoshop either, so I'll ask around...
View ArticleNew Post: IPTC tags
My co-workers can probably help out with this also. I will ask them tomorrow if you don't provide me with a file before that.
View ArticleNew Post: IPTC tags
I asked my client if they could provide a sample image, so here it is:http://gbimg.org/zomqU I used gbimg.org so I could take a look at the IPTC data. It looks like they've used By Line for the...
View ArticleNew Post: IPTC tags
It looks like some of the information is from the XMP profile. As an experiment you could modify this and see which field are changed. You can get the XMP profile with the GetXmpProfile method. The...
View ArticleNew Post: Black and White and Sepia
Hope someone can help. I am trying to create a two functions for an application so we no longer have to do this in Photoshop. One of the functions will convert images to black and white while the other...
View ArticleNew Post: Black and White and Sepia
You can make a image black and white with various methods, one is setting the ColorType to BiLevel:using (MagickImage logo = new MagickImage("logo:")) { logo.ColorType = ColorType.Bilevel;...
View ArticleNew Post: IPTC tags
Thank you for the info! I have found out that Rights Usage Terms and Copyright Status are both under there. Copyright status is a flag simply called "Marked", which is why it's hard to spot. This post...
View ArticleNew Post: IPTC tags
You could do something like this:staticvoid AlterXmpProfile(MagickImage image) { XmpProfile profile = image.GetXmpProfile(); XDocument doc = profile.ToXDocument(); // Alter the document; profile =...
View ArticleNew Post: Black and White and Sepia
Not sure how I missed the SepiaTone method. That works great. As for the black and white, still running into the same problem with the lack of depth (I think because it is turning it into grayscale)...
View Article