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

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
moonbop
Posts: 6
Joined: 2017-04-09T15:32:07-07:00
Authentication code: 1151

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

Post 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.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

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

Post 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?
moonbop
Posts: 6
Joined: 2017-04-09T15:32:07-07:00
Authentication code: 1151

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

Post by moonbop »

I dont know what IM version means or what API is. I just want to remove backgrounds.
moonbop
Posts: 6
Joined: 2017-04-09T15:32:07-07:00
Authentication code: 1151

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

Post by moonbop »

User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

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

Post 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/
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

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

Post 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
moonbop
Posts: 6
Joined: 2017-04-09T15:32:07-07:00
Authentication code: 1151

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

Post 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
moonbop
Posts: 6
Joined: 2017-04-09T15:32:07-07:00
Authentication code: 1151

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

Post by moonbop »

How do I get hold of this software?
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

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

Post by fmw42 »

moonbop
Posts: 6
Joined: 2017-04-09T15:32:07-07:00
Authentication code: 1151

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

Post 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
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

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

Post 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
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

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

Post 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.
snibgo's IM pages: im.snibgo.com
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

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

Post by fmw42 »

But the key Imagemagick command can be used from window as I listed above in my earlier post using -transparent white.
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

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

Post 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?
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

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

Post 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.
snibgo's IM pages: im.snibgo.com
Post Reply