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

New Post: When I convert image with thereshold 80% I get a blank page

$
0
0
I don't have a release cycle but you can expect a new release very soon. I hope this weekend.

New Post: Converting 2 pages TIF Files to jpg

$
0
0
It looks like your image is corrupt. But it is also possible there is a bug in the tiff reader that is being used by ImageMagick. Can you post a link to your image? Feel free to contact me through Codeplex if you don't want to publicly share your image.

New Post: Color transformation with Fx

$
0
0
Can you post a link to your image so I can also do some testing with it? I have no experience with fx but I will try to help you.

New Post: Converting 2 pages TIF Files to jpg

$
0
0
Hi dlemstra thank you for your response. I sent you a message.

New Post: Powershell

$
0
0
Curious if anyone has tried Magick.NET with powershell and possibly could supply a working example.

New Post: Color transformation with Fx

$
0
0
There is the image, but I doubt, that my problem is related to the image, I suppose there is something wrong with the Fx expression.

New Post: Color transformation with Fx

$
0
0
You are right the problem is the expression you are using. Using rgb(...) in fx is only for specifying a unique color and not for doing computations. You would have to rewrite your code to the following:
using (MagickImage image = new MagickImage("PageHeatmap.png"))
{
  // Evaluate is faster if you just want to set a pixel to a value
  image.Evaluate(Channels.Green | Channels.Blue, EvaluateOperator.Set, 128);
  image.Fx("(1-u.r)*255", Channels.Red);
  image.Write("PageHeatmap.new.png");
}

New Post: Powershell

$
0
0
I just tried to see if I could get it to work and it is not that difficult. Below is a simple example that resizes an image:
# Magick.NET.ps1[void][Reflection.Assembly]::LoadFrom("Magick.NET-x64.dll")
$image= New-Object ImageMagick.MagickImage
$image.Read("Snakeware.jpg")
$image.Resize("100x")
$image.Write("Snakeware.100x.jpg")
$image.Dispose()
C:\Test\Magick.NET.Powershell>powershell -ExecutionPolicy Unrestricted .\Magick.NET.ps1
Jpeg 100x75 8-bit sRGB 2.05kB

New Post: Converting 2 pages TIF Files to jpg

$
0
0
Thank you for the image. Your image contains a corrupt tiff tag that causes a MagickCoderErrorException. We made a change to ImageMagick that will allow you to ignore a specific tiff tag. Below is an example that will prevent the MagickCoderErrorException:
using (MagickImage image = new MagickImage())
{
  image.SetDefine(MagickFormat.Tiff, "ignore-tags", "33426");
  // Or if you want to ignore multiple tags:
  image.SetDefine(MagickFormat.Tiff, "ignore-tags", "33426,33428");
  image.Read("Saucisses-Expo-008.tif");
}

New Post: Color transformation with Fx

$
0
0
Thanks, it works great.

Is there a similar "trick" for hsl(...)?

New Post: Color transformation with Fx

$
0
0
The "trick" is identical for hsl and rgb. The Channels enum does not define the hue/saturation/lightness channels so you have to use the rgb names: h = r, s = g, l = b.

New Post: CR2 to TIFF Conversion without Color Change

$
0
0
Hi the Magick.Net community,

I am trying to convert CR2 file to Tiff without changing the color.

My CR2 Files' color profiles are AdobeRGB1998, but not embedded color profile. It has the space name but not the data, so Magick.Net can not recognize the profile as AdobeRGB so it recognizes as default (sRGB).
Image


According the my reads on other related discussions, it will not be matter if I use this kind of code:
 using (var image = new MagickImage(CR2Path))
            {
                image.RenderingIntent = RenderingIntent.Absolute;
                
                //Image does not have ColorProfile but have ColorSpace as sRGB
                //Hopefully it will recognize when I assign with AddProfile
                //Source Profile
                image.AddProfile(ImageMagick.ColorProfile.AdobeRGB1998);
                //Target Profile
                image.AddProfile(ImageMagick.ColorProfile.AdobeRGB1998);
                
                //Code can be seen silly to assing source and target same profile but if I don't, the target profile becomes sRGB not AdobeRGB

                image.Write(tiffPath);
            }
The resuts are in given image:
Image
Left one is original CR2 Right one is the output.
All of them is AdobeRGB space. It was checked in Photoshop.

How can convert the image that results will be exactly same?

New Post: CR2 to TIFF Conversion without Color Change

$
0
0
Can you post a link to your cr2 image? And which version of dcraw are you using, or where did you download it? And can you post an image that contains the expected colors?

New Post: CR2 to TIFF Conversion without Color Change

$
0
0
Hi again,

I use Magick.net but I think it uses ImageMagick. So the ImageMagick has dcraw 9.19

I posted Photoshop tiff conversion of the CR2 image also. It is same with CR2. But with Magick.Net it like take little more exposure.

Image

My CR2 file is :
http://speedy.sh/UhE6V/IMG-8042384AdobeRGB.CR2

New Post: CR2 to TIFF Conversion without Color Change

$
0
0
Which version of Magick,NET are you using and did you also install ImageMagick?

New Post: CR2 to TIFF Conversion without Color Change

$
0
0
Magick.Net-Q16-x64 Version: 6.8.8.701
ImageMagick-6.8.8-Q16

New Post: CR2 to TIFF Conversion without Color Change

$
0
0
Can you post a link to the converted with Photoshop image so I can compare it with the result from Magick.NET?

New Post: CR2 to TIFF Conversion without Color Change

New Post: CR2 to TIFF Conversion without Color Change

$
0
0
I meant the output from CR2 to tiff with Photoshop. I do not have Photoshop.

New Post: CR2 to TIFF Conversion without Color Change

$
0
0
Sorry for misunderstanging.

I am uploading the photoshop output image.
Viewing all 3693 articles
Browse latest View live


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