Cant change background image complitly

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
soulilya
Posts: 3
Joined: 2014-04-28T11:36:05-07:00
Authentication code: 6789

Cant change background image complitly

Post by soulilya »

Hi guys. Im trying change background image from black to white. Its for my internet magazine. Images over 1300 in jpg format. But when i try change background over main image background stays the same.

For example: http://rghost.ru/54687939

This is original image

http://rghost.ru/54710788
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Cant change background image complitly

Post by fmw42 »

I cannot seem to open your links or they take very long time. But please provide your IM version and platform and the exact command you used.
soulilya
Posts: 3
Joined: 2014-04-28T11:36:05-07:00
Authentication code: 6789

Re: Cant change background image complitly

Post by soulilya »

Im used command from tutorial.

Code: Select all

  convert balloon.gif  -fill white -opaque blue   balloon_white.gif
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Cant change background image complitly

Post by fmw42 »

soulilya wrote:Im used command from tutorial.

Code: Select all

  convert balloon.gif  -fill white -opaque blue   balloon_white.gif
Your command works just fine for me on IM 6.8.9.0 Q16 Mac OSX.

What is your IM version and platform? There may be a bug in your version.

The other thing to try is add a little fuzz factor to it.

Code: Select all

  convert balloon.gif  -fuzz X% -fill white -opaque blue   balloon_white.gif
try 1% and if that does not work, then try larger amounts. If it still does not work, the you may need to upgrade IM.
soulilya
Posts: 3
Joined: 2014-04-28T11:36:05-07:00
Authentication code: 6789

Re: Cant change background image complitly

Post by soulilya »

Last version for windows. Thank you for reply. Its better, but still there is artefacts

http://rghost.ru/54738581
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Cant change background image complitly

Post by fmw42 »

Sorry, your links do not work for me.
Post Reply