Search found 60 matches

by miket
2016-12-05T07:22:34-07:00
Forum: PerlMagick
Topic: PerlMagick colorspaceset
Replies: 6
Views: 28368

Re: PerlMagick colorspaceset

I'm looking to set the colorspace to XYZ without any transformation (similar to command line -set colorspace XYZ). The perl implementation assumes sRGB colorspace and applies a transformation (similar to -colorspace XYZ). See original post for more detail. I tried $im->Set(colorspace=>'XYZColorspace...
by miket
2016-12-05T07:04:10-07:00
Forum: PerlMagick
Topic: Perl Magick -set colorspace XYZ & -colorspace XYZ equivalents
Replies: 6
Views: 26442

Re: Perl Magick -set colorspace XYZ & -colorspace XYZ equivalents

There is a slight snag with my solution. It seems that when IM is recompiled, the Q16HDRI.xc and (I think) the quantum.xc files are overwritten. It seems to be necessary to alter the quantum.xc.in file, rather than the Q16HDRI.xc file. This then necessitates the additional step of recompiling/instal...
by miket
2016-12-04T20:18:23-07:00
Forum: PerlMagick
Topic: Perl Magick -set colorspace XYZ & -colorspace XYZ equivalents
Replies: 6
Views: 26442

Re: Perl Magick -set colorspace XYZ & -colorspace XYZ equivalents

Snigbo, Thanks for your suggestions. I had already tried the -profile option (which does what it says on the tin in PerlMagick). Unfortunately I need to do my processing in "xyY" space and could not find an appropriate .icc profile, so this approach did not work for me :( . I did however (...
by miket
2016-12-02T07:53:08-07:00
Forum: PerlMagick
Topic: Perl Magick -set colorspace XYZ & -colorspace XYZ equivalents
Replies: 6
Views: 26442

Perl Magick -set colorspace XYZ & -colorspace XYZ equivalents

HI, I'm using PerlMagick to process a large number of large images. The process is broadly as follows: Pipe converted (high gamut) raw files into and from dcraw. Convert to "xyY" colorspace. Process files. Convert to wide gamut RGB (e.g. PhotoPro). I eventually discovered that the ->Set(co...
by miket
2016-11-24T06:01:42-07:00
Forum: Users
Topic: colorspace (s)RGB and chromaticity primaries
Replies: 3
Views: 5162

Re: colorspace (s)RGB and chromaticity primaries

Thanks snibgo,

That confirms my hunch. Always good to have that from somebody with more IM hours under their belt :)

I'd also agree that it would be useful if IM could alter the appropriate tags after icc profiling an image as you suggested.

Mike
by miket
2016-11-23T07:36:23-07:00
Forum: Users
Topic: colorspace (s)RGB and chromaticity primaries
Replies: 3
Views: 5162

Re: colorspace (s)RGB and chromaticity primaries

I have a very similar question to the above. My understanding is that the RGB/sRGB colorspace tag is simply an indicator of linear gamma=1 data or non-linear gamma!=1 data and therefore does not provide any more information about the specific color profile used. However, like the previous post, I no...
by miket
2016-10-08T16:15:57-07:00
Forum: PerlMagick
Topic: Perl Magick - Compose:Clamp On/Off
Replies: 0
Views: 22277

Perl Magick - Compose:Clamp On/Off

Hi, I'm using Perl Magick to process HDR images. Can you tell me if the IM Compose:Clamp On/Off function for the Compose/Composite function has been implemented in Perl Magick? When using the really useful Compose/Composite functions, HDR images which have a range greater than the Quantum range appe...
by miket
2016-10-08T05:17:15-07:00
Forum: PerlMagick
Topic: Copy alpha channel
Replies: 3
Views: 22142

Re: Copy alpha channel

So, getting the embarrassing bit out of the way first - the perl command for Composite is not Composite(file=>$image_b.....), but is Composite(image=>$image_b ......). The alpha channel now copies as expected. :oops: (the incorrect usage failed silently, so I really need to get to grips with error t...
by miket
2016-10-06T08:35:41-07:00
Forum: PerlMagick
Topic: Copy alpha channel
Replies: 3
Views: 22142

Copy alpha channel

I'm attempting to copy a grayscale file into the alpha channel of a Radiance RGBE file using perl magic. The Radiance file has values which exceed the quantum depth (Q16 HDR) and the grayscale file has values either 0 or quantum depth (Q16) In command line the following was successful: convert -defi...
by miket
2016-10-06T06:27:26-07:00
Forum: PerlMagick
Topic: Set - An observation
Replies: 0
Views: 21841

Set - An observation

I'm new to perl magic and am writing this post to highlight a "feature" which took me some time to resolve, in the hope that it might save others a bit of time in the future :) Running (for example): $image->Set(Alpha=>'Set'); does what it says on the tin ! For those of us with thick finge...
by miket
2016-09-27T08:23:28-07:00
Forum: PerlMagick
Topic: Running a "Process" from Perl Magick
Replies: 6
Views: 24355

Re: Running a "Process" from Perl Magick

As a secondary (but related) question, I've noticed that there are a number of IM7 command line methods that are not documented on the Perl Magic web page. The likes of -intensity and -Grayscale come to mind. Is it the case that these are simply not available through Perl Magic, or is it the case th...
by miket
2016-09-26T07:17:32-07:00
Forum: PerlMagick
Topic: Running a "Process" from Perl Magick
Replies: 6
Views: 24355

Re: Running a "Process" from Perl Magick

Thanks for responding Snibgo. Can I take this opportunity to thank you for taking the time to write up some really easy to follow instructions for installing filters (and installing IM) on your web site. I found them really, really useful to get up and running quickly. The additional background info...
by miket
2016-09-26T03:06:31-07:00
Forum: PerlMagick
Topic: Running a "Process" from Perl Magick
Replies: 6
Views: 24355

Running a "Process" from Perl Magick

I can successfully run Snibgo's rather fine 'fillholes' process from the command line as follows: convert FILEIN.exr \ -process 'fillholes wr 10 lsr 5% s random st 0.01 v' \ FILEOUT.exr However, I would like to run this from within PerlMagick and I cannot find any reference to calling "process&...
by miket
2016-09-14T22:14:52-07:00
Forum: PerlMagick
Topic: Install issue with PerlMagick
Replies: 1
Views: 19052

Re: Install issue with PerlMagick

I think I've found the problem :) :). $ perl -V gave a clue (now highlighted in red in my original post -Edit-> Can't seem to add colour to code snippet. Have added "***" to beginning of the relevant line). I had not installed libperl-dev. Now installed and IM recompiled&installed usin...
by miket
2016-09-14T21:02:29-07:00
Forum: PerlMagick
Topic: Install issue with PerlMagick
Replies: 1
Views: 19052

Install issue with PerlMagick

Hi, I'm running Ubuntu 16.04LTS in Virtualbox with Windows10 as host. I have a functional version of ImageMagick v7.0.2-4 with Q16 and HDR which I have been using successfully for a couple of months. I'm now trying to install PerlMagic but am running into some trouble. The latest available version o...