Page 1 of 1

I don't understand how to download the background remover?

Posted: 2017-04-09T15:37:57-07:00
by moonbop
Hi,
This has been rather frustrating for me. I still have no idea if I am doing this right. I dont use forums usually but I cant contact you through your website as the code does not work & it's always the same code. Anyhow my question I want to ask is I don't understand how to download the background remover? This code d7e2e0 does not work so I have had to come here to ask the question.

Re: I don't understand how to download the background remover?

Posted: 2017-04-09T15:41:02-07:00
by fmw42
What is "background remover"? I do not recognize that as a command in Imagemagick. I do not know what code d7e2e0 is?

What is your IM version and platform? Are you using the command line or some API for Imagemagick?

What is the reference you have for "background remover" and how does it relate to Imagemagick?

Re: I don't understand how to download the background remover?

Posted: 2017-04-09T15:46:12-07:00
by moonbop
I dont know what IM version means or what API is. I just want to remove backgrounds.

Re: I don't understand how to download the background remover?

Posted: 2017-04-09T15:47:33-07:00
by moonbop

Re: I don't understand how to download the background remover?

Posted: 2017-04-09T15:50:37-07:00
by fmw42
IM is Imagemagick. Are you using Imagemagick? API is one of the Application Programming Interfaces. There is no command in Imagemagick to remove backgrounds. There are some code snippets for removing simple backgrounds at:
http://www.imagemagick.org/Usage/masking/#bg_remove

Is that what you want? If not, please post an example image at some free hosting service such as dropbox.com and put the URL here.

Please, always provide your IM version and platform when asking questions, since syntax may differ. Also provide your exact command line and if possible your images.

See the top-most post in this forum "IMPORTANT: Please Read This FIRST Before Posting" at viewtopic.php?f=1&t=9620

For novices, see

viewtopic.php?f=1&t=9620
http://www.imagemagick.org/script/comma ... essing.php
http://www.imagemagick.org/Usage/reference.html
http://www.imagemagick.org/Usage/

Re: I don't understand how to download the background remover?

Posted: 2017-04-09T15:53:47-07:00
by fmw42
In that reference, they have a nearly constant white background. To make that transparent in Imagemagick command line, I would do in Imagemagick 6:

Code: Select all

convert yourimage -fuzz XX% -transparent white resultimage
where XX is small value between 0 and 100 to account for slight variations in the color of the background.

If you are using Imagemagick 7, replace convert with magick. Put your input image and output image in place of yourimage and resultimage

Re: I don't understand how to download the background remover?

Posted: 2017-04-09T15:55:59-07:00
by moonbop
I dont undersatnd any of what you are sayying. cant you see the link? It says.....To remove a white background from multiple images at the same time you can use the ImageMagick convert command I clicked on the link & it took me here http://www.imagemagick.org/script/index.php

Re: I don't understand how to download the background remover?

Posted: 2017-04-09T15:56:31-07:00
by moonbop
How do I get hold of this software?

Re: I don't understand how to download the background remover?

Posted: 2017-04-09T16:21:10-07:00
by fmw42

Re: I don't understand how to download the background remover?

Posted: 2017-04-09T16:40:49-07:00
by moonbop
Ok I see sa lot of download links....what one do I download? I have Windows 7 64bit machine.

Redhat / CentOS 7.1 x86_64 RPM
ImageMagick-libs-7.0.5-4.x86_64.rpm download download Redhat / CentOS 7.1 x86_64 RPM
ImageMagick RPM's download download Development, Perl, C++, and documentation RPM's.
ImageMagick-i386-pc-solaris2.11.tar.gz download download Solaris Sparc 2.11
ImageMagick-i686-pc-cygwin.tar.gz download download Cygwin
ImageMagick-i686-pc-mingw32.tar.gz download download MinGW

Re: I don't understand how to download the background remover?

Posted: 2017-04-09T17:25:10-07:00
by fmw42
Sorry, I am not a Windows user, so cannot advise.

See the section on Windows installs on that page at http://www.imagemagick.org/script/binar ... hp#windows

My guess would be:
ImageMagick-7.0.5-4-Q16-x64-dll.exe

Re: I don't understand how to download the background remover?

Posted: 2017-04-09T19:15:21-07:00
by snibgo
The commands shown at http://www.vectorns.com/blog/technical- ... -a-picture are bash commands. For example:

Code: Select all

find . -type f -name "*.jpg" -print0 | while IFS= read -r -d $'\0' file; do convert -verbose "$file" -transparent white "$file.png"; done
This is a bash command. It won't run under Windows unless you have bash.

Re: I don't understand how to download the background remover?

Posted: 2017-04-09T19:25:18-07:00
by fmw42
But the key Imagemagick command can be used from window as I listed above in my earlier post using -transparent white.

Re: I don't understand how to download the background remover?

Posted: 2017-04-10T00:15:31-07:00
by Bonzo
An old example I found from 2007: http://tech.natemurray.com/2007/12/conv ... arent.html
This is a bash command. It won't run under Windows unless you have bash.
I wonder if it will run from the bash program in the Windows 10 developer mode?

Re: I don't understand how to download the background remover?

Posted: 2017-04-10T06:59:05-07:00
by snibgo
Bonzo wrote:I wonder if it will run from the bash program in the Windows 10 developer mode?
I expect it would. The OP has Windows 7. I expect Cygwin bash works on Windows 7, but that would be overkill for just this command.