Search found 41 matches

by robuntu
2012-10-05T14:43:20-07:00
Forum: IMagick
Topic: composite image with gravity
Replies: 4
Views: 12530

composite image with gravity

Hi, This is what I have: I have a large image ( called image) and a small thumbnail image (called thumb) The thumb is a rectangle: landscape or portrait. I want to place the thumb into a square area on the image using gravity relative to the square. When using scaleImage (w,h) and compositeImage(x,y...
by robuntu
2012-06-14T13:22:15-07:00
Forum: Users
Topic: openmp problem?
Replies: 1
Views: 3711

openmp problem?

Hi together, I just found this website: http://www.daniloaz.com/en/617/systems/high-cpu-load-when-converting-images-with-imagemagick/ and wondered if this could affect me. I have a "monster" system with 32 CPU cores and 128 GB Ram (Oh yes!) running Ubuntu 12.04 64bit and try to manage a fa...
by robuntu
2012-05-26T05:40:20-07:00
Forum: Users
Topic: dpi or dots per centimeter
Replies: 1
Views: 4405

dpi or dots per centimeter

Hi If I use a "identify -verbose img.png" I get: ... Geometry: 3553x748+0+0 Resolution: 190x190 Print size: 18.7x3.93684 Units: PixelsPerInch ... but if I use identify -format "%x" img.png I get: 74.8 PixelsPerCentimeter What do I have to place after "-format" do get th...
by robuntu
2012-05-26T05:32:56-07:00
Forum: Users
Topic: cmyk - rgb - cmyk
Replies: 7
Views: 12248

Re: cmyk - rgb - cmyk

Hi again, I am happy with using RGB now! I still have to deal with the designers thinking in CMYK only. For example they want to set the label-color of an added textline to a cmyk-value. Can I set the label color to a cmyk-value even in an RGB image? Most important ist, that after remapping it to CM...
by robuntu
2012-05-15T03:17:27-07:00
Forum: Users
Topic: cmyk - rgb - cmyk
Replies: 7
Views: 12248

cmyk - rgb - cmyk

Hi Anthony I placed this question into this new Topic, even though we diskussed it before somewhere else... You posted: With a Q16 version of IM, that should not be a problem! The Q16 provides enough leeway that colors that map from CYMK to RGB (or sRGB) and back should remain exact enough that thei...
by robuntu
2012-05-11T14:24:50-07:00
Forum: Users
Topic: fast way to border "inline"
Replies: 22
Views: 30281

Re: fast way to border "inline"

I think the mpc format is the best choice for me, because I have to do lost of tasks with the image. 0) the original image is a cmyk-tiff with 6Gb, so I convert to RGB with 4GB 1) crop the 4gb image into 8 rows ( I cannot use split, because I need some overlapping , the last 2inch of the first row h...
by robuntu
2012-05-11T13:51:03-07:00
Forum: Users
Topic: fast way to border "inline"
Replies: 22
Views: 30281

Re: fast way to border "inline"

Hi fmw42, ok I see, mogrify is no option. Thanks! So there is no way of writing directly to the image file instead of writing the whole file again? I thought the mpc format would allow this... Well ok, if not, I need a way of reading and writing the file faster. I will try using a ramdisk next. If I...
by robuntu
2012-05-11T13:01:13-07:00
Forum: Users
Topic: fast way to border "inline"
Replies: 22
Views: 30281

Re: fast way to border "inline"

stupid me! It should be time mogrify -fill blue -stroke black -draw "$left" -draw "$right" bild.mpc This works ! Thank you for not posting (yet) that I am an idiot! But here is the drawback: this also needs 56 seconds, so obviosly the whole image is read and written again. ??? Gr...
by robuntu
2012-05-11T12:43:19-07:00
Forum: Users
Topic: fast way to border "inline"
Replies: 22
Views: 30281

Re: fast way to border "inline"

Hi Anthony and fmw42, I just checked your advices. 1. result: rgb converting needs about 3/4 of the time of cmyk - this makes sense, because I have three instead of four channels. Good! 2. result: with an 508MB rgb .mpc file the extent option takes 1Minute and 3 seconds, the draw method needs 56 sec...
by robuntu
2012-05-09T15:21:11-07:00
Forum: Users
Topic: fast way to border "inline"
Replies: 22
Views: 30281

Re: fast way to border "inline"

it says: OpenMP. ...but on the other hand I have to do multiple jobs a time anyway, so I just place my commands with a following "&" and I will get my multiprocessing... I think this is faster than using the same image four times, even if I only select one channel. Next week I can test...
by robuntu
2012-05-09T14:57:36-07:00
Forum: Users
Topic: fast way to border "inline"
Replies: 22
Views: 30281

Re: fast way to border "inline"

Ok here we go: Picture size: 17953x13465 time convert bild1.tif -shave 50x0 -background "cmyk(255,255,0,0)" -gravity east -splice 50x0 -gravity west -splice 50x0 bild2.tif real 2m8.164s user 0m25.390s sys 0m19.769s time convert bild1.tif -shave 50x0 -background "cmyk(255,255,0,0)"...
by robuntu
2012-05-09T14:19:48-07:00
Forum: Users
Topic: fast way to border "inline"
Replies: 22
Views: 30281

Re: fast way to border "inline"

Oh I just noticed you posted again...
I will check the other options as well

Roland
by robuntu
2012-05-09T14:16:21-07:00
Forum: Users
Topic: fast way to border "inline"
Replies: 22
Views: 30281

Re: fast way to border "inline"

hi fmw42, Thanks, you are my hero! this is exactly what I want! first step : shave second step identify colors with your code -> select lowest channel third step: extent with bgcolor "lowest channel from step 2" Here is my test: identify bild1.tif bild1.tif TIFF 17953x13465 17953x13465+0+0...
by robuntu
2012-05-09T13:23:41-07:00
Forum: Users
Topic: Finding channel mean Value
Replies: 1
Views: 3553

Finding channel mean Value

Hi, I need to know which channel (c,m,y,k) is used less in an cmyk Image. If I use identify -verbose pic.tif I get the information, but is there a way to get only this value for automatic controlling with something like identify -format %[mean usage of channel "c"] or listed with all chann...
by robuntu
2012-05-09T12:41:17-07:00
Forum: Users
Topic: fast way to border "inline"
Replies: 22
Views: 30281

Re: fast way to border "inline"

Hi fmw42, thanks for your answer! Converting from cmyk to rgb and back could change the colors of the final image. I have to deal with designers rather than computing people like me and if they say: "the colors changed" I have a problem. So what about cropping the image and splicing? This ...