Search found 25 matches

by b3and1p
2011-04-19T12:50:58-07:00
Forum: MagickWand
Topic: Looking for someone with lots of IM experience on the iPhone
Replies: 0
Views: 9495

Looking for someone with lots of IM experience on the iPhone

I have a iPhone app that uses IM to apply some looks to photos. Currently the resolution is very slow for these effects (200x200) but the app still suffers from slow response and crashing. Are there any ninjas here available for freelance work that can help whip the app into shape? Maybe there are s...
by b3and1p
2011-02-09T10:13:48-07:00
Forum: MagickWand
Topic: Center Gravity not working?
Replies: 12
Views: 39516

Re: Center Gravity not working?

I will have to check the version when I get home, but this is for the iPhone.
by b3and1p
2011-02-09T09:41:17-07:00
Forum: MagickWand
Topic: Center Gravity not working?
Replies: 12
Views: 39516

Re: Center Gravity not working?

Sorry Pete neither worked. Both squished the image so I gave up. It makes more sense just to crop manually anyway. here is the code I used: First I resized the image down to a minimum of 250x250. Then I cropped doing this: MagickCropImage(magick_wand, 250, 250, (source.size.width-250)/2, (source.siz...
by b3and1p
2011-02-08T16:03:59-07:00
Forum: MagickWand
Topic: Center Gravity not working?
Replies: 12
Views: 39516

Re: Center Gravity not working?

hehe, now it is squishing the image to fit in 250x250 instead of cropping it.
by b3and1p
2011-02-08T13:05:17-07:00
Forum: MagickWand
Topic: Center Gravity not working?
Replies: 12
Views: 39516

Re: Center Gravity not working?

So try using MagickSetImageGravity and MagickTransformImage()?

Does this look right?

Code: Select all

   MagickSetImageGravity(magick_wand, CenterGravity);
   MagickTransformImage( magick_wand, "250x250+0+0", "" );
by b3and1p
2011-02-08T09:24:33-07:00
Forum: MagickWand
Topic: Center Gravity not working?
Replies: 12
Views: 39516

Re: Center Gravity not working?

Maybe there is something else I am doing wrong? Can someone help me figure this out? Or maybe I just have to manually offset the crop in X and Y so that it is in the center?
by b3and1p
2011-02-07T13:48:54-07:00
Forum: MagickWand
Topic: Center Gravity not working?
Replies: 12
Views: 39516

Re: Center Gravity not working?

It still crops in the upper left corner instead of in the center.
by b3and1p
2011-02-06T20:55:04-07:00
Forum: MagickWand
Topic: Center Gravity not working?
Replies: 12
Views: 39516

Center Gravity not working?

I have searched this topic a bunch and I have tried everything suggested, but still for some reason the image does not do a crop with a center gravity. Can anyone shed some light on how to fix this problem? - (UIImage *)applyEffect7:(UIImage *)i { NSLog(@"applying effect seven"); MagickWan...
by b3and1p
2010-12-13T13:14:30-07:00
Forum: Users
Topic: Errors in high value pixels?
Replies: 15
Views: 29559

Re: Errors in high value pixels?

Converting to HLS is working now! Thanks. I think I had something else in my command that was causing the artifacts (a aggressive hald clut I think). I am using a plus and so far no errors at all. Thanks again!
by b3and1p
2010-12-11T12:13:35-07:00
Forum: Users
Topic: Scaling just one channel
Replies: 10
Views: 20351

Re: Scaling just one channel

Yea I am dumb! I didn't realise "result" was the output because I didn't see a .png. Sorry, stupid mistake on my part. And this works! I wanted a subtle effect. here is what it looks like: http://placesnapdev02.s3.amazonaws.com/cb0f419f8861d88da20adfe5628a26d462b22de1_o.jpg here it is with...
by b3and1p
2010-12-11T09:49:07-07:00
Forum: Users
Topic: Errors in high value pixels?
Replies: 15
Views: 29559

Re: Errors in high value pixels?

Hmm still not working. It has the same problem when I convert to HLS. http://placesnapdev02.s3.amazonaws.com/8aa076e36220d3b9dd52a724e3c7ee01de35371b_640.jpg Here is the line: $enc[] = "convert input.png -colorspace HSL -separate \( +clone \( ../../plus.jpg -resize $size\! \) -compose Plus -com...
by b3and1p
2010-12-11T09:10:00-07:00
Forum: Users
Topic: Scaling just one channel
Replies: 10
Views: 20351

Re: Scaling just one channel

Hmm, still not working. [2010-12-11T16:06:04+00:00] Executing '/usr/local/bin/convert imageA.jpg -channel rgb -separate \( -clone 1 -distort SRT "1.01 0" \) \( -clone 2 -distort SRT "1.02 0" \) -delete 1-2 -combine result -quality 100 "/home/test/public_html/imageB.jpg"...
by b3and1p
2010-12-10T19:38:59-07:00
Forum: Users
Topic: Errors in high value pixels?
Replies: 15
Views: 29559

Re: Errors in high value pixels?

Ah ok thanks! yea I work in visual effects and we always work in float, so I never really have to deal with this. I will try HLS, I will also try something that is closer to a "screen" effect like soft light so that this doesn't become a issue. I got over this problem with -hald clut by do...
by b3and1p
2010-12-10T17:59:07-07:00
Forum: Users
Topic: Errors in high value pixels?
Replies: 15
Views: 29559

Re: Errors in high value pixels?

What about doing a plus instead of a linear dodge? I assume it would have the same problem? I can understand IM doing the calculations on a greyscale level, but I still can't understand why it isn't just clipping the channels at 255 instead of cycling (which it looks like it is doing). Are you sayin...
by b3and1p
2010-12-10T17:15:26-07:00
Forum: Users
Topic: Errors in high value pixels?
Replies: 15
Views: 29559

Re: Errors in high value pixels?

convert image1.png \(image2.png -resize 512x512\! \) -compose LinearDodge -composite result.png

is there any way to make the pixels clip to white? I don't mind clipping, I just don't understand why it doesn't clip to white or black like most image editing programs.