Search found 12 matches
- 2014-12-18T14:32:12-07:00
- Forum: Users
- Topic: Detect background color and create square image
- Replies: 1
- Views: 4355
Detect background color and create square image
Hi everyone! I may be asking too much here but let me explain what I'm trying to do. 1.) User uploads photo 2.) Detect if the image has a solid background (most likely a logo) or if not (most likely a photograph) 3.) If it's a logo with a solid background, determine the background color 4.) if the ...
- 2014-04-03T16:27:39-07:00
- Forum: Users
- Topic: Smooth edges after background removal
- Replies: 3
- Views: 8114
Re: Smooth edges after background removal
Thanks so much that worked great!
- 2014-04-03T14:26:16-07:00
- Forum: Users
- Topic: Smooth edges after background removal
- Replies: 3
- Views: 8114
Smooth edges after background removal
Hi everyone. I got great help before and I'm in need of a little bit more. This is the current script I call via PHP to remove a white background image and convert the remaining image to a single color. exec('convert '.WP_PLUGIN_DIR.'/fancy-product-designer/'.$fimage.' -quality 100 '.WP_PLUGIN_DIR ...
- 2013-11-22T15:23:41-07:00
- Forum: Users
- Topic: IM to mimic photoshop styles?
- Replies: 15
- Views: 10077
Re: IM to mimic photoshop styles?
I've updated to the latest version and your command worked! I added two more commands as you said exec('fullpath/freds/bevel -a 225 -w 6 -e 45 fordg.png fordgb.png 2>&1', $b); exec('convert fordam.png fordgb.png -background white -flatten -compose over \ -transparent white -write show: ford_result ...
- 2013-11-22T13:56:07-07:00
- Forum: Users
- Topic: IM to mimic photoshop styles?
- Replies: 15
- Views: 10077
Re: IM to mimic photoshop styles?
Looks like the convert command isn't listed and I'm only running version 6.2.8 I'm going to guess I have to update? I installed it only a couple of days ago using "pecl install imagick"
- 2013-11-22T13:47:39-07:00
- Forum: Users
- Topic: IM to mimic photoshop styles?
- Replies: 15
- Views: 10077
Re: IM to mimic photoshop styles?
This is the first command I'm trying to get working. exec('convert images/ford.png (-clone 0 -fuzz 99% -fill gray70 -opaque red -write images/fordg.png) (-clone 0 -alpha extract -morphology dilate octagon:2 -blur 0x3 -level 0x50% -monochrome -negate -write images/fordam.png) 2>&1', $r); The output I ...
- 2013-11-22T12:39:05-07:00
- Forum: Users
- Topic: IM to mimic photoshop styles?
- Replies: 15
- Views: 10077
Re: IM to mimic photoshop styles?
I think I was unclear about converting colors. What I meant was that if someone uploads an image, and lets say it's a rainbow gradient on the horse, but i don't know the colors. Is there a way to still convert that horse to all grey? Also I can't get this working via php exec, I'm going to say it's ...
- 2013-11-21T16:45:26-07:00
- Forum: Users
- Topic: IM to mimic photoshop styles?
- Replies: 15
- Views: 10077
Re: IM to mimic photoshop styles?
Thank you so much again! I will play with it a lot tonight and try to get it figured out without bugging you too much on the forum =0) You've been incredibly helpful and I appreciate it!
- 2013-11-21T16:16:36-07:00
- Forum: Users
- Topic: IM to mimic photoshop styles?
- Replies: 15
- Views: 10077
Re: IM to mimic photoshop styles?
I tried running this on my server. <?php exec('convert images/ford.png \ \( -clone 0 -fuzz 99% -fill gray70 -opaque red -write images/fordg.png \) \ \( -clone 0 -alpha extract -morphology dilate octagon:2 \ -blur 0x3 -level 0x50% -monochrome -negate -write images/fordam.png \) \ null: freds/bevel -a ...
- 2013-11-21T15:55:27-07:00
- Forum: Users
- Topic: IM to mimic photoshop styles?
- Replies: 15
- Views: 10077
Re: IM to mimic photoshop styles?
I guess I have a couple more questions.
1.) Does the original image need to be a solid color? what if have a multi colored image?
2.) Is there a way to make the end result 25% transparent?
1.) Does the original image need to be a solid color? what if have a multi colored image?
2.) Is there a way to make the end result 25% transparent?
- 2013-11-21T15:25:34-07:00
- Forum: Users
- Topic: IM to mimic photoshop styles?
- Replies: 15
- Views: 10077
Re: IM to mimic photoshop styles?
Wow that is amazing! Thank you so much! I'm so intrigued by imagemagick. I have lots to learn but think it's going to be pretty fun!
- 2013-11-21T10:20:35-07:00
- Forum: Users
- Topic: IM to mimic photoshop styles?
- Replies: 15
- Views: 10077
IM to mimic photoshop styles?
Hello, Please excuse my ignorance. I'm very new to all of this. I'm trying to manipulate an image via IM to do the following after a user uploads an image with a transparent background. In photoshop this is how I get my desired effect. I'll start with this image. http://www.xbracelets.com/xgen ...