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

New Post: .ps to image

$
0
0
If the download name contains -x86- it is a 32 bit version. If you want the 64 version look for -x64- in the download name.

New Post: DPI

$
0
0
Can you provide me with a code sample and an example image?

New Post: DPI

$
0
0
For the code, the line I'm using is:

testImage.Density = new MagickGeometry(72);
testImage.Write(filedestination);

As for the image, I'm not sure how to attach it to this reply. It's about 50 mg, 865x865. When I do a straight conversion from .eps to .jpg, the DPI shows 300dpi, which is fine. I'm just not sure how to change it to 72dpi when converting to .jpg.

Let me know if you need anything else. or how I could attaché my image.

New Post: .ps to image

$
0
0
Forgive my question. I had downloaded from the main page, not from the download tab.

New Post: DPI

$
0
0
ImageMagick does not update the density in the profiles. When you view it in Windows explorer it can still be using the value in the profiles. Can you try adding testImage.Strip() before you do testImage.Write?

New Post: DPI

$
0
0
Yep. .Strip() fixed me. Thanks. Really appreciate your time.

New Post: DPI

$
0
0
Can you post your image on DropBox or a public image sharing service? Feel free to contact me through CodePlex if you don't want to share it publicly. I would like to investigate if I can update the profile in the image.

New Post: DPI


New Post: DPI

$
0
0
Also, there does appear to be some images that imagemagick just will not convert to a desired dpi. For instance,

https://www.dropbox.com/s/l6aanp6n3gjzs5q/11267DVDLEF.eps

will not convert to .jpg at 72 dpi or 300 dpi. It always converts it to 96 dpi. Is this an imagemagic.net issue or does it have something to do with size, compression, etc. of the image itself. ?

Thanks.

New Post: DPI

$
0
0
The problem with your images seems to be the 8BIM profile. When you remove this profile file explorer will show the correct value.

Your second image does not show the correct DPI because the ResolutionUnits value is undefined. You can get the required result with the following code:
using (MagickImage image = new MagickImage("11267DVDLEF.eps"))
{
  image.RemoveProfile("8BIM");
  image.Density = new MagickGeometry(72, 72);
  image.ResolutionUnits = Resolution.PixelsPerInch;
  image.Write("11267DVDLEF.jpg");
}
I am currently investigating if we can change ImageMagick to update the 8BIM profile, I will keep you updated.

New Post: DPI

$
0
0
Thanks. That fixed me. As you can probably tell, I'm a little light with my knowledge of images. Thanks for your help.

New Post: Load image in Image control

$
0
0
Can you please help me with basic code to show image from drive in image control?

New Post: DPI

$
0
0
I just modified ImageMagick to update the 8BIM profile when an image is written. The next release of Magick.NET will include this fix. This means you no longer need to strip the 8BIM profile. I will also change the Density property to set the ResolutionUnits to PixelsPerInch if ResolutionUnits is undefined.

New Post: Load image in Image control

$
0
0
Do you want to use Magick.NET to load an image into an image control in a WPF application?

I will see if I can add a ToBitmapSource method to the MagickImage class for the .NET 4.0 release of Magick.NET.

New Post: DPI

$
0
0
Sweet. Thanks. Thanks for the effort.

I do have one final question. All of my image conversions are working very well except for one. It's fairly large, about 700mb. I do not get an error. My code acts as if the file converts, but the final file is only like 200kb. So, clearly it did not convert properly. Should I have any concerns about converting an image that size? It's possible that it could be my own machine limitations, but wanted to double check with you first. If you are able to convert this file, then I'll figure out a way. A code snippet would be nice, but not a big deal.

I'm trying to convert the 700mb file to 300dpi.

https://www.dropbox.com/s/onlsoqfv4y1z4uh/Gumball_S2_styleguide_MISC_GRAPHICS_Family_opening_Page.eps

New Post: DPI

$
0
0
It seems the XMP profile in your file is very large. Under windows this generates a JPEG file that cannot be opened with the default image viewer of Windows. I will have to investigate if we can fix this problem. You could use image.RemoveProfile("XMP") to resolve this problem.

New Post: Magick: Postscript delegate failed...No such file or directory

$
0
0
I'm running 64-bit Windows. I have Ghostscript (v. 9.09 installed). And this is a small windows app. IIS is not involved at the moment. I'm running the same code that converts all of my other image types. When trying to create the MagickImage object, I get the following error:

"Magick: Postscript delegate failed....No such file or directory @ error/pdf.c/ReadPDFImage/682".

So the error occurs when I run the following line, before the conversion even starts.

using (MagickImage image = new MagickImage("testfile.ai"))
{
}

Thoughts? I'm sure it's something small that I am missing. Do I need to include a reference to ghostscript n my app or something like that.

New Post: Load image in Image control

$
0
0
Yes please! That would be very useful, thank you very much!

New Post: Magick: Postscript delegate failed...No such file or directory

$
0
0
new MagickImage("testfile.ai") will start the conversion because you are telling it to load "testfile.ai'.

You only need to install Ghostscript. Can you post a link to your image so I can see if I can reproduce this.

New Post: Magick: Postscript delegate failed...No such file or directory

Viewing all 3693 articles
Browse latest View live


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