List Info

Thread: Converting SVG -> PNG with transparent backgrounds




Converting SVG -> PNG with transparent backgrounds
user name
2006-10-19 14:12:38
On Thursday 19 October 2006 15:04, you wrote:
> I think it is #00000000 or you can also use -background
transparent i
> think

According to this:

http://www.imagemagick.org/script/command-l
ine-options.php#background

"The color is specified using the format described
under the -fill option."

Now, the fill option is described here (same page, different
anchor):

http://www.imagemagick.org/script/command-line-op
tions.php#fill

And four digits, as in #0000 it says is interpreted as
#RGBA, so it should 
be exactly the same as -background none.

Actually, now I look at it, #0000 should work if I just
quote the colour - 
the shell must have been doing something with the hash.

Ooops! :-s

-- 
Jim
http://surfcore.co.uk
_______________________________________________
Magick-users mailing list
Magick-usersimagemagick.org
http://studio.imagemagick.org/mailman/listinfo/magick
-users
Converting SVG -> PNG with transparent backgrounds
user name
2006-10-20 03:43:42
Jim Higson on  wrote...
| On Thursday 19 October 2006 15:04, you wrote:
| > I think it is #00000000 or you can also use
-background transparent i
| > think
| 
| According to this:
| 
| http://www.imagemagick.org/script/command-l
ine-options.php#background
| 
| "The color is specified using the format described
under the -fill option."
| 
| Now, the fill option is described here (same page,
different anchor):
| 
| http://www.imagemagick.org/script/command-line-op
tions.php#fill
| 
| And four digits, as in #0000 it says is interpreted as
#RGBA, so it should 
| be exactly the same as -background none.
| 
Actually it is interperted as black! And not
'fully-transparent black'

See IM Examples, Semi-Transparent Colors
  http://www.cit.gu.
edu.au/~anthony/

This section will move at some point to a more correct
placement
either 'colors' or 'basics' sometime in the future.

| Actually, now I look at it, #0000 should work if I just
quote the colour - 
| the shell must have been doing something with the hash.
| 
Of course.

  Anthony Thyssen ( System Programmer )    <A.Thyssengriffith.edu.au>
 -----------------------------------------------------------
------------------
   Signature lost in transit.  We apologise for any
inconvenience caused.
 -----------------------------------------------------------
------------------
     Anthony's Home is his Castle     http://www.cit.gu.
edu.au/~anthony/
_______________________________________________
Magick-users mailing list
Magick-usersimagemagick.org
http://studio.imagemagick.org/mailman/listinfo/magick
-users
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )