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

New Post: How to reduce time while converting j2k image to bitmap using MagickImage dll?

$
0
0
Press the 'DOWNLOADS' button in the menu to get the latest version. I will try if I can reproduce your problem with the latest version during my lunch break.

New Post: How to reduce time while converting j2k image to bitmap using MagickImage dll?

$
0
0
Thank you.
Magick.NET-6.8.8.201-Q16-x64-net40-client.
is this a latest version?
I have downloaded this but error is coming "Could not load file.."
But my pc configuration is 32 bit. So only x86 version is working on my pc.

New Post: How to reduce time while converting j2k image to bitmap using MagickImage dll?

$
0
0
You are now using the latest version. The problem seems to be that ToBitmap now uses ImageFormat.Png to create the bitmap. When you use ToBitmap(ImageFormat.Bmp) the bitmap will be created much faster. I will make ImageFormat::Bmp the default in the next version of Magick.NET.

New Post: How to reduce time while converting j2k image to bitmap using MagickImage dll?

$
0
0
I have checked that by using ToBitmap(ImageFormat.Bmp).It gives me error for some images,
i.e. "MagicK: unable to decode image file".

New Post: How to reduce time while converting j2k image to bitmap using MagickImage dll?

$
0
0
That error message is from reading an incorrect j2k file. Changing ToBitmap() to ToBitmap(ImageFormat.Bmp) should not not affect this.

New Post: is it possible to create a PDF from an image ?

$
0
0
Hi,

I found today Magick.net.

In vb.net, I create, with GDI+, bills with texts, graphics and a background image. The results are in an image list (emf format) that I send first on the screen and after validation to a printer. No problem.

Now I wish to create a PDF from bills (one PDF for one bill).
Is it possible to do that with Magick.net ? I see that it is possible to read a PDF and extract images but is it possible to create a PDF from an image ?

Thanks in advance for answers.

New Post: is it possible to create a PDF from an image ?

$
0
0
You can use Magick.NET to create a PDF file from an image. You also need to install Ghostscript for this to work. It is as simple as this:
using (MagickImage image = new MagickImage("Bill.jpg"))
{
  image.Write("Bill.pdf");
}
You can also use Magick.NET to write text / put images on top of a background image.

New Post: Running Magick.net with only gsdll32.dll

$
0
0
Greetings!

I was wondering if there is a way to use Magick.Net without having to also install Ghostscript. I would like to be able to use Magick.Net (which by the way is an awesome tool! Thank you!) to generate PDFs overlayed with other PDFs. So far from what I have been learning is that I can only do this by having Ghostscript installed.

I would much rather be able to refer to the DLL itself. I have been able to use Magick.Net with Ghostscript installed, but that would be a cumbersome option for eventual deployment. The DLLs themselves cannot be referenced from within Visual Studio because they are C libraries (from what I have read). Bringing them in via kernal32 LoadLibrary does not seem to work either. The error that I receive when I try to instanciate a MagickImage("somefile.pdf") object is a StackOverflowException and the app stops.

Is what I am describing poossible?

Thanks again for this tool. It does a great job!

-Greg

New Post: Running Magick.net with only gsdll32.dll

$
0
0
Can you be provide me with a stacktrace or a crashdump (contact me through CodePlex to get my e-mail address). I would really like to fix this but I am unable to reproduce the StackOverflowException you and other people have been reporting.

I have made a change to ImageMagick that will allow you to define the directory that will be used to load 'gsdll32/64.dll' from. The next version of Magick.NET will include this setting. You will be able to do the following:
MagickNET.SetGhostscriptDirectory(@"D:\gs\bin");
using(MagickImage image = new MagickImage("somefile.pdf"))
{
  image.Write("somefile.png");
}

New Post: Running Magick.net with only gsdll32.dll

$
0
0
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.

New Post: Running Magick.net with only gsdll32.dll

$
0
0
Hey there!

I'm pulling down your code and will get it setup so that I can debug into it and get a proper stack trace for you.

I did a little experimenting installing and uninstalling gs9.10. It is clear that the exception occurs when gs9.10 is not installed, but I wanted to see if the exception would go away if the DLL was in it's expected place even if being uninstalled. I uninstalled and had a copy of the bin/ folder that contained gsdll32.dll that I put back in place where it was when g29.10 was installed. No luck, I still get the same exception.

I'll get back t you asap. I have a bunch of things to do around the ranch today, but I'll have a spot of time.

Thanks for your help!

-Greg

New Post: .ps to image

$
0
0
Hi all,
is possible to convert .ps files into image file ?
Thanks.
Alessandro

New Post: .ps to image

New Post: .ps to image

$
0
0
Thanks, now work.
Is possible to set the resolution ?

Alessandro

New Post: .ps to image

$
0
0
You can specify the resolution (Density) like this:
MagickReadSettings settings = new MagickReadSettings();
settings.Density = new MagickGeometry(300, 300);

using (MagickImage image = new MagickImage("alessandro.ps", settings))
{
  image.Write("hotzambo.png");
}

New Post: .ps to image

New Post: .ps to image

$
0
0
There is a 32-bit version?

Alessandro

New Post: .ps to image

New Post: DPI

$
0
0
I am having the exact same issue. Has anyone found a resolution to this? I'm using MagickNet -x64 installed from the nuget package.

Thanks, Tim

New Post: .ps to image

$
0
0
I can use this library for 32 and 64 bit ?
Viewing all 3693 articles
Browse latest View live


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