Search found 16 matches

by stroker
2012-01-05T04:56:53-07:00
Forum: IMagick
Topic: Clone method deprecated?
Replies: 2
Views: 7873

Clone method deprecated?

Code: Select all

$im2 = $im->clone();
"Imagick::clone method is deprecated and it's use should be avoided"

What should I use instead?
by stroker
2011-03-11T07:43:05-07:00
Forum: Users
Topic: Replace one RGB channel with another
Replies: 2
Views: 5632

Replace one RGB channel with another

I want to replace the red channel with the green one in an image. I have a grayscale image mask (mask.png) that represents the region I want to change. How do I do it?

The code is for a script to reduce red eyes. I want to copy the "good" pupil from the green channel into the "bad" in the red.
by stroker
2011-03-11T07:25:36-07:00
Forum: IMagick
Topic: Help with translating command to Imagick
Replies: 4
Views: 11284

Re: Help with translating command to Imagick

Thanks that works. I also found out that fxImage('intensity') works as well. I used it the wrong way, the function return a new Imagick object with the changes.
by stroker
2011-03-08T03:09:17-07:00
Forum: IMagick
Topic: Help with translating command to Imagick
Replies: 4
Views: 11284

Re: Help with translating command to Imagick

Ok thanks for your answer. I actually tried fxImage and gammaImage first but I was uncertain of the parameters. It's seems that you have to call gammaImage for each color: $im->gammaImage($RED, Imagick::CHANNEL_RED); $im->gammaImage($GREEN, Imagick::CHANNEL_GREEN); $im->gammaImage($BLUE, Imagick::CH...
by stroker
2011-03-07T03:22:04-07:00
Forum: IMagick
Topic: Help with translating command to Imagick
Replies: 4
Views: 11284

Help with translating command to Imagick

What's the equivalent to ImageMagick cmd "convert image.jpg -fx intensity -gamma $RED,$GREEN,$BLUE out.jpg"?
by stroker
2009-10-12T03:24:36-07:00
Forum: Users
Topic: How to read image colorspace?
Replies: 1
Views: 5532

How to read image colorspace?

I have a dilemma reading colorspace from images. I you use the standard way identify -format "%[colorspace]%" you will sometimes get wrong result. For example i you have a RGB image with a RGB profile sRGB you might sometime get colorspace: GRAY instead of RGB if the internal image consists of only ...
by stroker
2009-09-02T07:56:00-07:00
Forum: Users
Topic: Memory limit using ImageMagickObject COM+ vs console
Replies: 0
Views: 2713

Memory limit using ImageMagickObject COM+ vs console

I'm using ImageMagickObject in my C#.net application and I'm working with large images (40Mpixels). Is there a limit how much memory can be allocated? I have plenty of ram (8GB) and I see temporary files gets created on the temp folder. If I use the command line all the work gets into ram and no tem...
by stroker
2009-08-27T05:45:17-07:00
Forum: Users
Topic: Build from source but keep existing rpm installation
Replies: 0
Views: 2322

Build from source but keep existing rpm installation

I have a old linux system running Imagemagick 6.2.5 installed by using a prm package. For example convert has the following path /usr/bin/convert. Now i want to upgrade to newest version by building from source but I want to keep the existing 6.2.5 installation as well (for the time I develop my scr...
by stroker
2009-07-27T05:17:18-07:00
Forum: Users
Topic: ImageMagick is installed (Leopard) but does not work
Replies: 16
Views: 29797

Re: ImageMagick is installed (Leopard) but does not work

I think you need to use the full path to convert.

Use "whereis convert" to find out the full path.
For example /usr/local/bin/convert
by stroker
2009-07-22T03:11:50-07:00
Forum: Users
Topic: density change not showing in photoshop (8bim profile)
Replies: 6
Views: 23373

Re: density change not showing in photoshop (8bim profile)

You can try exiftool, http://www.sno.phy.queensu.ca/~phil/exiftool/ Exiftool can read and write photoshop meta info http://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/Photoshop.html I haven't tried it, but I think this should work exiftool -g -Photoshop:XResolution=300 -Photoshop:YResolution=300 ...
by stroker
2009-07-13T09:12:33-07:00
Forum: Windows COM+ & Visual Basic
Topic: Get version number from ImageMagickObject
Replies: 0
Views: 5338

Get version number from ImageMagickObject

How do I get the version number from ImageMagick dll library?
I tried the below command (C#) but result is null.

Code: Select all

ImageMagickObject.MagickImageClass magick = new ImageMagickObject.MagickImageClass(); 
object[] cmd = new object[] { "-version" }; 
object result = magick.Identify(ref cmd); 
by stroker
2009-07-13T09:07:03-07:00
Forum: Users
Topic: Convert rgb jpeg to cmyk pdf no embedded profile
Replies: 2
Views: 5812

Re: Convert rgb jpeg to cmyk pdf no embedded profile

Ok thanks. I solved the problem using ImageMagick to convert the images to the right profile then used a PDF library to mount the images.
It seems that the PDF itself don't need an embedded profile.
by stroker
2009-06-29T10:40:29-07:00
Forum: Users
Topic: Convert rgb jpeg to cmyk pdf no embedded profile
Replies: 2
Views: 5812

Convert rgb jpeg to cmyk pdf no embedded profile

When i use the below command the profile does not get embedded. If I change to output.tif there is no problem, the image gets converted to cmyk with right embedded profile. Input.jpg have srgb icc profle. convert input.jpg -profile CoatedFOGRA27.icc output.pdf I'm using version 6.4.0, should I try a...
by stroker
2008-04-14T01:15:45-07:00
Forum: Bugs
Topic: Psd profile conversion bug (jpg & tif ok)
Replies: 0
Views: 3524

Psd profile conversion bug (jpg & tif ok)

I have three grayscale images with a grayscale profile "Dot grain 20%". The formats are JPEG, TIFF AND PSD. Shouldn't I get the same output image when converting the colorspace to RGB using a RGB profile? convert image.jpg -intent relative -black-point-compensation -profile AdobeRGB1998.icc new.jpg ...
by stroker
2008-04-07T13:13:57-07:00
Forum: Users
Topic: ImageMagick colorspace vs Photoshop colorspace
Replies: 4
Views: 10455

Re: ImageMagick colorspace vs Photoshop colorspace

That does not solve my problem. I want to find a way to identify colorspace the same way that Photoshop does. It seems that the only difference between "-format %r" and "%[colorspace]" is the removal of prefix DirectClass or PseudoClass. One interesting part is that I have tried an older version, 6....