Page 2 of 2

Re: Black background (instead of transparent) after drop sha

Posted: 2014-10-10T13:35:55-07:00
by nandinga
GREAT SUCCESS!!!!!!!!!!!!!

GENIUS Snibgo, you GENIUS!!! Ufff it would be great to have a list of ImageMagick "state vars". Those, like the compose mode, fill, background, etc. can make commands behave different when they're not at their default state, and in some cases it's not intuitive. When combining many commands dynamically using a script you tend to have "bundles" of IM transformations packed as one (like drop_shadow in my case here, many other in our app) and sometimes some "bundles" leave IM in a state that breaks the next.

This last version of the command works perfectly for jpeg and png. Thanks a lot Snibgo!! :)

Re: Black background (instead of transparent) after drop sha

Posted: 2014-10-10T14:00:36-07:00
by snibgo
Pleasure. Sorry it took so long. (Blame my dentist, who drilled and filled my root canals today.)

Yes, every option may affect more than one operator, and every option has a default. I use http://www.imagemagick.org/script/comma ... ptions.php as my usual reference, but it certainly isn't a complete description of effects or defaults.

When I wrote an interface from VIPS/NIP2 to IM, I discovered a huge number of these effects, and I'm sure I missed some. If you are volunteering to improve the documentation, we'd all be grateful. Ha!