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

New Post: Include all files in the dll

$
0
0
I am at the moment using another .net wrapper of ImageMagic, but the version is outdated and only available in x86. Therefore, I was happy to see your wrapper, but the old wrapper I am using has everything included in the dll. I find that solution a lot easier to deploy, is it possible that you could build a version with everything included in the dll?

New Post: Include all files in the dll

$
0
0
Which wrapper are you using? If there is a way to include all dll's into the C# dll I would also like to do that. I just haven't figured out a way to do that.

New Post: Include all files in the dll

New Post: Include all files in the dll

$
0
0
Thanks for the information, I can see how it is being done. I will create a workitem from this topic and see if I can get it to work. I will work on this after I finish MagickScript.

New Post: Include all files in the 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: Convert gray PNG to black and white TIF produces garbage output.

$
0
0
Thanks for the reply. That made the outputted file 4 times larger, which looks more like the expected size, but I still can not open it with anything.

New Post: Convert gray PNG to black and white TIF produces garbage output.

$
0
0
Would you mind sharing one of your images so i can try to reproduce your problem.

New Post: Convert gray PNG to black and white TIF produces garbage output.

$
0
0
No problem, how do I get it to you? Also, I have been hacking at this and I found that if I save the output as a PNG it works fine, something about the tiff conversion is messing it up. I have also tried setting IsMonochrome = ture, it works faster and outputs an even bigger file but it is still no good.

New Post: Convert gray PNG to black and white TIF produces garbage output.

$
0
0
Have you tried loading the image after saving it? You will get some information about the image with MagickImage.ToString(). Can you share the image with some public service like 'http://imgur.com/' or do you want to keep it private?

New Post: Convert gray PNG to black and white TIF produces garbage output.

New Post: Convert gray PNG to black and white TIF produces garbage output.

New Post: Convert gray PNG to black and white TIF produces garbage output.

$
0
0
Now that makes this harder. Any idea what else could be wrong? Would it be helpful for me to email you the bad output I get for the same image and see if you can make heads or tails of what it is? Thanks again for all the help.

New Post: Need the CMYK Values from a pixel...

$
0
0
Hi all,

need a little Help...

img = New MagickImage(filePath)

i need the cmyk values from this img.. img.TotalColors in my solution there are 5 colors..
Where can i read the values from it...

another way is to check all pixels in the image but there i have some problems too.
there are 5 channels in each pixel? How can i handle it? how can i convert it to cmyk?

Ciao
Markus

New Post: Convert gray PNG to black and white TIF produces garbage output.

$
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: Convert gray PNG to black and white TIF produces garbage output.

$
0
0
The problem was the tiff compression that is being used. I created an issue to add the property that can be used to set the CompressionType.

New Post: Resizing image without keeping aspet ratio

$
0
0
Hi,
First of all thanks for this library.

I implemented Magick.net 6.8.5.4 in order to resize image on the fly on my website.
All was working perfectly but i just figure that some images were not at the specific size that i wanted.
For example, i have a wall of image and all images must have a width of 272px. And for some image when i resize the library take the liberty of resizing to 271 px.

I don't understand why, and how can i force that.?

Here is a sample of my code :
Width = 272 px and Height = 349 in this case.
MemoryStream resultStream = new MemoryStream();
           
MagickImage mimg = new MagickImage(imgStream);

mimg.Resize(width, height);

mimg.ImageType = ImageType.Jpeg;
mimg.Quality = 95;
mimg.Write(resultStream);
mimg.Dispose();
The result is that the MagickImage instance has a size of 271px x 349px

Is there a way to keep the image at the size wanted ? What i missing here ?

Thanks a lot for reading this, and sorry for my pour english.

Alex

New Post: Resizing image without keeping aspet ratio

$
0
0
Do you want all images to have the same width? Or do you want your image to fit within (272x349)?

New Post: Need the CMYK Values from a pixel...

$
0
0
Are you using the method MagickImage.GetReadOnlyPixels? When you get one of the Pixel instances you can access the individual channels. Your image has 5 channels which means you have a CMYKA image (cmyk image with an alpha channel.. Each letter represents one channel, C = 0, M = 1, etc... So if you want to get the Cyan (C) value of your pixel you should get the value of the first channel (index 0).

Maybe i should add some methods to convert a Pixel instance to a MagickColor instance...

New Post: Resizing image without keeping aspet ratio

$
0
0
I would like to have the same width.
In fact, height is determined by a ratio compute from the original image, the real obligation is to obtain an image with a width of 272 px.

I have the feeling that my ratio compute that determine the 349px of height for this specific image is different than the one used by imageMagick..
And maybe it is why the result after resize is 271x349.. i don't know.

Thx for the help much appreciated.


Alex

New Post: Resizing image without keeping aspet ratio

$
0
0
You don't need to compute it yourself. When you specify 0 for the height, it will be calculated by Magick.NET.
Viewing all 3693 articles
Browse latest View live


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