New Post: Drawing text
You can reset the page (repage) like this: image.Page = new MagickGeometry(0, 0);
View ArticleNew Post: Converting EMF to PNG
At this moment you need an external executable called emfplus.exe (http://www.imagemagick.org/download/contrib/EMFPlus.tar.gz) in your bin directory. I am working on trying to integrate this within...
View ArticleNew Post: Converting EMF to PNG
Thanks for your quick reply. For quality - I was trying to do it as it's mentioned in docs http://www.imagemagick.org/Usage/formats/#png . Did I get it wrong? PNG compression When used with PNG output,...
View ArticleNew Post: Converting EMF to PNG
If you want to specify it like that you need to use the SetDefine method in Magick.NET:using (MagickImage image = images.Flatten()) { image.ColorSpace = ColorSpace.RGB; image.Resize(0.5); // implicit...
View ArticleNew Post: Minimize file size of embedded images in PDF output
I read in two PDF files as image collections and then compare the sheets to show what has changed. When I do it at the command line with imagemagick and ghostscript I get file sizes about 10 times...
View ArticleNew Post: Minimize file size of embedded images in PDF output
Can you post an example of what you are doing on the command line?
View ArticleNew Post: Minimize file size of embedded images in PDF output
Here's the code using Magick.NET using (MagickImageCollection new_images = new MagickImageCollection(), old_images = new MagickImageCollection(), diff_images = new MagickImageCollection()) {...
View ArticleNew Post: Minimize file size of embedded images in PDF output
I am also not sure what the format of the image is. You could check the Format property of diff_image. Have you tried setting the Format to MagickFormat.Png?
View ArticleNew Post: EXIF parser always return 0 for Short value ToString
All Short values in the EXIF parser are returned as 0 when ToString is used. I'm looking through the source, but haven't put my finger on it yet. This was noticed when I tried to read Orientation so we...
View ArticleNew Post: EXIF parser always return 0 for Short value ToString
Also, just to be clear, this happens with ExifValue.ToString and ExifValue.Value.ToString
View ArticleNew Post: EXIF parser always return 0 for Short value ToString
Can you post a link to one of your images? I recently fixed a bug with short values in ImageMagick with tiff images. Does this error happen with a specific format? P.s Next time feel free to edit your...
View ArticleNew Post: EXIF parser always return 0 for Short value ToString
This is just a JPG that I took with my iPhone. I can't say if it's format related or not:photo.jpg Sorry for the double-post... I don't post that often. :-)
View ArticleNew Post: EXIF parser always return 0 for Short value ToString
This seems to be an Endianness bug. I will create a work item to resolve this issue.
View ArticleNew Post: EXIF parser always return 0 for Short value ToString
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.
View ArticleNew Post: Minimize file size of embedded images in PDF output
Here's the format of the diff_image to start with: {Pdf: Portable Document Format (+R+W+M)}. I had already tried converting the images to png on import, but it didn't have much of an effect. Not sure...
View ArticleNew Post: Minimize file size of embedded images in PDF output
Maybe the quality operation does not influence the size of the resulting pdf? Will you get the 2.53MB size when you omit the 'diff_image.Format = MagickFormat.Png' statement? Does your resulting pdf...
View ArticleNew Post: Minimize file size of embedded images in PDF output
You're right the quality doesn't affect the output size of the PDF. It does affect the output size of the pngs. It is just the setting of HasAlpha=false that shrinks the pdf file output. I'll check out...
View ArticleNew Post: Minimize file size of embedded images in PDF output
I did some testing with the command line side and the magick.net isn't far off. I ended up getting 1.06MB with the command line instead of 1.38MB with Magick.NET. The starting pngs for the cli...
View ArticleNew Post: Minimize file size of embedded images in PDF output
Have you tried to set the CompressionMethod of diff_image to CompressionMethod.Zip? This should help according to this page: http://www.imagemagick.org/Usage/formats/#pdf_options.
View Article