Search found 13 matches

by sooN
2019-05-04T10:53:49-07:00
Forum: IMagick
Topic: Remove green background
Replies: 24
Views: 6738

Sadly I can't upgrade it, I have like the a very basic hosting, i'm glad ImageMagick is even installed.
by sooN
2019-05-04T05:18:16-07:00
Forum: IMagick
Topic: Remove green background
Replies: 24
Views: 6738

Re: Remove green background

I can't tell which version is installed on my server but I updated your script and did that << greenscreen -a 0 -b white >> and there's no change on the image. Edit: It works now with << greenscreen -t 22 -a 0 -b white >>. I need to try this more but it looks fine for at least one image. https://pas...
by sooN
2019-05-03T12:04:50-07:00
Forum: IMagick
Topic: Remove green background
Replies: 24
Views: 6738

Re: Remove green background

Yeah, so it doesn't work on my server, I can't tell why, I either have a fully white picture or this if I switch << -b white >> to << -b none >> :

Image
by sooN
2019-05-03T11:18:45-07:00
Forum: IMagick
Topic: Remove green background
Replies: 24
Views: 6738

Re: Remove green background

Yeah, I don't know what happened with my brain, I wanted to give you the original but... :D

There it is : http://image.noelshack.com/fichiers/201 ... cn1299.jpg
by sooN
2019-05-03T10:14:20-07:00
Forum: IMagick
Topic: Remove green background
Replies: 24
Views: 6738

Re: Remove green background

I used the -b white and the commands shown in your example, I actually believe it doesn't work properly on my side.

There's an example photo : http://image.noelshack.com/fichiers/201 ... cn1299.jpg ( too large for this website )
by sooN
2019-05-03T07:07:25-07:00
Forum: IMagick
Topic: Remove green background
Replies: 24
Views: 6738

Re: Remove green background

Little update, I managed to make your script work on the Linux server, the "human" is colorized and the background is in in black/grey, it is not deleted. It looks good but this is not the behavior i'm looking for of course :D If I set the background to white, the image is fully white, everything di...
by sooN
2019-05-03T06:02:32-07:00
Forum: IMagick
Topic: Remove green background
Replies: 24
Views: 6738

Re: Remove green background

Thanks for the information but I won't be able to fix it by myself, I don't really know how to work with images. The results i'm looking for should be similar to this website ( https://www.remove.bg ), sadly, this is not free.
by sooN
2019-05-03T01:51:56-07:00
Forum: IMagick
Topic: Remove green background
Replies: 24
Views: 6738

Re: Remove green background

I'm on Windows, it seems a bit tricky to use your script on it. And the "production" server is on Linux. But, I'm not planning to use it for commercial purposes. I just need to crop and remove the green screen of 3000 images quickly. I could do it manually with Paint.NET for example but this would t...
by sooN
2019-05-02T06:06:43-07:00
Forum: IMagick
Topic: Remove green background
Replies: 24
Views: 6738

Re: Remove green background

I don't know how to use your script, I didn't managed to make it work. Any reason why those functionalities didn't get ported to Imagick ? I managed to remove completly the green background with my PHP way but around the human body we can see like a 2 pixels green borders and it doesn't look good if...
by sooN
2019-05-01T06:55:39-07:00
Forum: IMagick
Topic: Remove green background
Replies: 24
Views: 6738

Re: Remove green background

I'll have a look to your script, it sounds interesting. But I'd rather use "clean" PHP if possible, your script can't be done using the native IMagick PHP functions ?
by sooN
2019-04-30T03:17:01-07:00
Forum: IMagick
Topic: Remove green background
Replies: 24
Views: 6738

Re: Remove green background

Well, I'm now using this : $image->opaquePaintImage( $lightgreen, $finalColor, $fuzzLightGreen, false, Imagick::CHANNEL_DEFAULT);

I'm almost fully satisfied with the result. I'm adjusting the fuzz depending on the "brightness" of the image, it's not perfect yet but I believe I'm on the right way.
by sooN
2019-04-29T06:29:31-07:00
Forum: IMagick
Topic: Remove green background
Replies: 24
Views: 6738

Re: Remove green background

I managed to improve it, that's not easy with all the different "shades" of green but that's way better.
by sooN
2019-04-29T04:41:16-07:00
Forum: IMagick
Topic: Remove green background
Replies: 24
Views: 6738

Remove green background

Hello, I'm trying to remove the green background using IMagick because I have way to many pictures and I want to make it "automatic". I'm not familiar with IMagick but I still managed to see some results using what I've found on Google. So, I'm joining a picture of what I managed to achieve with my ...