Oh!
Now I understand the logic behind [fx:] and [pixel:] - thanks!
Search found 13 matches
- 2014-05-29T04:47:09-07:00
- Forum: Users
- Topic: Performance issues after 100+ convert commands
- Replies: 8
- Views: 7582
- 2014-05-29T04:30:32-07:00
- Forum: Users
- Topic: Performance issues after 100+ convert commands
- Replies: 8
- Views: 7582
Re: Performance issues after 100+ convert commands
As I am currently working on it, I have a question about the -format option. According to the documentation, I can output a specific pixel's color channel by using, for example -format "%[pixel:p{x,y}.c] to get that pixel's cyan value, m for magenta and so on. But I am wondering, why my output gives ...
- 2014-05-29T03:11:51-07:00
- Forum: Users
- Topic: Performance issues after 100+ convert commands
- Replies: 8
- Views: 7582
Re: Performance issues after 100+ convert commands
Oh, indeed, with your explenation of the edit it makes a lot more sense. I figured you're iterating through the var set by windows but I just had not understood what exactly the -evaluate and -channel parts do, but now it makes a lot of sense. I'll have to experiment around a bit with the output ...
- 2014-05-29T02:35:59-07:00
- Forum: Users
- Topic: Performance issues after 100+ convert commands
- Replies: 8
- Views: 7582
Re: Performance issues after 100+ convert commands
Thank you for the very quick answer snibgo, could you explain to me what the command does, step by step? I tried to interpret it while reading the cli options on the IM website but I don't quite get my head around it 100%. I mean only the parts "-channel b -evaluate set %%z +channel". Thank you ...
- 2014-05-29T01:39:35-07:00
- Forum: Users
- Topic: Performance issues after 100+ convert commands
- Replies: 8
- Views: 7582
Performance issues after 100+ convert commands
Hello everybody, I have a question regarding the performance of ImageMagick. The system (a VPS from Amazon Web Services) I am running (the latest) ImageMagick on is: 1 Xeon E5-2650 CPU, 615MB Ram I have created a batch file, which runs this command: FOR /l %%x IN (0, 1, 255) DO FOR /l %%y IN (0, 1 ...
- 2014-05-26T06:03:56-07:00
- Forum: Users
- Topic: Convert color values from RGB to CMYK with ICC profile
- Replies: 26
- Views: 28915
Re: Convert color values from RGB to CMYK with ICC profile
Cool.
I will simply work with the swapped values meantime.
Thanks for the great help
I will simply work with the swapped values meantime.
Thanks for the great help
- 2014-05-26T00:27:15-07:00
- Forum: Users
- Topic: Convert color values from RGB to CMYK with ICC profile
- Replies: 26
- Views: 28915
Re: Convert color values from RGB to CMYK with ICC profile
Could there be a bug with the variables used inside an -fx function? If I use this format notation: -format '%[fx:int(100*c)], %[fx:int(100*m)], %[fx:int(100*y)], %[fx:int(100*k)]' the results are for example this: RGB(0,255,255) -> "80, 24, 0, 0" RGB(255,0,0) -> "0, 82, 90, 0" RGB(255,0,255) -> "27 ...
- 2014-05-25T23:27:27-07:00
- Forum: Users
- Topic: Convert color values from RGB to CMYK with ICC profile
- Replies: 26
- Views: 28915
Re: Convert color values from RGB to CMYK with ICC profile
You guys are amazing, thanks a ton.
I'll have to give this a try immediately when I get the chance
I'll have to give this a try immediately when I get the chance
- 2014-05-25T16:01:11-07:00
- Forum: Users
- Topic: Convert color values from RGB to CMYK with ICC profile
- Replies: 26
- Views: 28915
Re: Convert color values from RGB to CMYK with ICC profile
Hi again - sorry to rewake this post, but I'd have another question, if anyone could assist me. Is it possible to use the -write command in conjunction with the -format command, to store only the cmyk color values in a txt file, and then repeatedly adding new values to the same file? If at all ...
- 2014-05-21T04:06:34-07:00
- Forum: Users
- Topic: Convert color values from RGB to CMYK with ICC profile
- Replies: 26
- Views: 28915
Re: Convert color values from RGB to CMYK with ICC profile
Hello again and thanks for the suggestions. I've gone your way, snibgo, and used a single convert command without saving intermediate files. This is what I'm currently doing: exec("convert xc:'rgb(0,255,255)' -profile AdobeRGB1998.icc -profile CoatedFOGRA39.icc -write txt:cmyk.txt -profile ...
- 2014-05-20T16:19:59-07:00
- Forum: Users
- Topic: Convert color values from RGB to CMYK with ICC profile
- Replies: 26
- Views: 28915
Re: Convert color values from RGB to CMYK with ICC profile
I would not need the files, no. I've tried what you suggested and used this: $img_cmyk = exec("convert xc:'rgb(0,255,255)' -profile AdobeRGB1998.icc -profile CoatedFOGRA39.icc info:- "); Echoing the variable gives me this: xc:rgb(0,255,255) XC 1x1 1x1+0+0 16-bit ColorSeparation DirectClass 7.850u 0 ...
- 2014-05-20T14:13:06-07:00
- Forum: Users
- Topic: Convert color values from RGB to CMYK with ICC profile
- Replies: 26
- Views: 28915
Re: Convert color values from RGB to CMYK with ICC profile
Hello snibgo, thanks a lot for your reply. I thought of a similar process already, but the one thing that keeps me back is the workload necessary for this procedure. Currently I am extracting the color values in this way: 1) create the 1x1 image with the respective color profiles exec("convert xc ...
- 2014-05-20T01:54:01-07:00
- Forum: Users
- Topic: Convert color values from RGB to CMYK with ICC profile
- Replies: 26
- Views: 28915
Convert color values from RGB to CMYK with ICC profile
Hi everybody, I've been working with Imagemagick for a while now (using it in a web project, thus using PHP to work with it), and I've ran into a problem. I hope a smart mind here can help me. I have to implement a color picker in my project (again, web based), which is no hassle at all. Done that ...